Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What is the best way to install a lampp setup in ubuntu? I know to install using xampp. Is it ok for using as a central development server?

Or if am installing individually what are the packages i have to install?

Is the below packages enough?

share|improve this question
  • Linux - you have Ubuntu ✔
  • Apache - sudo apt-get install apache2
  • MySQL - sudo apt-get install mysql-server
  • PHP - sudo apt-get install php5 libapache2-mod-php5

There are more detailed instructions over on howtoforge too.

To do it all in one

sudo apt-get install tasksel
sudo tasksel install lamp-server 
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.