Bootstrap FreeKB - VSFTPD - Install VSFTPD
VSFTPD - Install VSFTPD

Updated:   |  VSFTPD articles

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

 




Did you find this article helpful?

If so, consider buying me a coffee over at Buy Me A Coffee



Comments


Add a Comment


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