netnr/ install-vsftpd.sh 2018-10-20 06:22
安装 FTP
chkconfig –list | grep vsftpd   # 检查是否安装(没任何反应)
yum install vsftpd  # 安装
touch /var/log/vsftpd.log   # 创建日志
chkconfig vsftpd on # 自启动

# 允许 root 登录
cd /etc/vsftpd && ls
# 编辑,注释 root,前面添加#
vi ftpusers
vi user_list

service vsftpd start    # 启动
service vsftpd status   # 查看服务状态
service vsftpd restart  # 重启
service vsftpd stop     # 关闭

cat /etc/vsftpd/vsftpd.conf # 配置

# help
https://www.linuxidc.com/Linux/2017-11/148214.htm
https://blog.csdn.net/sjshenjian/article/details/53263274