yum install mysql-serverphp
service start mysqldmysql
chkconfig --add mysqldlinux
2.1 添加 Nginx Reponginx
touch /etc/yum.repos.d/nginx.repogit
2.2 Add follow to nginx.repoweb
[nginx] name=nginx repo baseurl=http://nginx.org/packages/rhel/6/$basearch/ gpgcheck=0 enabled=1redis
2.3 更新 reposql
yum updatephp7
2.4 安裝 Nginxoracle
yum install nginx service start nginx chkconfig --add nginx
PS.查看服務加到開機啓動的狀況能夠用如下指令
chkconfig --list nginx chkconfig --list mysqld
3.1 添加 epel-release repos
rpm -Uvh http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
yum install redis
service start redis chkconfig on redis sudo service redis start sudo chkconfig redis on
rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm yum install php70w-fpm php70w-opcache chconfig php-fpm on
yum install git
參考網站: