FTP Server on Ubuntu Linux
FTP is one of application that use in our computer network. This application can be use to upload or download data between computers. To use this application, we must have FTP Server and FTP Client installed in both of host. In OS Ubuntu Linux, there is many applications for use as FTP Server, such as :
proftpd - Versatile, virtual-hosting FTP daemon
vsftpd - The Very Secure FTP Daemon
- ftpd - FTP server
- wu-ftpd - powerful and widely used FTP server
- wzdftpd - A portable, modular, small and efficient ftp server
- pure-ftpd - Pure-FTPd FTP server
For FTP Server, I recommended VSFTPD, because it is simple and secure. According to vsftpd man page:
vsftpd is the Very Secure File Transfer Protocol Daemon. The server can be launched via a super-server such as inetd or xinetd. Alternatively, vsftpd can be launched in standalone mode, in which case vsftpd itself will listen on the network.
Now, how to install this vsftpd to our computer. These are the steps :
1. Install VSFTPD
$ sudo apt-get install vsftpd
2. Configure /etc/vsftpd.conf
Open the file
$ sudo nano /etc/vsftp.conf
Add the following line (uncomment line) to the vsftpd configuration file, to allow local users to log in via ftp
local_enable=YES
To allow users to upload file, add the following to the file:
write_enable=YES
For security reason we may jail local users to their home directories. Add the following to the file:
chroot_local_user=YES
Save and close the file. (Ctrl+O, Enter and Ctrl+X)
3. Restart vsftpd
To restart vsftpd type this command :
$ sudo /etc/init.d/vsftpd restart
Check using netstat :
$ netstat –listening | more
See if there is ftp, then you have success install and run vsftpd on your computer

Tags: