How to install and configure an FTP Server (vsFTP) on CentOS 6 in 5 minutes


In an earlier post I gave a quick tutorial on how to transfer files using LFTP instead of rsync or scp, and I had a few questions about setting up a simple and easy FTP server to use LFTP with. The easiest way i’ve found to do this is by using VSFTP, and here’s how to do it.

To start off we will need to install vsftp, use the command below.

Install VSFTP

Next we will need to make a few configuration changes.

Disable Anonymous FTP access

Enable ASCII

Enable local users and chroot list

Set chroot file to be used

Enable LS Recursive

Here’s a few options you can choose to set or not. Just add these to the bottom of the configuration file.

Set FTP to use Local Time

Set FTP root to different directory

Adding the line below will change the “home” directory for the FTP user. If not used the user’s home directory will become the FTP home directory.

Create chroot user list file

Open /etc/vsftp/chroot_list and add any users you want to be able to traverse their home directory. Basically if you want them to have access outside of their home directory.

Set vsFTP to start at boot

Start vsFTP


Orlando, FL

Did this post help you?

Give back and rate it for me!

Related Posts