Build an ftp server in ubuntu

Source: Internet
Author: User
Tags ftp client

The first step for setting up an ftp server in ubuntu is to install related software packages. Apt-get install vsftpd Step 2: modify the configuration file/etc/vsftpd. conf. The configuration file is marked with #. Modify the following: uncomment the following options: anonymous_enable = YES // allow anonymous users to access the ftp server local_enable = YES // allow local access: ftp localhost write_enable = YES // anon_upload_enable = YES // anon_mkdir_write_enable = YES // after modification, exit and save. Step 3: modify the permissions, users, and groups of the home directory for anonymous logon. Chown root. root/home/ftp chmod 755/home/ftp mkdir/home/ftp/inconming // create the upload directory chmod 777/home/ftp/inconming chown ftp. root/home/ftp/inconming Step 4: restart the ftp server and enter/etc/init in the command line. d/vsftpd restart Step 5: test the ftp service. The test method is as follows: 1. Enter ftp: // 192.168.1.19 (the IP address is the Server IP address) in the IE browser ). 2. Enter ftp localhost in the command line (provided that local access is supported) or ftp 192.168.1.19 3. Use it in windows and use an ftp client program to access the ftp server. For example, LeapFTP. Note: when accessing the server, you must disable the firewall. Ubuntu uses the command iptables-F to shut down the firewall. In Windows, access through network neighbors.

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.