| RSS

Install XAMPP-Linux Apache MySQL and PhP {LAMP} on Ubuntu: How-to

July 5th, 2009 | Comments | Posted in Featured, How-to, Linux, Ubuntu

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!


Leave a Reply 4127 views, 5 so far today |

Related Posts!

  • ranjith
    i am new to linux please any one help me. like windows where is the
    xampp control panel
  • anmol
    I have a small problem. I have already MySQL running on my ubuntu. Now when I installed XAMPP it says "Another MySQL daemon is already running".

    how does it affect this installation ?
  • LIno
    Thanks for the instruction. I couldn't install it and I thought it was because of the virtualbox, but with your guidence it was possible :D Thanks a lot.
  • Thanks for the instructions. Made installation easy to understand.
  • Aloo P
    Could you please tell me where to store the file after the download. And tell me which in the code is the file name. Cause some people tend to change the name of the files that they download. Sorry for being such a danda head. and thank you for your help.
  • @Paula. I am glad it helped! It'd be great if you'd drop in comments any post you'd like to request and see on LinuxHub and I'd be happy to do if I can :)
  • Paula
    Hi! I am new to Ubuntu Linux and I've been trying to install Xampp without any success. I'm glad I came across your site and it sure helped! Thanks a lot!
blog comments powered by Disqus
Cornish fauna - Horse fly Tabanus sp. #3There's only one thing stops a hoverfly in mid flight.. Male hoverfly Syritta pipiensSaale BridgeLes Invalides - HDRsanta eufemia de cozuelos - HDRStreet ArtmiraCloud KillerMolino HDRTours Société Générale By Night | HDR