Update ini.sh

master
呓喵酱 4 years ago committed by GitHub
parent 06926aea5b
commit a78f5404d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      ini.sh

@ -14,6 +14,13 @@ git config --global user.name $hostname
git config --global user.email git@$hostname.yimian.xyz
# gcc
yum install -y gcc gcc-c++ gdb openssl make
#firewall
systemctl stop firewalld
systemctl disable firewalld
sed -i s/SELINUX=enforcing/SELINUX=disabled/g /etc/selinux/config
yum install iptables-services iptables-devel -y
systemctl start iptables
systemctl enable ipdables
# php
rpm -ivh http://dl.fedoraproject.org/pub/epel/7/x86_64/Packages/e/epel-release-7-11.noarch.rpm
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm

Loading…
Cancel
Save