配置ssh的sftp服务及nginx文件检测

ubuntu选择编辑器:

select-editor

配置ssh的sftp服务

https://blog.csdn.net/qq_15288023/article/details/83069580
给别人配置sftp账号、密码

https://blog.csdn.net/weixin_43226231/article/details/86662341

检测nginx文件是否正确

1通过日志查看,日志文件位置记录可在nginx配置中找到,或者 /var/log/nginx下找找

2命令:nginx -t -c /etc/nginx/nginx.conf

nginx.conf配置说明

https://www.cnblogs.com/gne-hwz/p/10133379.html