How to Set Up VSFTPD on CentOS 6

Jose Velazquez
by (71posts) under Cloud Hosting
0 Comments
Verified and Tested 02/25/15

Introduction

In this How-To, we will walk you through the VSFTPD install on your CentOS 6 Cloud Server.

VSFTPD is an FTP server that is built to be efficient and very secure. This is the default FTP server in the majority of Linux Operating Systems around today. With fast response and security, it reliably facilitates the job of uploading and downloading files with peace of mind.

Prerequisites

A cloud server with CentOS6 already installed.  If you don’t already have a server, consider one of the industry-leading cloud servers from Atlantic.Net.

Install VSFTPD:

sudo yum install vsftpd

Install the Client:

sudo yum install ftp

Modify the Configuration File

Make changes to the configuration file by the following:

sudo vi /etc/vsftpd/vsftpd.conf

Locate the Anonymous_enable to YES and change it to NO. It should look like the line below:
# Allow anonymous FTP? (Beware – allowed by default if you comment this out).

anonymous_enable=NO

Locate the local_enable=YES line and rmove the # in front of it. This will limit the users to their chroot and wont have access to anywhere else in the server.

Restart the service to refresh the changes:

sudo service vsftpd restart

Enable vsftpd to start when the server boots:

chkconfig vsftpd on

To access your server via FTP over the web, type the following in your browser:
ftp://YOUR.IP.ADD.RESS

You will now be prompted to input your username and password. All Done!

Congratulations! You have just installed VSFTPD on your CentOS 6 Cloud Server. Thank you for following along in this How-To and check back with us for any new updates.


Related Posts


Free Consultation

Are you searching for a solution to tackle a unique strategic challenge, but unsure where to start?

Atlantic.Net can assist your organization in developing a customized hosting plan from design to implementation.

Get Free Consultation Today!

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

Resources