Okay. Here are the steps to install XAMPP on Ubuntu:
- First download the raw file first at sourceforge.net / project (size 74.5 MB tar.gz format). By default the file will be saved in the directory / Downloads.
- After that move the location of the tar.gz file from the Downloads folder to your Ubuntu Home folder. Just do a 'copy-paste' or 'cut-paste' to the folder / directory Home.
Remember the folder / directory Home usually are menu Places> Home Folder (if you're using the classic desktop). But if you use the Unity desktop (on Ubuntu 11.04), Home folder can be found on the top menu 'launcher' menu (a pictorial description of the house and reads 'Home Folder' when in hover using the cursor).
Sample Home folder view that already contains the raw file XAMPP (after being transferred from the Downloads folder).
- Time to do the installation. Open your Ubuntu Terminal and type the following commands to login as an administrator.
sudo su
-
Enter your Ubuntu password, then type the following command after you have successfully logged in as administrator.
tar xvfz xampp-linux-1.7.4.tar.gz -C /opt
More details, see picture below.
If you typed the command correctly extract, then extract process will run as shown below.
Yes, it means you have succeeded ..!
To prove that you've managed to extract and install XAMPP for Ubuntu as well as this, try to open the directory / file system / opt. There will be a new folder named 'lampp' in it. For example, as shown below.
Time to test your XAMPP already installed it.
-
Still in a state log on as administrator after the previous step, try typing the following command to enable XAMPP.
/ opt / lampp / lampp start
It would appear that the information below XAMPP already active.
-
Try a test by opening one of the 'web-browser' on your computer and type http://localhost in the address bar.
XAMPP welcome page will appear. Please click / select any language you want (just select 'English'). Then it will open a new page as shown in the following screen shoot.
Yes..! Congratulations. You can start the activity with XAMPP for Linux. Please create a database or anything related to the local server.
To stop (disable) this XAMPP application, simply by typing the following command in the Terminal.
/ opt / lampp / lampp stop
Thanks to : KafeGue.com
Editing By : ROSYID TEKNIK