VSFTPD is the abbreviation for "very secure FTP daemon", and security is one of its biggest features. VSFTPD is the name of a server running on a UNIX-like operating system that can run on top of systems such as Linux, BSD, Solaris, Hp-unix, and is a completely free, source-coded FTP server software that supports many other FTP Features that are not supported by the server. For example: Very high security requirements, bandwidth constraints, good scalability, can create virtual users, support IPV6, high speed.
Have done before VSFTPD, will no longer introduce!
Installation:
[Root@chenyi ~]# Mount/dev/cdrom/media #挂载镜像 eliminates configuration of Yum sources
[Root@chenyi ~]# yum install vsftpd #yum安装vsftpd
[Root@chenyi ~]# mv/etc/vsftpd/vsftpd.conf/etc/vsftpd/@vsftpd. Conf.bak #备份原始配置文件 for future reference and use
[Root@chenyi ~]# vi/etc/vsftpd/vsftpd.conf #创建vsftpd. conf
The contents are as follows:
Listen=yes
background=yes
anonymous_enable=no
local_enable=yes
write_enable=yes
Local_ umask=022
anon_upload_enable=no
anon_mkdir_write_enable=no
dirmessage_enable=yes
xferlog_ Enable=yes
connect_from_port_20=yes
chown_uploads=no
xferlog_file=/var/log/vsftpd.log
Xferlog_std_format=yes
async_abor_enable=yes
ascii_upload_enable=yes
ascii_download_enable=yes
ftpd_banner=welcome to Nanu FTP server
pam_service_name=vsftpd
chroot_local_user=no
chroot_ List_enable=yes
chroot_list_file=/etc/vsftpd/vsftpd.chroot_list
guest_enable=yes
guest_username =chenyi
Nopriv_user=chenyi
user_config_dir=/etc/vsftpd/user_config
max_clients=100
max_per _ip=20
Creating a chroot Virtual user mapping file
[Root@chenyi ~]# Cat/etc/vsftpd/vsftpd.chroot_list
Chenyi #该文件为手动建立, each line represents a name to map a virtual user to a local account
Create a user account file
[Root@chenyi ~]# Cat/etc/vsftpd/passwd.file
Chenchen #该文件默认也不存在的, the file is used to store user accounts and plaintext passwords, in the form of two lines per account, the first line is the user name, the second line is the password, and so on!
123