Skip to content

Instantly share code, notes, and snippets.

@kingoamino
Last active April 5, 2020 17:54
Show Gist options
  • Save kingoamino/be99ec91f022dda1739e14c1a8931b43 to your computer and use it in GitHub Desktop.
Save kingoamino/be99ec91f022dda1739e14c1a8931b43 to your computer and use it in GitHub Desktop.
install Apach on Centos
# 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