yum install epel-release yum-plugin-priorities yum-plugin-protectbase -y
rpm --importhttps://dl.iuscommunity.org/pub/ius/IUS-COMMUNITY-GPG-KEY rpm -ihttps://centos6.iuscommunity.org/ius-release.rpm
rpm --importhttp://repo.mysql.com/RPM-GPG-KEY-mysql rpm -ihttp://repo.mysql.com/mysql-community-release-el6-7.noarch.rpm
echo "[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/\$releasever/\$basearch/
gpgcheck=0
enabled=1
priority=1" > /etc/yum.repos.d/nginx.repo
yum install wget php56u php56u-fpm php56u-mcrypt php56u-mysqlnd php56u-mbstring php56u-gd ntpdate vim nginx lrzsz gcc pcre-devel zlib-devel openssl openssl-devel mysql mysql-server zip unzip samba -y
chkconfig --level 2345 php-fpm on
chkconfig --level 2345 nginx on
chkconfig --level 2345 mysqld on
==========mysql============
參考:http://www.ttlsa.com/mysql/a-quick-guide-to-using-the-mysql-yum-repository/
RPM列表:http://repo.mysql.com/
centos6.7為例
rpm --importhttp://repo.mysql.com/RPM-GPG-KEY-mysql rpm -i' target='_blank'>http://repo.mysql.com/mysql-community-release-el6-7.noarch.rpm[/code]
https://dl.iuscommunity.org/pub/ius/