1. find / -name nginx.conf
2. vim /etc/nginx/nginx.conf
3. cd /usr/share/nginx/html 本地原始站点目录 echo "hello wolld" > index.html
4. set nu 行号
5. yum -y install git 安装 git yum -y install unzip 解压
6. find / -name php.ini
7. find / -name www.conf 修改 nginx 端口号
8. yum remove nginx 卸载 nginx
9. mysql -uroot -p 进入mysql
10. update user set Host='%' where User='root';修改登录
11. mysql **FLUSH PRIVILEGES;** 刷新权限
12. netstat -anp | grep 9501 查看进程 netstat -nltp 查看进程netstat -tunplp 查看进程netstat -anpt
Composer 提示输入token的解决方法
进入github.com/settings/to… 页面;