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;
tar -zxvf xampp-linux-1.7.3a.tar.gz
Now you have to copy the content to /opt and here is the command;
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;
sudo chown root:< your username > /opt/lampp
Now browse to /opt/lampp folder and run;
sudo ./lampp start
You can check the status of lampp by simply running
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🙂
Go to localhost to check it out😀