How To Setup A Simple Ubuntu FTP Server Using ProFTPD
In order to manage and maintain server, sometimes you should download or upload files to the server. Therefore, you should have a FTP server that installed on the server. ProFTPD is one of the most popular FTP server on Linux and in this article we will learn to setup a simple Ubuntu FTP server using ProFTPd on Ubuntu 14.04.
What is ProFTPD?
Pro FTP daemon or ProFTPD is an FTP server that free software and open-source, compatible with Unux-like system, Linux and also Microsoft Windows (but you should using Cygwin). ProFTPD compared with other FTP servers, ProFTPD is specially designed for a highly FTP server that full of features, disclose to user a huge amount of number of configuration options.
ProFTPD is very similar to configuration file of Apache HTTP Server because it is also implement in a single main configuration file. So, ProFTPD is supposedly understandable to people who using this web server.
Setup a simple Ubuntu FTP Server
Install ProFTPD on Ubuntu 14.04
It is not really hard to install ProFTPD because it’s available in most Linux distributions today. Use this command :
sudo apt-get install proftpd-basic
Choose :Y” to continue. If this prompt appear, It’s better you choose the standalone version.
Basic ProFTPD configuration
You can make configuration change in this file /etc/proftpd/proftpd.conf and change on several lines :
nano /etc/proftpd/proftpd.conf or
Here the following lines that you make a change :
- UseIPv6 – Set “Off” UseIPv6 if you don’t need it.
- ServerName – Configure your own server name.
- DefaultRoot – In order to restrict users to their home folders, uncomment this.
- RequireValidShell – Uncomment the RequireValidShell to removes the constrain of users require a valid shell listed in /etc/shells to login.
- Port – By default ftp port is 21, you can change it all you want or for security user.
Connecting or access the FTP Server
You can access to FTP server using WinSCP or FileZilla. But for this example, we will using FileZilla.
Just fill the “Host” column with ftp://yourIPServer, Username and the password with user account that you used and don’t forget the port number that you configured on FTP server.
There is an easy way to access FTP server. Just open your web browser and type ftp://yourIPServer and the will appear this prompt and use your user account.
This is FTP Server looks like from web browser