How To Install ProFTPD on Debian 8

r00t April 19, 2017

proftpd-logo

In this tutorial we will show you how to install and configuration Nextcloud on Debian 8 Jessie server. For those of you who didn’t know, ProFTPD is a GPL-licensed FTP server that can be installed for free on your Linux system. It’s an alternative to vsftpd. ProFTPD open source FTP server one  most used, secure and reliable file transfer daemons on Unix environments, due to its file configurations simplicity speed and easy setup.

This article assumes you have at least basic knowledge of linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root account, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation Nextcloud on a Debian 8 (Jessie) server.

Install ProFTPD on Debian 8 Jessie

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing ProFTPD and all required packages.

During the installation, you’ll be prompted to choose the installation method that you want. There are two installation method, standard daemon and the inet daemon methods.

Configure Proftpd

Step 3. Configure ProFTPD.

ProFTPD default configuration file is at /etc/proftpd/proftpd.conf.

Change the ServerName to the hostname of your server. In the case below, ftp.idroot.net is an example:

Uncomment DefaultRoot:

Create FTP User

Step 4. Add an FTP User.

Before you create a user for Proftpd, please add /bin/false to your /etc/shells file:

Create a user with a home directory where he will get access to by FTP. I will disable shell access for this user by assigning the “/bin/false” shell to him to ensure that he can not login by SSH. My username is named “idroot”, please replace idroot with your username in the next command:

Next, configure Proftpd to allow the user idroot to access the FTP server:

Add this config to allow user idroot to login and upload/download file to/from his home directory /home/idroot:

Run the commands below to restart ProFTPD:

Step 5. Access the FTP server.

Once you have installed the FTP server and configured it to your liking, Now all you have to do is open an FTP client and connect to the server using its IP address, hostname or domain name. If  everything is configure correctly, you should be granted access to the server with the correct username and password.

Congratulation’s! You have successfully installed ProFTPD. Thanks for using this tutorial for installing ProFTPD ftp server on Debian 8 Jessie server. For additional help or useful information, we recommend you to check the official ProFTPD web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!

Save

Share on Google+0Share on Facebook3Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest2
The Tags:

Leave a Comment