The yum install command can be used to install VSFTPD.

yum install vsftpd


Use the ps command to ensure no other processes are using port 21.

ps -ef | grep 21


The ps command can be used to determine if your system is using init or systemd. If PID 1 is init, then you will use the service command. If PID 1 is systemd, then you will use the systemctl command.

If your system is using systemd, use the systemctl command to start and enable nginx.

systemctl enable vsftpd
systemctl start vsftpd
systemctl status vsftpd


If your system is using init, use the chkconfig and service commands to start and enable nginx.

chkconfig vsftpd on
service vsftpd start
service vsftpd status


If you have a firewall running, such as iptables or firewalld, configure the firewall to allow FTP connections on port 21.

On the system that VSFTPD was installed on, the ftp command can be used to validate that VSFTPD is running and working as expected.

~]# ftp localhost
Trying ::1...
Connected to localhost (::1).
220 (vsFTPd 3.0.2)
Name (localhost:root):


On another PC in your subnet, the ftp command followed by the hostname of the server that VSFTPD was installed on 

~]$ ftp
Connected to (
220 (vsFTPd 3.0.2)
Name (


Add a Comment

We will never share your name or email with anyone. Enter your email if you would like to be notified when we respond to your comment.

Please enter 04d8d in the box below so that we can be sure you are a human.


Web design by yours truely - me, myself, and I   |   |