Anonymous FTP server Setup for Linux

Source: Internet
Author: User
Tags local time file transfer protocol

FTP (file Transfer Protocol) is a transport protocol for file transfer between a server and a client. This is an introduction to the VSFTPD software experience FTP service.

By default, the FTP server is divided into three different identities depending on the user logon situation:

①: Entity users, real user

②: Guest, Guest

③: Anonymous user, Anonymous

Of course, this is mainly about the anonymous users based on the CentOS6.5 system FTP server Setup, but other Linux version of the system can also be consulted.

  Preparatory work:

  Install FTP and VSFTPD:

    

    

  Then you can start your FTP server, the specific start-up instructions have the following two kinds:

  

  

  Specific Functions :

    1. Use local time instead of GMT time (ps:ftp default GMT time, and local time is 8 hour slack!) )
    2. Provide welcome information
    3. Open Anonymous login, no password required
    4. File transfer speed: 1m/s
    5. Not operated for more than 10 minutes, to be disconnected
    6. Enabling anonymous users to upload and download

Server Setup and Settings:

  

  Create uploads in the/var/ftp directory (PS: Provide anonymous user upload file storage) Note: Here you need to open uploads permission to enter the following command: Chown ftp/var/ftp/uploads

           Linux (PS: Linux system related software available )

            GNU (free software for GNU)

  Configuration file settings for anonymous users:

  Edit/etc/vsftpd/vsftpd.conf File

  

1anonymous_enable=YES2no_anon_password=YES #系统检验时无需密码3anon_max_rate=1000000#最大宽带使用1M/S4Data_connection_timeout=605idle_session_timeout=600#匿名用户登录10分钟就断线6write_enable=YES7anon_mkdir_write_enable=YES8anon_upload_enable=YES #上传权限9anon_world_readable_only=NOTenlisten=YES OnePam_service_name=vsftpd Auserlist_enable=YES -tcp_wrappers=YES -Use_localtime=YES #不启用GMT时间 theBanner_file=/etc/vsftpd/anon_welcome.txt #欢迎信息

  Edit/etc/vsftpd/anon_welcome.txt Welcome File

  

1 Welcome to FTP server! 2   We provide some servers about linux! 3   4 The   main dir:5  uploads:  provide datas that upload6   gnu:provide softwares which is from GNU 7                             -by Y

All work is ready, next Test labor results, client testing:

The red box is our welcome message.

  The yellow box is our username, you can log in without a password

  The green box is the folder we built.

  In this connection, the FTP anonymous server is built, you can use other computers to enter ftp://*.*.*.* at the site to log in, * for your IP address, of course, you need to be the same network segment IP to log in

Log in as follows:

  

Anonymous FTP server Setup for Linux

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.