- 安装配置
CentOS 6 搭建 FTP 服务记录
https://segmentfault.com/a/1190000002926477
- 防火墙端口配置
被动模式下,服务端要开启21端口,同时要ftp服务要允许访问
centos7防火墙默认是firewall,firewalld基本配置
http://blog.feehi.com/linux/473.html
开启ftp服务命令:
firewall-cmd --permanent --zone=work --add-service=ftp
- 异常情况:
Fixing 500 OOPS: vsftpd: refusing to run with writable root inside chroot ()
https://www.benscobie.com/fixing-500-oops-vsftpd-refusing-to-run-with-writable-root-inside-chroot/
- 知识库:
vsftp chroot 设置
http://spv999.blog.51cto.com/3113681/800503