Implement linux vsftpd Virtual Host

Source: Internet
Author: User

Recently, many shoes on the Internet asked me how to implement a vsftpd VM. I couldn't find a bunch of materials on the Internet. In fact, the vsftpd VM is easy to implement. Let me give a simple example.

The testing machine has two ip addresses: 192.168.5.15 and 192.168.5.20.

First, go to the vsftpd directory and copy another vsftpd configuration file (different file names)

# Cd/etc/vsftpd

# Cp vsftpd. conf myvsftpd. conf www.2cto.com

Add listen_address = 192.168.5.15 to vsftp. conf.

Add listen_address = 192.168.5.20 to myvsftpd. conf.

Then add different configurations to the files (the settings of different virtual hosts.

Then you can start it.

#/Usr/sbin/vsftpd/etc/vsftpd. conf

#/Usr/sbin/vsftpd/etc/vsftpd/myvsftpd. conf

Successful! It's easy.

 

This article is from the "IT Malaysia" blog

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.