Hello folks,
In this post I will show you, how to install LAMP.
Install Apache HTTP Server :-Quote#yum install httpd
Set the apache service to start after each boot.
Quote#chkconfig httpd on
Open configuration file of apache and un-comment the line, containing the text "
NameVirtualHost *:80".
Quote#vi /etc/httpd/conf/httpd.conf
Install MySQL :-Quote#yum install mysql-server
#chkconfig mysqld on
#service mysqld start
Set the root password for MySQL
Quote#mysqladmin -u root password NEWPASSWORD
Install PHP :-Quote#yum install php php-mysql
Restart Apache service.
Quote#service httpd restart
Check php version.
Quote#php -v
That's all, you have done.
Enjoy !! :) :)