Install a LAMP server

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

in ubuntu :

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 : http://www.howtoforge.com/quick-n-easy-lamp-server-centos-rhel

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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s