Install yum directly, and there is no need to waste this time.
Yum install vsftpd
Simplest Configuration
Anonymous_enable = yes/no
Checks whether anonymous users are allowed to log on. Yes indicates that anonymous users are allowed to log on, and no indicates that anonymous users are not allowed. The default value is yes and the default value is no.
Add
Set the list of permitted accounts
Userlist_file =/etc/vsftpd/user_list
Set allowed account logon
Userlist_deny = No
Remove allowed accounts from ftpuser,
In general, the FTP directory is not in the home directory. Modify the directory.
Set user_config_dir =/etc/vsftpd_user_config in vsftpd. conf
In the/etc/vsftpd_user_config directory, create a configuration file for the test1 user. The file name is the same as the username, which is also test1.
Content
Local_root =/website
The upper level is not allowed.
chroot_local_user=YESchroot_list_enable=YES chroot_list_file=/etc/vsftpd/chroot_list
The user in the chroot_list will be allowed at the upper level, which is generally null.
Then you can log on and only operate in/website.
Configure vsftpd in centos