Apache2 php5 & mysql installation through ssh (on apt supported systems)

I have seen lots of forum where newbies face problem while installing lamp server. So, what they can do is directly file the following line of code and everything will be done automatically:

sudo apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off
libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql

Another alternative that can be done is:
File the following commands in sequence:
1: sudo apt-get update
2: sudo apt-get install lamp-server^

3 Responses to “Apache2 php5 & mysql installation through ssh (on apt supported systems)”

Dexter (December 26th, 2008 at 7:41 am)

Dude.. that apt-get install did not work on my system.. it says command not found :(
Help!!

admin (December 26th, 2008 at 8:29 am)

I guess you are on openSUSE.. Right? It is for Ubuntu or Debian type systems :)

Asad Abbas (January 4th, 2009 at 12:12 pm)

it was a helpful post … thanx

Leave your response!

Be nice. Keep it clean. Stay on topic. No spam.