How to install Xampp on Ubuntu desktop tutorial

Hi everyone,
In this tutorial I am going to tell you how to install Xampp (Lampp) on a Ubuntu machine :stuck_out_tongue:

Step one - Download and move:
Download the Xampp for Linux tar.gz file (link)
once downloaded do [COLOR=red]NOT[/COLOR] extract it, just move it into the Home on Ubuntu.

Step two - Open the terminal and become root:
Open the terminal (Applications -> Accessories -> Terminal)
you have to be the root admin to run the commands so type

su

now if you don’t know the password of the root account (at first I didn’t) enter this command:

sudo passwd root

enter your user password then enter the new root password.

step three - Extracting and starting Xampp:
Once your logged in as the admin in the Terminal enter this command:

 [FONT=Verdana]tar xvfz xampp-linux-1.6.tar.gz -C /opt [/FONT]

[FONT=Verdana] now all the contents of that tar.gz file has been extracted to the /opt directory.[/FONT]
[FONT=Verdana]now to start Xampp:[/FONT]

[FONT=Verdana]/opt/lampp/lampp start[/FONT]

[FONT=Verdana]after you entered that command you should see something like this:[/FONT]
[FONT=Verdana]

[FONT=Courier New]Starting XAMPP 1.6...[/FONT]
[FONT=Verdana]LAMPP: Starting Apache...[/FONT]
[FONT=Verdana]LAMPP: Starting MySQL...[/FONT]
[FONT=Verdana]LAMPP started.[/FONT]

[/FONT]
[FONT=Verdana]step four - Test the Lampp installation:[/FONT]
[FONT=Verdana]open your browser you use (preferably Firefox) and enter http://localhost/ [/FONT]

[FONT=Verdana]I wrote this tutorial to you time as it took me around a whole day to find out how to install this.[/FONT]

or follow Nokrevs version :slight_smile: