Web Hosting & VPS Tips

Unleash Your Server Potential with Expert Insights

Hosting provided by: Cloudways
Free to Try! Up to 40% Off!

Category: VPS Setup

Install vsftpd on a Rocky Linux VPS—run
dnf install vsftpd -y
then edit /etc/vsftpd/vsftpd conf with
nano /etc/vsftpd/vsftpd.conf
Enable local_enable=YES write_enable=YES and chroot_local_user=YES for security Generate an SSL cert with
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/pki/tls/private/vsftpd.key -out /etc/pki/tls/certs/vsftpd.crt
and set ssl_enable=YES Start with
systemctl start vsftpd && systemctl enable vsftpd
and open ports with
firewall-cmd --add-service=ftp --permanent && firewall-cmd --reload
Test with
ftp ip
—expect a secure prompt On DigitalOcean this ensures encrypted uploads supporting phpMyAdmin backups with reliable uptime

Back to All Tips