How to Install FTP/VSFTPD Server on Ubuntu 14.04
File Transfer Protocol (FTP) is a TCP protocol for downloading files between computers. In the past, it has also been used for uploading but, as that method does not use encryption, user credentials as well as data transferred in the clear and are easily intercepted.
Note: If you want a way to upload and download files securely use your FTP connection with SSL/TLS .
- Step 1. On Ubuntu installation of the FTP server comes down to a single command. Open your terminal and use the following command:-
$ sudo apt-get install vsftpd
- Step 2. Once installed you need to edit vsftpd configuration file
$ sudo vi /etc/vsftpd.conf
- Step 3. By default vsftpd is not configured to allow anonymous download. If you wish to enable anonymous download, edit /etc/vsftpd.conf file and Enable the ability for users to log in anonymously by finding the parameter and changing it to read “yes”:
If you want Allow local uses to login by changing the local_enable setting to YES/NO:-
local_enable = YES
If you want that enable users to make modifications in the file system, we will enable the
Now enable the chroot_local_user option to restrict users to their own home directories
- Step 4. After making necessory changes just restart vsftpd service.
$ sudo service vsftpd restart