Wednesday, March 2, 2022

How To install FTP Server (ProFTPD) & ProFTPD Client On Rocky Linux 8.5

 in This Tutorial you will Learn " How To install FTP Server (ProFTPD) & ProFTPD Client On Rocky Linux 8.5"

ProFTPD is a highly configurable FTP daemon for Unix and Unix-like operating systems.
Rocky Linux is an open-source enterprise operating system designed to be 100% bug-for-bug compatible with Red Hat Enterprise Linux.
_________________________________________________________________________________________
Server - Os:  Rocky Linux 8.5  64Bit      |    IP -192.168.1.20        |     Hostname - www.primaryhost.com
_________________________________________________________________________________________
cat /etc/system-release ; sestatus ; hostname ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf install epel-release -y
dnf install proftpd -y
gedit  /etc/proftpd.conf &>/dev/null
ServerName                      "www.primaryhost.com"
ServerAdmin                     root@primaryhost.com
# 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

nano /etc/ftpusers
# add users you'd like to prohibit FTP access
test
tim
systemctl enable --now proftpd ; systemctl daemon-reload
firewall-cmd --add-service=ftp ; firewall-cmd --runtime-to-permanent
SELinux- setsebool -P ftpd_full_access on
_________________________________________________________________________________________
Pure-FTPd Client  (Rocky Linux) -  
cat /etc/system-release ; sestatus ; hostname -I ; dnf groupinstall "Development Tools" -y
dnf -y install lftp
lftp -u debs 192.168.1.20
_________________________________________________________________________________________

No comments:

Post a Comment