XAMPP, an abbreviation for X (Linux or Windows or Mac OS X or Solaris), Apache, MySQL, PHP, Perl, is an application composed of a web service (Apache), a database server (MySQL) and a FTP server (ProFTPD) which is intended for development environment. As mentioned above, XAMPP runs both in Windows and UNIX based operating systems.
This chance I will explain how to install XAMPP on Linux operating systems. Here are the specifications I use in this tutorial.
- Ubuntu 11.04 operating system (Natty Narwhal)
- XAMPP for Linux version 1.7.4
Here are the following steps in installling XAMPP for Linux.
Step 1: Download XAMPP for Linux installer.
Step 2: Open terminal and change the working directory to your downloaded file directory by typing cd command. In this case my downloaded file is in Downloads directory.
user@ubuntu:~$ cd Downloads/
Step 3: Change to super user mode simply by typing the following command.
user@ubuntu:~$ sudo su
Step 4: Extract the downloaded file to /opt folder using the following command.
user@ubuntu:~$ tar xvfz xampp-linux-[x].tar.gz -C /opt
On xampp-linux-[x].tar.gz, the [x] mark is the version, as mentioned above in this tutorial, I am using version 1.7.4
Step 5: Run the service by executing the following command.
user@ubuntu:~$ /opt/lampp/lampp start
Step 6: Output verification, if there isn’t any trouble in the preceding steps. it will give the following outputs.
Starting XAMPP for Linux 1.7.4... XAMPP: Starting Apache with SSL (and PHP5)... XAMPP: Starting MySQL... XAMPP: Starting ProFTPD... XAMPP for Linux started.
This is the end of the tutorial. It is easy, isn”t it? I hope it will help you, thanks
- Seidler, Kai Oswald, 2009, XAMPP for Linux, [online], (http://www.apachefriends.org/en/xampp-linux.html, diakses tanggal 3 Juli 2011 )