How to auto start in Debian Linux?
Monday, September 28th, 2009 at
14:38
I have a Xampp for Linux installed on a Debian 4 Linux box.
I have to login as root and issue the following to start.
/opt/lampp/lampp start
… starting apache
….starting mysql
…starting ….
However when I reboot, I would like this to be automated.
I can’t remember if it has to do with the "inet" or do I have to write a separate script with "sh" or something?
any help would be great.
Tagged with: apache • Linux • quot • xampp
Filed under: Debian
Like this post? Subscribe to my RSS feed and get loads more!
see /etc/init.d/README for a description of "sysv init" — since your lampp script takes "stop/start" parms directly, this should be sufficient:
sudo ln -s /opt/lampp/lampp /etc/init.d/lampp
sudo update-rc.d lampp defaults