Red Hat Linux 5 source code installation VSFTPD

Source: Internet
Author: User
Tags ftp mkdir linux

Preparation Tool vsftpd-3.0.2.tar.gz

TAR-ZXVF vsftpd-3.0.2.tar.gz-c/usr/local/src/(unpacking to src directory)

CD/USR/LOCAL/SRC/VSFTPD-3.0.2/(into the vsftpd-3.0.2 directory)

Ls

Less INSTALL (view installation instructions – You can get a very clear understanding of the installation steps by installing instructions)

Vim builddefs.h (Edit builddefs.h)

Change undef vsf_build_tcpwrappers to define vsf_build_tcpwrappers (used when building a simple firewall)

Ls-l VSFTPD (you can see the VSFTPD program through this command after make)

[Root@localhost root]# Useradd Nobody (to be satisfied with VSFTPD when installing VSFTPD--Anonymous account one nobody identity login)

mkdir-pv/usr/share/empty/(Create an empty directory)

mkdir-pv/var/ftp/

Useradd-d/var/ftp FTP (create FTP account)

chmod og-w/var/ftp (Modify permissions)

CP vsftpd.conf/etc (copy configuration file)

Vim/etc/vsftpd.config (Edit)

Local_enable=yes, remove the comment (#号) of this line (otherwise, you will be limited when you set up your account login)

Write_enable=yes the comment (#号) of this line

After restarting the service, it will take effect, without control script, use Pkill vsftpd

Then restart the VSFTPD service

./VSFTPD & (running in the background)

CD redhat/

CP Vsftpd.pam/etc/pam.d/ftp (Specifies the calling module interface)

cd/usr/local/sbin/(VSFTPD is placed in this directory

)

CD Sbin

./VSFTPD & (Let Vsftpd run in the background)

Create a directory under the FTP directory (don't see anything when testing is prevented)

Mkdir/var/ftp/pub

Related Article

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.