Client Installation:Yum install vsftp–y
Direct Service vsftpd start can be used.
1. Basic Configuration
vim/etc/vsftpd/vsftpd.conf
Anonymous User Configuration:
Whether anonymous user logon is supported:Anonymous_enable=yes
Whether to support anonymous user uploads:#anon_upload_enable =yes
Whether anonymous users are supported to create directories:Anon_mkdir_write_enable=yes
Whether anonymous users are supported to delete directories:Anon_other_write_enable=yes
System User Configuration:
Whether to support local users:Local_enable=yes
System User Write permissions:Write_enable=yes
Imprison system users can only be in their own home directory :#chroot_local_user =yes
To imprison a specified user in his or her home directory:#chroot_list_enable =yes、chroot_list_file=/etc/vsftpd/chroot_list
2 ,vsftpd 's advanced applications
Vim/etc/vsftpd/vsftpd.conf
System User Configuration:
Create a . message file under any directory in FTP that appears when the user enters the directory . Message content Dirmessage_enable=yes
Whether to enable the transfer log:Xferlog_enable=yes
Specify log format:xferlog_std_format=yes
Specify log file location:#xferlog_file =/var/log/xferlog
Modified Upload user owner:#chown_uploads =yes
Specify modify upload User:#chown_username =whoever
Set User timeout Length:#idle_session_timeout =600
Data connection Timeout Length:#data_connection_timeout =120
Information displayed when you log in to FTP :#ftpd_banner =welcome to blah ftpservice.
pam_service_name=vsftpd configuration file in:/etc/pam.d/vsftpd defines the Pam module used
( Whether user login list file is enabled, default profile /etc/vsftpd/user_list ( manually created ):userlist_enable=yes
Whether to enable /etc/vsftpd/user_list list file:userlist_deny=yes|no)
Tcp_wrappers=yes TCP Package
Simple configuration of the Vsftp