Installing XAMPP on Ubuntu
For those of you who wanna do web developing on Ubuntu, here are some step by steps on how to install XAMPP on Ubuntu.
1.) Download and installing XAMPP on Ubuntu.
Download the latest version by going to
http://www.apachefriends.org/en/xampp-linux.html
Now you should be having xampp-linux-x.x.xx.tar.gz file in your downloaded location
Go to a Linux shell and login as root:
$su -
Extract the downloaded archive file to /opt
tar xvfz xampp-linux-1.5.5a.tar.gz -C /opt
XAMPP is now installed below the /opt/lampp directory.
2.) Make htdocs folder writable
Before we can save our files on the htdocs folder, we should change the permissions so that it becomes writable. Here’s an easy way to change folder permission on Ubuntu.

Press ALT+F2 and type in “gksudo nautilus” and click Run, after which you enter your password.

Go to “/opt/lampp” and right-click the htdocs folder.

Go To Permissions Tab and Check all the “Write” checkboxes, then click Close.
Now that your htdocs is now writable, you can now save your work on that folder.
Start and Stopping XAMPP
To Start XAMPP server type in on the terminal “sudo /opt/lampp/lampp start”
To Stop XAMPP server type in on the terminal “sudo /opt/lampp/lampp stop”

Posted in Web Developing |






