FTP (File Transfer Protocol) is one way we communicate with remote computers. On this occasion I would share a tutorial on how to build an FTP server ubuntu server LTS 12.04, Acctualy,there are many applications that can be used in building FTP server, but on this tutorial how to build an FTP server on ubuntu server LTS 12.04 I will use an application called vsftpd (Very Secure FTP Daemon).
vsftpd uses the GPL license and can be used on all UNIX family, including in Linux. Other benefits of vstpd more “secure” (compared with) the other FTP server application, faster, and more stable.
Let’s Start It, Now login to server with ssh. then install vsftpd with command below
sudo apt-get install vsftpd
After vsftpd installation is complete. actually, you no longer need to configure the vsftpd, because the default configuration is very secure and can be directly used. But if you want to edit the configuration you can edit the file /etc/vsftpd.conf with command below:
If you want your users can upload files on your FTP server, find and edit the following line:
# Uncomment this to enable any form of FTP write command. write_enable=YES
If you do not want the anonymous FTP user free access to your server, please edit the following line:
# Allow anonymous FTP? (Disabled by default) anonymous_enable=NO
save (CTRL+O) your configuration and Exit (Ctrl+X), then restart vsftpd service with commads below:
sudo service vsftpd restart