How To Setup A Simple Ubuntu FTP Server Using ProFTPD

0 127

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.

 

Read How To Install SSH Server On Ubuntu 14.04

 

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

Simple ubuntu FTP server : Installing ProFTPD
Installing ProFTPD

Choose :Y” to continue. If this prompt appear, It’s better you choose the standalone version.

Simple ubuntu FTP Server : ProFTPD Configuration Prompt
ProFTPD Configuration Prompt

 

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

vi /etc/proftpd/proftpd.conf

Simple ubuntu FTP Server : ProFTPD File Configuration
ProFTPD File Configuration

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.

Simple ubuntu FTP Server : Access FTP Server with FileZilla
Access FTP Server with 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.

 

Read How To Install And Configure Wine on Ubuntu 16.04

 

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.

Simple ubuntu FTP Server : Insert Your User Account
Insert Your User Account

This is FTP Server looks like from web browser

Simple ubuntu FTP Server : FTP Server Looks Like From Web Browser
FTP Server Looks Like From Web Browser

 

Source1Source2

You might also like More from author