Installing XAMPP on Ubuntu
November 19, 2010 4 Comments
Hey guys this is a quick post on how to install XAMPP on ubuntu. Here we go first you have to download XAMPP.
First you have to browse to your downloads folder and enter this command to extract the compressed folder;
Code:
tar -zxvf xampp-linux-1.7.3a.tar.gz
Now you have to copy the content to /opt and here is the command;
Code:
sudo cp -vr lampp /opt/
As you have copied the content of the lampp folder to /opt using sudo you don’t have permission to access the files freely there are two things you can do you can change the ownership of the file system by using chown or change the permission using chmod. The best way and the easiest way to do this is chown and the command is;
Code:
sudo chown root:< your username > /opt/lampp
Now browse to /opt/lampp folder and run;
Code:
sudo ./lampp start
You can check the status of lampp by simply running
Code:
sudo ./lampp status
and it should be something like this
rusiru@rusiru-L510:/opt/lampp$ sudo ./lampp status
Version: XAMPP for Linux 1.7.3a
Apache is running.
MySQL is running.
ProFTPD is running.
Hope this was helpful ![]()
if you have any questions feel free to comment ![]()
Bye.
Have fun
P.S.
Go to localhost to check it out




Pingback: Tweets that mention Installing XAMPP on Ubuntu « Life and Tech -- Topsy.com
Pingback: Dell Mini 10 with Ubuntu - Mini, Dell, Ubuntu, Blog, Blue, Related - CPanel Administration
Pingback: Installing XAMPP on Ubuntu « Life and Tech
Pingback: Q&A: I have a problem with my theme wp installation.syntax error? - Wordpress Video Tutorials