Install a LAMP server

To Install a lamp ( linux, apache, mysql, php )

in ubuntu :

sudo apt-get install tasksel

sudo tasksel install lamp-server

This will install the entire stack.

In CentOS, Fedora, Redhat :

yum install httpd httpd-devel mysql mysql-server mysql-devel php php-mysql php-common php-gd php-mbstring php-mcrypt php-devel php-xml

Source :

3 thoughts on “Install a LAMP server

  1. tasksel is debian invention, isn’t it. So even though your post is technically correct, wouldn’t it be nice to give credit where its due?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s