1 启动nginx服务
cd sbin 下./nginx
2 停止或重启
./nginx -s stop
./nginx -s reload
3 查看进程信息
ps -ef|grep nginx
4上传文件或文件夹(-r )
scp -r /Users/xx/Downloads/qyun_apks/potplayer/ root@xx.108.174.223:/usr/local/nginx/html
1 启动nginx服务
cd sbin 下./nginx
2 停止或重启
./nginx -s stop
./nginx -s reload
3 查看进程信息
ps -ef|grep nginx
4上传文件或文件夹(-r )
scp -r /Users/xx/Downloads/qyun_apks/potplayer/ root@xx.108.174.223:/usr/local/nginx/html
本文标题:nginx常用命令,启动,重载,上传文件或文件夹
本文链接:https://www.haomeiwen.com/subject/dsxnaltx.html
网友评论