Hello friends!
In this post, I'm going to describe How to Install and Configure vsftpd on centos?.
Vsftpd is a FTP Server which allows you to manage your server files remotely.
Please Use the following commands to install vsftpd on centos.
Step 1 :
$ yum -y install vsftpd nano
Step 2 :
Edit the vsftpd configuration file
$ nano /etc/vsftpd/vsftpd.conf
Now edit line as
anonymous=NO
ascii_upload_enable=YES
ascii_download_enable=YES
chroot_local_user=YES
chroot_list_enable=YES
chroot_list_file=/etc/vsftpd/chroot_list
ls_recurse_enable=YES
#Now add this line
local_root=/var/www/html
Step 3 :
$ echo "admin" >> /etc/vsftpd/chroot_list
Replace admin with your username.
Step 4 :
$ service vsftpd start
$ chkconfig vsftpd on
Congratulations! VSFTPS Server has been successfuly installed on your Centos.
No comments:
Post a Comment