Last active
April 5, 2020 17:54
-
-
Save kingoamino/be99ec91f022dda1739e14c1a8931b43 to your computer and use it in GitHub Desktop.
install Apach on Centos
This file contains hidden or 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
# Install Apache | |
yum update -y | |
yum install httpd -y | |
systemctl start httpd.service | |
# Enable Apache to start at server boot | |
systemctl enable httpd.service | |
# for EC2 & RDS Database | |
setsebool httpd_can_network_connect_db 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment