Monday, 4 June 2012

Best Practices: Installing and Configuring LAMP on CentOS 5.8

Best Practices

Installing and Configuring LAMP on CentOS 5.8

LAMP is not software in itself, but is actually a solution stack of software used to run websites or servers. For more information on LAMP, visit Wikipedia's LAMP Solution Stack article.

How to install and configure LAMP

Since LAMP is not actually software in itself, to install and configure it, we will install and configure the individual software components that make up a LAMP Solution Stack.


  1. Install and configure CentOS on VMware Workstation
  2. Install VMware Tools
  3. Add external HDD to the VM
  4. Update CentOS
  5. Install and Configure the Yum Priorities plug-in
  6. Install and Configure the EPEL Repository
  7. Install and Configure the Remi Repository
  8. Exclude PHP and MySQL packages from the CentOS base repositories
    1. Open the CentOS base repository configuration file
    2. Append the following text to all repositories
      exclude=*php* *mysql*
    3. Restart the yum service (run the following command)
      service yum-updatesd restart
Apache Server
  1. Install and Configure Apache HTTP Server
  1. Install and Configure PHP
  1. Install and Configure MySQL
  2. Install and Configure phpMyAdmin

No comments :

Post a Comment

Note: only a member of this blog may post a comment.