Simple and practical FTP installation in Ubuntu

Source: Internet
Author: User
1) It is not difficult to install vsftpdUbuntu. Enter sudoapt-getinstallvsftpd and you will be prompted to use the CD. Just press Enter. After installation, an ftp directory is created under/home. At this time, you can try to access the ftp: // ip address. You can see an ftp space with blank content. By default, anonymous users can download files, but cannot write or upload files. 2) set the vsftpd. conf file. Now we want Anonymous Users to fail. 1) install vsftpd.
It is not difficult to install software in Ubuntu. Enter:

Sudo apt-get install vsftpd
You may be prompted to use the CD and press Enter.

After installation, an ftp directory is created under/home. At this time, you can try to access the ftp: // ip address. You can see an ftp space with blank content.

By default, anonymous users can download files, but cannot write or upload files.


2) set the vsftpd. conf file
Now, we need to make anonymous users inaccessible and enter the user password on linux before they can access the contents in their own directories.

First, find the file for setting vsftpd, which is located in/etc/vsftpd. conf.

Back up this file before modification:

Sudo cp/etc/vsftpd. conf/etc/vsftpd. conf. old
Then you can change the settings:

# Do not allow anonymous users to use it # anonymous_enable = YES # local_enable = YES # write_enable = YES # No need to display file information in a directory # dirmessage_enable = YES # Add a banner prompt ftpd_banner = Hello ~~ # The FTP server can carry max_clients = 100 # Restrict the process max_per_ip = 5 # maximum transfer rate (B/s) local_max_rate = 256000 # Hide account hide_ids = YES
Okay. Restart the ftp server to check the effect.
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.