Linux PROFTPD Installation and uninstall detailed introduction _linux

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.