Install vsftpd
1. You can quickly install vsftpd on your virtual private server in the command line:
sudo yum install vsftpd
2. Once VSFTP is installed, you can adjust the configuration:
File excerpt: /etc/vsftpd/vsftpd.conf
anonymous_enable=NO local_enable=YES #uncommenting and change command to: chroot_local_user=YES
3. Restarting vsftpd, in order to ensure that vsftpd runs at boot:
sudo systemctl enable vsftpd.service sudo systemctl restart vsftp.service
4. By allow vsftpd through the Firewall
sudo firewall-cmd --permanent --add-service=ftp sudo firewall-cmd --reload
5. Finish up setup SEinux to allow ftp access to the users home directories
sudo setsebool -P ftp_home_dir on
Nenhum comentário:
Postar um comentário