Install the FTP server on Ubuntu
1: Install vsftpd
~ $ Sudo apt-Get install vsftpd
Ubuntu10.10 is installed by yourself. This step is omitted.
2: Configure vsftpd
2.1 modify the configuration file of vsftpd. Such configuration files are usually located in the/etc directory.
~ $ Sudo gedit/etc/vsftpd. conf
A lot of commands in the original file are commented out. You only need to enable the commands. The following are the commands that are enabled (each entry is described in the configuration file)
Listen = yes # server listener
Anonymous_enable = yes # Anonymous Access Allowed
Local_enable = yes # allow access to the local host
Write_enable = yes # Write allowed
Anon_upload_enable = Yes
# Anonymous upload is allowed. The default value is no, which can be enabled if it is troublesome. I am not responsible for any problems ~
Anon_mkdir_write_enable = yes # Allow Anonymous Folder creation
Dirmessage_enable = yes # enter the folder to allow
Xferlog_enable = yes # ftp logging allowed
Connect_from_port_20 = yes # Port 20 is allowed as the data transmission Port
Secure_chroot_dir =/var/run/vsftpd/empty
Pam_service_name = vsftpd
Rsa_cert_file =/etc/SSL/private/vsftpd. pem
Save.