VPSTutorial.com

VPS Tutorials for the masses!

Install Lamp Stack

Lamp = Linux + Apache + MySQL + PHP, Perl, Python

In this guide we will teach you how to install LAMP stack on a base CentOS 6 Install. It is very easy to Install LAMP on CentOS. If you have linux running your already done the first step.

If you are new to hosting you my have heard of something called the LAMP stack. LAMP stands for Linux + Apache + MySQL + PHP,Perl,Python. Combined these tools can help you develop interactive websites and blogs. Most web based tools will run under a LAMP stack, such as WordPress, or Joomla. In this guide we will teach you how to install LAMP stack on a base CentOS 6 Install. It is very easy to Install LAMP on CentOS. If you have linux running your already done the first step. Now lets install the rest:

Install LAMP Packages

yum install httpd mysql-server php perl python

Configure LAMP Services

Next, you will want Apache and Mysql to start on boot so run the following commands:

chkconfig mysqld on

chkconfig httpd on

Thats all it takes to install LAMP. As your first tool you may want to install phpMyAdmin. It Will allow you to visually manage the databases on your Lamp Stack.