PHP7安装
service php-fpm stop
yum remove php5* -y
rm -f /etc/php.d/swoole.ini
rm -f /etc/php.d/mongo.ini
rm -f /usr/lib64/php/modules/swoole.so
yum -y install php71w php71w-fpm php71w-common php71w-cli php71w-devel php71w-intl php71w-mysqlnd php71w-pdo php71w-soap php71w-tidy php71w-xml php71w-xmlrpc php71w-zts php71w-gd php71w-mbstring php71w-mcrypt php71w-pecl-zendopcache php71w-pear php71w-posix php71w-mysqlnd php71w-pecl-redis
php -v
nginx安装
redis安装
yum install jemalloc -y
salt安装
yum clean expire-cache
yum install salt-master salt-minion salt-ssh salt-syndic salt-cloud salt-api -y
echo "master:188.166.63.8" > /etc/salt/minion
卸载salt
yum remove salt* -y;rm -fr /etc/salt
mysql 5.7安装
- yum install Percona-Server-server-57 -y
谢土豪