icon-origA web server is very important component if you are on Linux an importantly if you are web developer. You can install Apache, MySQL and PhP as separate component on Linux and then configure them. However, if you are just getting started and wished there was an all-in-one package to install LAMP (Linux Apache MySQL and PhP) on your Ubuntu machine and that you could avoid all the hassles of configuring each package separately, then you are reading the right post. XAMPP for Linux avoids all the issues of installing separate components of LAMP and makes it easy for you to get started with your web development on Linux.

XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use – just download, extract and start.

Let’s see how to install XAMPP.

Installing XAMPP

1. Download the latest version of XAMPP for Linux from here.

2. Bring up your run prompt by hitting ALT+F2 and type “gnome-terminal” (without quotes) to bring up terminal window.

terminalrun

3. Type the following to begin the installation:

cd Desktop

sudo tar xvfz xampp-linux-1.7.1.tar.gz -C /opt

xamppinstallation

This means we are installing XAMPP in /opt directory. If everything goes right you’ll have XAMPP installed.

Starting XAMPP

In order to start XAMPP, type the following in your terminal window

sudo /opt/lampp/lampp start

xamppstarted

Test XAMPP Installation

You can test your XAMPP installation by opening firefox and typing localhost in the address bar.

You’ll see the following screen

xamppstartedsplash

Select your desired language and you are good to go.

xamppstartedmain

Enjoy the journey of developing great web application with a great LAMP package on your Ubuntu!

0saves
If you enjoyed this post, please consider leaving a comment or subscribing to the RSS feed to have future articles delivered to your feed reader.

Related posts:

  1. Install D4X on Ubuntu-Download Manager for Linux: How-to
  2. Install Opera Unite (10) on Ubuntu (Jaunty): How-to
  3. How to open rar files in Ubuntu (Jaunty Jackalope): Install rar!
  4. Installing latest Nvidia graphic drivers on Ubuntu (jaunty): How-to
  5. Installing MPEG codecs on Ubuntu (Jaunty Jackalope)