LAMP Server configure in Centos 6



  Configure LAMP Server on Centos 6
                           BY
          Faisal Md. Jiaur Rahman


# Install httpd

  178  yum install httpd* -y 
  179  service httpd start
  180  service httpd status
  181  service httpd restart
  184  chkconfig httpd on
  185  firewall-cmd --permanent --add-service=http

# Install mysql database

  189  yum install mysql-server mysql -y


  190  service mysql status
  191  mysql_secure_installation
  192  service mysql restart
  192  chkconfig mysql on

# Install php
  192  yum install php php-mysql php-gd php-pear -y
  193  vim /var/www/html/testphp.php
  194  service httpd restart

# Install phpMyAdmin for browsing through web

  195  yum install epel-release
  196  yum install phpmyadmin -y
  197  vim /etc/httpd/conf.d/phpMyAdmin.conf
  198  vim /etc/phpMyAdmin/config.inc.php
  199  service httpd restart

Share this article :

Post a Comment

 
Copyright © 2014. Faisal Md. Jiaur Rahman - All Rights Reserved