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.