Monday, September 12, 2011

How to install LAMP (Apache, PHP and MySQL in Linux) using Yum - Techie Corner

How to install LAMP (Apache, PHP and MySQL in Linux) using Yum - Techie Corner: "Below are the steps to install LAMP (Apache, PHP and MySQL in Linux) using Yum:-

Open a terminal (if you are using X-Window), and type
   yum install httpd 
and follow on screen instruction to install apache web server
Once apache web server has been installed, type
yum install php
Once PHP installed successfully, type
yum install mysql-server mysql php-mysql


Once everything finish,
you can do all the above steps in a single command like
yum install httpd php mysql-server mysql php-mysql
type
service httpd start  
to start your apache web server, screen will show you if web server service successfully started
type service mysqld start 
to start your mysql server"

'via Blog this'