Skip to content

Instantly share code, notes, and snippets.

@biggora
Last active March 6, 2016 20:40
Show Gist options
  • Save biggora/ffa11247d868b118df1f to your computer and use it in GitHub Desktop.
Save biggora/ffa11247d868b118df1f to your computer and use it in GitHub Desktop.
CentOS default
#
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