LAMP in one command

Ishwon
  12 years ago
  14

Ever wondered if you could install the LAMP stack (on Linux Mint/Ubuntu) with one simple command?
One would say let's do:

$ sudo apt-get install php5 mysql-server apache2

However, there's a shorter way of accomplishing that. Try:

$ sudo apt-get install lamp-server^

Or if you like things a bit more graphical, you could do:

$ sudo tasksel install lamp-server

And your LAMP is ready!

Comments
MagicMint 9 years ago

@BhojpuriKa: You need to sudo apt-get install tasksel first.


BhojpuriKa 9 years ago

I tried the last option first. It did not work. Said tasksel not found.

Then I went for second option and it worked!


krow7 11 years ago

Thanks! The second option worked for me. :)