How to Install VSFTPD on CentOS Stream 9

VSFTPD, (or very secure FTP daemon), is an FTP server for Unix-like systems, including Linux. It is the default FTP server in the Ubuntu, CentOS, Fedora, NimbleX, Slackware, and RHEL Linux distributions. It is licensed under the GNU General Public License. It supports IPv6, TLS, and FTPS.

Installing VSFTPD

To enable FTP on your VPS, you will first need to install the VSFTPD package with the following command.

dnf install vsftpd -y

Once the installation is complete, We start the vsftpd service and enable it to start automatically at system boot.

systemctl start vsftpd

systemctl enable vsftpd

Next, we open the FTP port on the system firewall to allow access to the FTP service from external systems.

firewall-cmd --add-service=ftp --permanent --zone=public

firewall-cmd --reload

Creating an FTP user

Creating an FTP user and creating a password for that user.

First, We add the user,

useradd crowncloud

Next, we set up a password for the user,

Change strong_password to something more secure/unique when using it for your user account.

passwd strong_password

Testing the FTP connection

Finally test FTP connection using any of the FTP Client (FileZilla, WinSCP (etc)).

Use your server hostname OR IP

Your FTP username

Your FTP Password

image

image

Now have successfully installed VSFTPD on your CentOS Stream 9.


CrownCloud - Get a SSD powered KVM VPS at $4.5/month!
Use the code WELCOME for 10% off!

1 GB RAM / 25 GB SSD / 1 CPU Core / 1 TB Bandwidth per month

Available Locations: LAX | MIA | ATL | FRA | AMS