lampp startup

Problems with the Linux version of XAMPP, questions, comments, and anything related.

lampp startup

Postby thcreations » 14. October 2009 07:18

Hi,

can anyone tell me how to start lamp on startup so I dont have to start through terminal everytime I start or reboot Mint 7 KDE

Thanks in advance
thcreations
 
Posts: 4
Joined: 14. October 2009 07:01

Re: lampp startup

Postby Nobbie » 14. October 2009 13:06

You must create a "service" (let's called it "lampp") and then you need to activate it. Easiest way to do that:

1) Login as "root" (On Mint, what is Ubuntu based, enter "sudo su" in a terminal and provide your passwort)

2) Create service "lampp" (which is linked to the lampp start script). The '#' stands for the root prompt in a terminal:

Code: Select all
# ln -s /opt/lampp/lampp /etc/init.d/lampp


3) Active newly created service "lampp", so that it is started on boot and stopped on shutdown. The '#' stands for the root prompt in a terminal:

Code: Select all
# update-rc.d lampp defaults



Then reboot your machine. And then read documentation about services in linux, about /etc/init.d and so on, so that you get an understanding of what you have done know.
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: lampp startup

Postby thcreations » 14. October 2009 23:11

That Worked, Thanks so much for the reply
thcreations
 
Posts: 4
Joined: 14. October 2009 07:01


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 26 guests