Tips to install vsftpd on CentOS 6

Cort Ammon

Member
Registered
Joined
Jul 8, 2016
Messages
48
Points
8
To be able to use the common FTP programs on a CentOS server, you need to install additional programs vsftp. Vs here means "very secure" :)

Install vsfptd

Run the following command

Code:
sudo yum install vsftpd
Also we need to install the FTP client

Code:
sudo yum install ftp
Once downloaded and installed, you can use it immediately. However, it should be configured to add a little more security for VPS.

Configuring vsftpd

Open the configuration file:

Code:
sudo nano /etc/vsftpd/vsftpd.conf
Transfer from Yes to No Anonymous_enable

Code:
anonymous_enable = NO
Skip local_enable line comment, go to Yes and allow write

Code:
local_enable = YES
Skip chroot_local_user comment line and converted into Yes to user can not access other server folders

Code:
chroot_local_user = YES
Save and exit.

Restart vsftpd

Code:
sudo service vsftpd restart
To ensure system VSFTPD startup, run the following command

Code:
chkconfig vsftpd on
Connect FTP Server

You can connect to the server using vsftpd path ftp://yorudomain.com or your FTP client.

If you have any other faster ways to use vsftpd on CentOS, please share below!
 

Marc0

Well-known member
Registered
Joined
Jun 6, 2012
Messages
890
Points
28
I think this is not necessary if we use a hosting control panel like cPanel, Plesk or directadmin, right?

Because FTP was integrated and installed already on these panels.
 
Latest Threads
Replies
0
Views
139
Replies
4
Views
173
Replies
13
Views
486
Recommended Threads

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top