XAMPP for Linux Installation

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.

  1. Ubuntu 11.04 operating system (Natty Narwhal).
  2. XAMPP for Linux version 1.74.

Here are the following steps in installling XAMPP for Linux.

  1. Download XAMPP for Linux installer.
  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/
  3. Change to super user mode simply by typing the following command.
    user@ubuntu:~$ su
  4. Extract the downloaded file to /optfolder using the following command.
    root@ubuntu:~# tar xvfz xampp-linux-[x].tar.gz -C /opt

    [notice]On xampp-linux-[x].tar.gz, the [x] mark  is the version, as mentioned above in this tutorial, i use version 1.7.4 [/notice]

  5. To run the service merely type this command
    root@ubuntu:~# /opt/lampp/lampp start
  6. If there isn”t any trouble in the preceding steps. it will give the following outputs.
    Starting XAMPP for Linux 1.7.4...<br />
    XAMPP: Starting Apache with SSL (and PHP5)...<br />
    XAMPP: Starting MySQL...<br />
    XAMPP: Starting ProFTPD...<br />
    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, accessed on 3 Juli 2011 )
Posted in Configuration, English, Linux Tagged with: , ,

Leave a Reply

Your email address will not be published. Required fields are marked *