by pkemper » 10. April 2005 20:46
- The XAMPP script to start and stop the services is located by default in /opt/lampp and is called by using:
- lampp start
- lampp stop
- Create two new shell scripts, one to start and one to stop the service:
lamppstop, containing just the line 'lampp stop'
lamppstart, containing just the line 'lampp start'
- Create symlinks in the /etc/init.d/rc5.d directory (if you want to boot only with Runlevel 5)
- Log in as root (su in a terminal window)
- Change to the /etc/init.d/rc5.d directory
- Create symlinks to the two scripts
ln -s /opt/lampp/lamppstart S90lamppstart
ln -s /opt/lampp/lamppstop K90lamppstop
The S90 in the symlink name makes sure this start-script is executed last in the boot sequence
The K90 in the symlink name makes sure this stop-script is executed last in the down sequence
- Check if the rights to the symlinks are set to rwxr-xr-x (chmod 755 lampp*)
wkr PK