Last active
March 6, 2016 20:40
-
-
Save biggora/ffa11247d868b118df1f to your computer and use it in GitHub Desktop.
CentOS default
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
# | |
sudo yum install net-tools mc wget | |
sudo yum groupinstall "Development Tools" | |
sudo yum install kernel-devel | |
# add the latest nginx | |
# touch /etc/yum.repos.d/nginx.repo | |
# [nginx] | |
# name=nginx repo | |
# baseurl=http://nginx.org/packages/OS/OSRELEASE/$basearch/ | |
# gpgcheck=0 | |
# enabled=1 | |
# init | |
systemctl enable nginx.service | |
systemctl start nginx.service | |
# firewall | |
firewall-cmd --permanent --zone=public --add-service=http | |
firewall-cmd --permanent --zone=public --add-service=https | |
firewall-cmd --reload |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment