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
chkconfig vsftpd on service vsftpd start service vsftpd status
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 server1.example.com Connected to server1.example.com (10.17.21.214). 220 (vsFTPd 3.0.2) Name (server1.example.com:john.doe):