定时任务
crontab -e -u www
检查nginx
nginx -t
部署路径
/usr/local/nginx/conf/vhost
Nginx进程查看
ps -ef|grep nginx
重启进程
kill -HUP 进程
Yum安装
web:https://www.cnblogs.com/areyouready/p/8909665.html
yum -y install wget
安装LNMP稳定版
web:https://lnmp.org/install.html
wget http://soft.vpser.net/lnmp/lnmp1.7.tar.gz -cO lnmp1.7.tar.gz && tar zxf lnmp1.7.tar.gz && cd lnmp1.7 && ./install.sh lnmp
mysql linux查看配置文件my.cnf位置
mysql --help | grep ‘Default options’ -A 1
Vim显示行号
set number/set nonumber