Making XAMPP installation permanent

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

Making XAMPP installation permanent

Postby pkemper » 10. April 2005 10:28

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
wkr PK :-)
pkemper
 
Posts: 2
Joined: 10. April 2005 09:44
Location: Netherlands

Figured it out myself

Postby 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 :-)
pkemper
 
Posts: 2
Joined: 10. April 2005 09:44
Location: Netherlands


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests