CALL US: +91-9971329945 / +91-120-4312792 Live Chat Submit Ticket   Login
Installation of  VSFTP on the centos7

The below article will help you to install VSFTP on the centos7

 

First Update the server with below command.
#yum update -y

 

Now install VSFTP with below command
#yum install vsftpd -y

 

Now make copy of the configuration file
#mv /etc/vsftpd/vsftpd.conf /etc/vsftpd/vsftpd.conf.old

Edit configuration file
#vi /etc/vsftpd/vsftpd.conf

###################################
anonymous_enable=NO
local_enable=YES
write_enable=YES
local_umask=022
dirmessage_enable=YES
xferlog_enable=YES
connect_from_port_20=YES
xferlog_std_format=YES
listen=NO
listen_ipv6=YES
chroot_local_user=YES
allow_writeable_chroot=YES
pam_service_name=vsftpd
tcp_wrappers=YES
###################################

NOW restart the service:
#systemctl restart vsftpd

 

Then set the vsftpd service to start at boot:
#systemctl enable vsftpd

 

Now add New user
#useradd pawan

 

Change password
#passwd pawan

 

Now add user “pawan” in “/etc/vsftpd.userlist”
#echo “pawan” | tee -a /etc/vsftpd.userlist

pawan

 

We will use semanage command to set SELinux rule to allow FTP to read/write user’s home directory.
#semanage boolean -m ftpd_full_access –on

 

NOW restart the service:
#systemctl restart vsftpd

 

 

To get more updates clickhttps://www.datanethosting.com/blog/

 

To know more click

Comments are closed.