Page 1 of 1

Making XAMPP installation permanent

PostPosted: 10. April 2005 10:28
by pkemper
Hi,

I have downloaded and installed XAMPP. I want to make the installation my permanent installation so that it gets loaded at boot time. I run Novell Linux Desktop (based on SuSE Linux).

I also have the standard LAMP installed which came with the environment.

What steps do I need to take to:
1. Disable my current LAMP components
2. Make my XAMPP components permanent

Thanks

Figured it out myself

PostPosted: 10. April 2005 20:46
by pkemper
- 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*)