Verified and Tested 02/25/2015
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.
Root access to server
Installing VSFTPD on CentOS
First, we will install vsftpd using the below command:
yum install vsftpd
Vsftpd is installed now, but we need to configure it in /etc/vsftpd.conf using your favorite text editor. I will use nano here.
Once inside, you will need to change a couple of things. Below are the ones to change and why we will be changing them.
This will disable the ability for users to log in anonymously
Since we disabled anonymous logins, we need to enable user logins that use the local authentication files.
This will enable users to make changes to the filesystem.
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.
Create a password for the user.
Now, this user is set up 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!
Check back for more updates from Atlantic.Net, or learn more about our VPS hosting options and VPS hosting price.