Linux CentOs LAMP
Submitted by stephenwenceslao on Thu, 01/18/2018 - 12:45Install update
$ sudo yum update
Install apache
Install apache
$ sudo yum install httpd
Start apache
$ sudo systemctl start httpd.service
Set apache to start on boot
$ sudo systemctl enable httpd.service
Set firewall
$ sudo firewall-cmd --add-service=http --permanent
Install MySQL
Install MySQL
$ sudo yum install mariadb-server mariadb
Start MySQL
$ sudo systemctl start mariadb
Set MySQL to start on boot