Introduction

Pure-FTPd is a lightweight and secure FTP server software. It is known for its simplicity and ease of configuration. This tutorial will guide you through the process of installing and configuring Pure-FTPd on Ubuntu 22.04.

Prerequisites

Before you begin, ensure you have:

  1. An Ubuntu 22.04 server or desktop system
  2. SSH access to the server (optional)
  3. Root or sudo privileges

Step 1: Install Pure-FTPd

Update the package index and install Pure-FTPd:

sudo apt update
sudo apt install -y pure-ftpd

Step 2: Configure Pure-FTPd

Create a system user for FTP:

sudo adduser ftpuser

Set a password for the user when prompted.

Create a symbolic link to the Pure-FTPd configuration file:

sudo ln -s /etc/pure-ftpd/conf/PureDB /etc/pure-ftpd/auth/50pure

Step 3: Enable Virtual Users (Optional)

If you want to use virtual users instead of system users, you can enable them by editing the Pure-FTPd configuration file:

sudo nano /etc/pure-ftpd/conf/PureDB

Uncomment the following line:

# UnixAuthentication yes

Save the file and exit the editor.

Step 4: Start Pure-FTPd Service

Start the Pure-FTPd service:

sudo systemctl start pure-ftpd

Enable Pure-FTPd to start on boot:

sudo systemctl enable pure-ftpd

Step 5: Verify the Installation

You can verify that Pure-FTPd is running by checking its status:

sudo systemctl status pure-ftpd

You can also test the FTP server by connecting to it using an FTP client.

Conclusion

Congratulations! You have successfully installed and configured Pure-FTPd on Ubuntu 22.04. You can now use Pure-FTPd to securely transfer files over FTP.

Was this answer helpful? 0 Users Found This Useful (0 Votes)