CentOS Stream 9
Sponsored Link

FTP Server : Install ProFTPD
2022/03/30
 
Install ProFTPD to configure FTP Server.
[1] Install and Configure ProFTPD.
# install from EPEL, CRB

[root@www ~]#
dnf --enablerepo=epel,crb -y install proftpd
[root@www ~]#
vi /etc/proftpd.conf
# line 80 : change to your hostname
ServerName                      "www.srv.world"

# line 82 : change to your email address
ServerAdmin                     root@srv.world

# line 116 : add : get access log and auth log
ExtendedLog                     /var/log/proftpd/access.log WRITE,READ default
ExtendedLog                     /var/log/proftpd/auth.log AUTH auth

[root@www ~]#
vi /etc/ftpusers
# add users you'd like to prohibit FTP access

test
[root@www ~]#
systemctl enable --now proftpd

[2] If SELinux is enabled, change boolean setting.
[root@www ~]#
setsebool -P ftpd_full_access on

[3] If Firewalld is running, allow FTP service.
[root@www ~]#
firewall-cmd --add-service=ftp

success
[root@www ~]#
firewall-cmd --runtime-to-permanent

success
Matched Content