Tutorial: How to Install XAMPP in Linux Ubuntu

Thursday, August 1, 2013

What is XAMPP? XAMPP is a package software consisting of Apache, MySQL, PHP, and Perl. Apache as web server (http://localhost), MySQL as database, PHP is language interpreter for PHP programming, and Perl is programming language for client-server communication. XAMPP for linux is usually call LAMPP (Linux Apache MySQL PHP Perl).

How to install XAMPP in Linux Ubuntu?


Requirement: 
xampp-linux-1.7.2.tar.gz (you can download it in http://sourceforge.net/projects/xampp/files/XAMPP%20Linux/1.7.2/xampp-linux-1.7.2.tar.gz/download). In this case, we use XAMPP version 1.7.2 and operating system ubuntu version 9.10.


Step 1:
Run Terminal then login as system adminitrator root with type sudo su in terminal. And type your system administrator password.









Step 2:
Still use Terminal, get in the directory what you save file xampp-linux-1.7.2.tar.gz using command cd. For example: you save xampp-linux-1.7.2.tar.gz in the directory /home/user/Downloads, so you have type this command line in Terminal: cd /home/user/Downloads


Step 3:
Extract that archive file xampp-linux-1.7.2.tar.gz to directory /opt using this command line Terminal:
tar xvfz xampp-linux-1.7.2.tar.gz -C /opt
XAMPP has been installed in directory /opt


Step 4:
Start XAMPP using command:  
/opt/lampp/lampp start

If terminal screen show this information like this:
Starting XAMPP 1.7.2...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

So Apache dan MySQL has been activated.






Step 5:
Using web browser, type http://localhost, then will show like this screenshot:




















 

Then choose language what you want.

1 comment

 

Search This Blog

Follow My Twitter

Archives