← Volver al blog

How to Install FTP Server (vsftpd)

  • Xernode
  • 1 min de lectura
  • 9 de abril de 2026
VPS linux vps file transfer vsftpd ftp ftp-server

Introduction

vsftpd is a secure and fast FTP server for Unix systems. This guide shows you how to install and configure vsftpd on your Linux VPS.

Step-by-step Guide

  1. Update your package list
    • sudo apt update
  2. Install vsftpd
    • sudo apt install -y vsftpd
  3. Start and enable the vsftpd service
    • sudo systemctl start vsftpd
    • sudo systemctl enable vsftpd
  4. (Optional) Backup the original configuration
    • sudo cp /etc/vsftpd.conf /etc/vsftpd.conf.bak
  5. Edit the configuration file as needed
    • sudo nano /etc/vsftpd.conf
  6. Restart vsftpd to apply changes
    • sudo systemctl restart vsftpd
  7. (Optional) Allow FTP traffic through the firewall
    • sudo ufw allow 20/tcp
    • sudo ufw allow 21/tcp
    • sudo ufw reload

Recommendations

  • Use SFTP for more secure file transfers when possible.
  • Limit user access and enable chroot for security.
  • Regularly update vsftpd and monitor logs.

Call To Action

eed a VPS for your FTP server? Check out our hosting plans: https://xernode.com/#pricing

Related Guides