This article will outline the process for installing Linux, Apache, MySQL and PHP (also known as ‘LAMP’) on CentOS 5.6.
First of all, make sure your YUM repositories and packages are up to date:
# yum check-update
# yum update
Install any available package and library updates.
Next, install Apache, set it to run on startup, and finally start the service:
# yum install httpd
# chkconfig –add httpd
# service httpd start
Installing MySQL is similar to installing Apache, except we have an additional step of running a basic setup wizard. Continue reading “Install LAMP (Linux, Apache, MySQL, PHP) on CentOS 5.6”