Saturday, June 27, 2015

Install LAMP on Centos 7.1

Install Apache

  • yum install httpd 
  • systemctl start httpd.service 
  • systemctl enable httpd.service 


Install MySQL

  • yum install mariadb-server mariadb
  • systemctl start mariadb
  • mysql_secure_installation 
  • systemctl enable mariadb.service 


Install PHP

  • yum install php php-mysql 
  • systemctl restart httpd.service 


Install PHPmyadmin

  • yum install epel-release 
  • yum install phpmyadmin
  • systemctl restart httpd.service 

No comments: