In this tutorial we will cover the steps needed to install vsftpd on your CentOS 6.4, Debian or Ubuntu platform. vsftpd stands for Very Secure FTP Daemon. It is an FTP server which can be used on Unix-based platforms.


  • CentOS 6.4, Debian or Ubuntu installed on your computer/server
  • SSH access (Command line access to the server)
  • root privileges
  • Basic skills for working on a Linux environment

Install vsftpd

For the installation we can use the default package managers included in the server configuration:

CentOS 6.4:

In order to avoid the error message “500 OOPS: vsftpd: refusing to run with writable root inside chroot()” when local users are jailed we will install the vsftpd service from different repositories:



You will be prompted to accept the installation.

Configure vsftpd

In order to secure the FTP service we will perform the following changes to the vsftpd configuration file:

CentOS 6.4:


After that restart the FTP service:

Test the functionality of the service

You should be able to access some of the accounts created on the server using a desired FTP client:

where X.X.X.X is your server's IP address.

An easy way to find your server's IP address is to execute the following command:

ip addr show eth0|grep inet|awk '{print $2}'|cut -d / -f1

Start Up vsftpd automatically on server boot

In order for the services to start automatically upon server boot up you can execute the following commands:

CentOS 6.4