You can Watch all our Tutorials and Training Videos on our YouTube Channel for Free! Subscribe Now!

Setting up Pure-FTPd Server on RHEL 7 Linux

Setting up Pure-FTPd Server on RHEL 7 Linux, , DevOps, FTP, FTP, Server
Setting up Pure-FTPd Server on RHEL 7 Linux

Pure-FTPd is a popular open-source FTP server that is easy to install and configure on various Linux distributions. In this tutorial, we will guide you through the steps of installing and configuring Pure-FTPd server on RHEL 7 Linux.


  • A server running RHEL 7 Linux with root access
  • Basic knowledge of Linux command-line interface

Step 1: Install Pure-FTPd on RHEL 7 Linux

The first step is to install Pure-FTPd on your RHEL 7 Linux server. You can do this by running the following command in the terminal:

sudo yum install pure-ftpd

Step 2: Create a new user for FTP access

Once you have installed Pure-FTPd, you need to create a new user account for FTP access. You can do this by running the following command:

sudo useradd -d /var/www/html -s /sbin/nologin ftpuser

This command creates a new user account named ftpuser, with a home directory of /var/www/html and a login shell of /sbin/nologin. You can replace ftpuser with any username you like, and change the home directory to any location you prefer.

Step 3: Configure Pure-FTPd

Next, you need to configure Pure-FTPd to allow FTP access for the new user account. To do this, open the Pure-FTPd configuration file with the following command:

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

In this file, you need to make the following changes:

  • Uncomment the line that starts with #PureDB and change it to PureDB /etc/pure-ftpd/pureftpd.pdb
  • Uncomment the line that starts with #CreateHomeDir and change it to CreateHomeDir yes

Save and close the file.

Step 4: Start Pure-FTPd

Once you have configured Pure-FTPd, you need to start the service by running the following command:

sudo systemctl start pure-ftpd

You can also enable the service to start automatically at boot time by running the following command:

sudo systemctl enable pure-ftpd

Step 5: Test FTP access

Finally, you need to test FTP access to make sure everything is working correctly. You can do this by connecting to the FTP server using an FTP client such as FileZilla. Enter the IP address of your RHEL 7 Linux server, along with the username and password you created in Step 2.

If you can successfully connect to the FTP server and upload/download files, then Pure-FTPd has been successfully installed and configured on your RHEL 7 Linux server.

In this tutorial, we have shown you how to install and configure Pure-FTPd on RHEL 7 Linux. By following the steps outlined in this guide, you should now have a fully functional FTP server that can be used to transfer files securely over the internet. If you have any questions or comments, please leave them in the comments section below.

Related Searches and Questions asked:

  • Setting up VSFTPD Server on Ubuntu 22.04
  • Getting Started with Serv-U FTP Server on Ubuntu 22.04
  • How to Install Ubuntu on VirtualBox
  • Setting up Pure-FTPd Server on Linux RHEL 8
  • That's it for this post. Keep practicing and have fun. Leave your comments if any.

    Post a Comment

    Cookie Consent
    We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
    It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
    AdBlock Detected!
    We have detected that you are using adblocking plugin in your browser.
    The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
    Site is Blocked
    Sorry! This site is not available in your country.