1. rpm-q FTP to see if the FTP server is installed
2. Yum Install vsftp FTP server
3, modify the configuration file/etc/vsftpd the following ftpusers and User_list, these two files in the default user can not access
4. Modify the configuration file vi vsftpd.conf file
Chroot_local_user=yes
Chroot_list_enable=yes
- Chroot_list_file=/etc/chroot_list
- 5, through the Windows landing error oops:could not read chroot () List file:/etc/vsftpd/chroot_list
This error is caused by not creating the Chroot_list file, which adds the FTP user that allows access to the file.
vi/etc/vsftpd/chroot_list files, adding users
6, and then restart the service, login FTP error
oops:cannot Change Directory:/home/lph
Oops:priv_sock_get_cmd
This problem is caused by the initial setup of SELinux, so it needs Getsebool-a | grep ftp to view the initial settings and then start the ftp_home_dir
Setsebool Ftp_home_dir 1
Restart the service, login can
Linux VSFTP Configuration