It may not surprise you if you read the posts around here, but I am a very lazy person when it comes to configuring and installing stuff on anything other than Windows OS. I will avoid anything that involves popping open terminal and putting commands in myself, unless I've found them on a forum somewhere.
So, when I was searching the Ubuntu forums for how to make lampp start with Linux, I just wished that someone would post with a clear step by step guide about how to do basic stuff with lampp.

I've decided to create this post in the hope that anyone else trying to configure lampp on Ubuntu Linux doesn't have to look in completely different places to find the answers they are looking for. Note: I'm installing on a clean copy of Ubuntu Linux release 7.10 "Gutsy Gibbon", with lampp version 1.6.4.
(By the way - non Ubuntu users: you should really give Gutsy Gibbon a spin, even if you are a Windows person like me.)
sudo tar xvfz Desktop/xampp-linux-1.6.4.tar.gz -C /opt
That's it. Lampp installed. (Might take a minute or two to extract it all, but it will get there)
sudo /opt/lampp/lampp start
Now you can pop open firefox, and type "localhost" into the address bar.
Note: It should most definately work, but in some cases it doesn't. I'm afraid this article just assumes that the install went fine, you'll have to scour the Apache Friends Network Lampp Documentation for help. Sorry :-(
So, to make lampp auto run when you boot up your computer, firstly paste the below into terminal:
sudo gedit /etc/init.d/rc.localWhen the text editor opens, paste the following just below the "#! /bin/sh" line:
opt/lampp/lampp start
After you have inserted this line, hit the "Save" button, and close the text editor.
So, now lampp will start when you boot your linux box up. At this point I would recommend trying it out, by restarting your computer.
sudo /opt/lampp/lampp security
The steps are pretty straightforward, and mostly all you have to do is enter a password and hit enter.
sudo gedit /opt/lampp/etc/proftpd.conf
Now, paste these two lines anywhere in the document, and click save:
IdentLookups off UseReverseDNS off
I messed about with the settings to let me have read access to the whole server, which is obviously not advised. I also changed the ftp username from "nobody" to "alan".
Well, that's basically it. The lampp server is now ready to be used, so have a play around with it.
Below are the screenshots that I was going to use for this post, then decided against them. (They're showing stuff like running terminal etc)
Oh, and if you're wondering why all of the screenshots are in 1024x768, I took them all over the VNC server (post), and I have it at that resolution so I can see both my Windows and Ubuntu desktop at the same time, so VNC doesn't fill the whole screen.
after installing and starting /opt/lampp/lampp start i get all ok except Mysql couldn't start pls guide me
XAMPP: Error 1! Couldn't start Apache! XAMPP: Starting diagnose... XAMPP: Sorry, I've no idea what's going wrong.
For G Srinivasan:
Maybe your pc already have a mysql server running under 3306 port, so the lampp-mysql couldn“t start. check if you have any mysql version running in your pc.
Thanks a lot dude. I'm amazed. This installation was much faster then i expected. Even faster than Windows installation.
Try following these instructions written for ubuntu 11.10 . It also tell you to start the lampp during boot and how to secure your server . This tutorial should also work for ubuntu 10.04 and above
thx for the tutorial... help fulll