阿里云服务器默认将selinux 关闭(disabled),所以有关sellinux 上的都不需要设置了。
安装vsftpd
yum install vsftpd
配置文件在 /etc/vsftpd/
配置项
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd's
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
anonymous_enable=NO
#
# Uncomment this to allow local users to log in.
# When SELinux is enforcing check for SE bool ftp_home_dir
local_enable=YES
local_root=/home/temp
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
#