Install VSFTPD on Centos 7

Installing VSFTPD

First update the system packages using following command.

yum update -y

Now install the VSFTPD package on the server using the command.

yum install vsftpd -y

Change some options that are critical to set in the configuration file.

vi /etc/vsftpd/vsftpd.conf
anonymous_enable=NO
write_enable=YES

Save and exit from the file.

Now restart the vsftpd service.

systemctl restart vsftpd

Now we will have to add firewall rule.

firewall-cmd --permanent --add-port=20-21/tcp
firewall-cmd --reload

Create an FTP user

adduser test
passwd test
Changing password for user test.
New password:
Retype new password:
passwd: all authentication tokens updated successfully.

Testing the FTP connection

Finally test FTP connection using FileZilla Client software.

Use your server hostname OR IP

Your FTP username

Your FTP Password

image