Featured

Friday, January 18, 2013


Xampp is an application that helps to run local server in your computer.It is a tedious method to install Apache web server add MYSQL, php, perl and other application. There xampp has all the stuff in one package. Therefore xampp make it easy to install all these package from a single application. Xampp is available for all the format including windows , mac and solaris. In compare to windows and mac the installation of xampp is a bit complicated in linux. If you are searching for lampp. you are in right place because xampp is previously called lampp. 

To begin the installation download xampp from official website. or download via terminal.Type the below command
 
wget http://www.apachefriends.org/download.php?xampp-linux-1.8.1.tar

After downloading place the file in desktop. Don’t extract the file. Put as you have downloaded it.
 
Step 1: Login as root

To install the xampp you have to log in into the root directory type these commands.

sudo su
and enter the password

 Step 2: Install xampp in ubuntu

 To install the xampp type the following command

tar xvfz xampp-linux-1.8.1.tar.gz -c /opt

This command will extract xampp to the opt/lampp directory

Step 3: changing ownership of htdocs

After install xampp when you try to paste anything to htdocs you will get permission denied error.so for that

sudo chmod 777 -R  /opt/lampp/htdocs/

Step 4: Start & Stop Xampp 

After successfull installation we need to start xampp.so type the command to start & Stop xampp 

To start xampp
/opt/lampp/lampp start

You should now see something like this on your screen:
Starting XAMPP 1.8.1...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
Ready. Apache and MySQL are running.

 To stop xampp
/opt/lampp/lampp stop

.....................................................Thats all Xampp installed..................................





Categories:

0 comments:

Post a Comment