FTP Server : Install Pure-FTPd
Install Pure-FTPd to configure FTP Server.
[1]. Install and Configure Pure-FTPd.
# install from EPEL
[root@www ~]# dnf --enablerepo=epel -y install pure-ftpd
[root@www ~]# vi /etc/pure-ftpd/pure-ftpd.conf
# line 77: change (no Anonymous)
NoAnonymous yes
# line 451: uncomment (if you use only IPv4)
IPV4Only yes
# line 460: uncomment (if you use only IPv6)
IPV6Only yes
[root@www ~]# systemctl enable --now pure-ftpd
[2]. If SELinux is enabled, change boolean setting.
[root@www ~]# setsebool -P ftpd_full_access on
[3]. If Firewalld is running, allow FTP service ports.
[root@www ~]# firewall-cmd --add-service=ftp --permanent
success
[root@www ~]# firewall-cmd --reload
success
Comments
Post a Comment