The first step for setting up an ftp server in ubuntu is to install related software packages. Apt-getinstallvsftpd Step 2: modify the configuration file/etc/vsftpd. conf. the configuration file is marked with #. modify the following: Select the following... 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. step 5 of d/vsftpd restart: Test the ftp service. The test method is as follows: 1. enter the following URL in the IE browser: ftp://192.168.1.19 (This IP address is the server IP address ). 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.
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.