How to Install VSFTPD on a CentOS Cloud Server

Atlantic.Net NOC
by Atlantic.Net (68posts) under HIPAA Compliant Database Hosting
0 Comments
Verified and Tested 02/25/2015

Introduction

VSFTPD (very secure file transfer protocol daemon) is a popular way to transfer files between your computer and a remote computer.

In this article, we will install vsftpd on a CentOS cloud server.

Prerequisites

Root access to server

Procedure

Installing VSFTPD on CentOS

First, we will install vsftpd using the below command:

yum install vsftpd

Vsftpd is installed now, but we now need to configure it in /etc/vsftpd.conf using your favorite text editor. I will use nano here.

nano /etc/vsftpd/vsftpd.conf

Once inside, you will need change a couple of things. Below are the ones to change and why we will be changing them.

anonymous_enable=NO

This will disable the ability for users to login anonymously

local_enable=YES

Since we disabled anonymous logins, we need to enable user logins that use the local authentication files.

write_enable=YES

This will enable users to make changes to the filesystem.

chroot_local_user=YES

This will restrict users to have access only to their home directories.

After this is done, you can save and close the file.

Adding FTP User

Next, we have to create an FTP user. I will use the user “atlantic” in this example, but you can use any username. To add a user, run the following command.

adduser atlantic

Create a password for the user.

passwd atlantic

Now this user is setup to log in.

To access your server via FTP over the web, type the following in your browser:
ftp://<Server IP Address>

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

Find out how to set up a HIPAA compliant database with Atlantic.Net.

Not sure what you need?

Get a free consultation today!

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4

Canada

London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom

Resources

We use cookies for advertising, social media and analytics purposes. Read about how we use cookies in our updated Privacy Policy. If you continue to use this site, you consent to our use of cookies and our Privacy Policy.