jump to navigation

Installing XAMPP on CentOS 5, step-by-step January 28, 2010

Posted by jbanju in LINUX CentOS.
trackback

Login as root

### Retrieve XAMPP 1.6.8a ###

mkdir /installs

cd /installs

wget http://www.apachefriends.org/download.php?xampp-linux-1.6.8a.tar.gz

### Install XAMPP and set auto-start ###

tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt

lvl=`egrep :initdefault: /etc/inittab|cut -d: -f2`

cd /etc/rc.d/rc${lvl}.d

ln -s /opt/lampp/lampp S99lampp

ln -s /opt/lampp/lampp K01lampp

### Modify Home Page ###

cd /opt/lampp/htdocs/

cp index.html xampp.html

echo “<html><head><title>DrupalEE DB</title></head><body><h1>DrupalEE DB</h1></body></html>” > index.html

### Start Server ###

cd /opt/lampp

./lampp start

./lampp status

Comments»

No comments yet — be the first.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: