Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

PHP
Mysql
Apache
share|improve this question
add comment

1 Answer 1

  • 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
add comment

Your Answer

 
discard

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.