Created
July 10, 2015 19:17
-
-
Save RuanAragao/cd52bf05f3642584fafb to your computer and use it in GitHub Desktop.
Server Apache, PHP and MySQL on CentOS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo ">>> Starting" | |
sudo yum -y update | |
echo ">>> Installing Apache" | |
yum install httpd | |
systemctl start httpd.service | |
echo ">>> Installing MySQL and PHP" | |
yum install php php-mysql php-gd | |
echo ">>> Restart HTTPD and add auto start" | |
systemctl restart httpd.service | |
systemctl enable httpd.service |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment