How To Install and Configure VSFTPD on Ubuntu 14.04

r00t February 15, 2015

ubuntu-vsftpd-SSL

In this tutorial we will show you how to install and configuration of vsftpd on your Ubuntu 14.04 server. For those of you who didn’t know, FTP stands for “file transfer protocol”, and it allows you to transfer files to a remote computer. The most common FTP server software for Ubuntu is the vsftpd package, which stands for “very secure FTP daemon.” It’s the default FTP package for Ubuntu, and most other Linux distributions as well.

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. I will show you through the step by step installation vsftpd on Ubuntu 14.04.

Install and Configure VSFTPD on Ubuntu 14.04

Step 1. Install vsftpd (Very Secure FTP Deamon) package.

Step 2. Configure vsftpd.

Let’s edit the configuration file for vsftpd:

Step 3. Creating and applying the SSL certificate.

Lets go and create our encryption key or certificate to use to connect to the server. First, create a folder that will be used to store the keys.

Then run the commands below to create the encryption key that will last for 365 days.

Once creating the key, go and change add and change these parameters in the default VSFTPD configuration file.

Step 4. Restart the vsftpd service.

Step 5. Configuring user access.

With the vsftpd FTP server you have the option to leave the FTP service authentication for only anonymous access or you can allow users , defined in /etc/passwd or in relevant access list, to login.

Step 6. Configure the user’s home directory.

With certain version of vsftpd you may receive the following error: 500 OOPS: vsftpd: refusing to run with writable root inside chroot(). Not to worry! Create a new directory for the user receiving the error(idroot in this case) that is a subdirectory of their home directory (/home/idroot). For example:

Fix permissions for idroot home directory:

Make a new directory for uploading files:

Congratulation’s! You have successfully installed vsftpd. Thanks for using this tutorial for installing vsftpd in Ubuntu 14.04 system. For additional help or useful information, we recommend you to check the official vsftpd 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!
Share on Google+2Share on Facebook0Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon8Share on Reddit1Pin on Pinterest2
The Tags:

Leave a Comment