Install and test vsftpd source code in CentOS

Source: Internet
Author: User

Environment: CentOS 6.4 x86_64

Required applications: vsftpd-3.0.2.tar.gz

I have introduced httpd source code installation in details in another article. (Address:) Here I will introduce vsftpd source code installation and compare it with what is different from httpd source code installation. The steps for installing source code are not detailed here.

Of course, the compiling environment is indispensable in the source code installation software system. I will not introduce the establishment of the compiling environment here. I have provided a detailed introduction in the previous blog on httpd installation, if you do not understand, you can read the blog. The following describes how to install and test vsftpd.

First decompress vsftpd-3.0.2.tar.gz, use the command tar-zxvf vsftpd-3.0.2.tar.gz-C/usr/local/src to switch to the/usr/local/src directory, you can see the directory just extracted

Switch to the directory and compare the differences with httpd.

What should I do if I find that there is no configure file? It doesn't matter. The INSTALL file details how to do it. Then let's follow the steps above.

First, edit the builddefs. h file.

Here I need to use tcpwrappers, And we will modify the line of tcpwrapper to: define VSF_BUILD_TCPWRAPPERS to save and exit

Next, execute make. However, when we make, we find an error,

Tcpwrap errors are found. by querying a library installed with tcpwrap in our system, other software related to tcpwrap is found during the query of the CD.

So let's install tcp_wrappers and tcp_wrapper-devel.

Run make after installation. Run make clean all to clear the previous make before execution, and then make

But there is another error.

Then install libcap again. After installation, execute the above steps. At this time, you can make it and check whether a vsftpd file is created in the current directory.

Recommended reading:

Four Advanced configurations of vsftpd Server:

VsFTPd configuration Tutorial:

Simple and practical Ubuntu FTP setup

Set up FTP server and Apache server on Ubuntu

Install the LAMP \ vsftpd \ Webmin \ phpMyAdmin service and settings in Ubuntu 13.04

Simple case of anonymous uploading of SeLinux and vsftpd on the RHEL6 Platform

Install vsftpd source code in Linux

Case study of vsftpd Security Configuration

  • 1
  • 2
  • 3
  • Next Page

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.