Detailed procedures for PROFTPD installation and uninstall on Linux systems
Yum Install proftpd
vi/etc/proftpd.conf← Modify PROFTPD configuration file
ServerType standalone← Find this line and add "#" at the beginning
↓
#ServerType standalone← into this state, no resident mode is used
#ServerType inetd← Find this line and remove the "#" at the beginning.
↓
ServerType inetd← into this state, starting with a super server proftpd
Defaultroot ~!adm← Find this line, change "!adm" to "/public_html!wheel"
↓
Defaultroot ~/public_html!wheel← becomes this state so that the root of the wheel group user is public_html
Locate the statement group for the TLS settings as follows:
# TLS
# explained at http://www.castaglia.org/proftpd/modules/mod_tls.html
----------------------------------------------------------------
#TLSEngine on
#TLSRequired on
#TLSRSACertificateFile/usr/share/ssl/certs/proftpd.pem
#TLSRSACertificateKeyFile/usr/share/ssl/certs/proftpd.pem
#TLSCipherSuite all:! Adh:! Des
#TLSOptions Nocertrequest
#TLSVerifyClient off
# #TLSRenegotiate CTRL 3600 Data 512000 required off timeout 300
#TLSLog/var/log/proftpd/tls.log
----------------------------------------------------------------
↓ the above horizontal lines of the statement, the beginning of each line of the "#" are removed, into the following horizontal lines between the state:
----------------------------------------------------------------
Tlsengine on
Tlsrequired on← allows only TLS-mode connections (normal mode is also allowed if on is changed to OFF)
Tlsrsacertificatefile/usr/share/ssl/certs/proftpd.pem
Tlsrsacertificatekeyfile/usr/share/ssl/certs/proftpd.pem
Tlsciphersuite all:! Adh:! Des
Tlsoptions Nocertrequest
Tlsverifyclient off
#TLSRenegotiate CTRL 3600 Data 512000 required off timeout 300
Tlslog/var/log/proftpd/tls.log
----------------------------------------------------------------
Then fill in the following lines at the end of the configuration file:
Extendedlog/var/log/proftpd/access.log write,read default← Record connection log to corresponding log file
Extendedlog/var/log/proftpd/auth.log auth auth← record authentication log to corresponding log file
Masqueradeaddress digeast.no-ip.info← define Server domain name
Passiveports 50000 50030← Specifies the port number (any port number that exists after 1024) for the PASV mode connection
Unloading
Yum Remove proftpd can
Thank you for reading, I hope to help you, thank you for your support for this site!