改变ssh端口 Port 22 -> 222
#vi /etc/ssh/sshd_config
重启sshd服务
#systemctl restart sshd.service
更新yum
#yum -y update
安装nginx
#yum -y install nginx
service nginx start
配置nginx http://blog.chenapp.com/search/index?k=nginx
安装php
yum -y install php php-fpm php-mysql php-mbstring php-gd php-pdo php-pecl-redis php-process php-devel php-pear libevent-devel
service php-fpm start
配置php-fpm
安装mysql
yum -y install mysql