How To Set Up ProFTPD on CentOS 6

How To Set Up ProFTPD on CentOS 6

How To Set Up ProFTPD on CentOS 6
  1. Download the EPEL repository that will allow us to install proftpd daemon on our VPS.
    # rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
     
  2. Next, install proftpd  with yum
    # yum install proftpd
     
  3. Once ProFTPD has been installed, we need to configure the FTP daemon with it's server name.
    # vi /etc/proftpd.conf
    change “ServerName” with the hostname of the VPS
    ServerName                                      <myDomain.com>
    save and quit
     
  4. Then, to prevent any issues add the VPS hostname and IP address in /etc/hosts file.
    # vi /etc/hosts
    append/modify hosts file to reflect a similar line as:
    10.10.10.10                                         <myServerHostname>
    save and quit
     
  5. Lastly, we need to restart FTP service for recent changes to take effect.
    # service proftpd restart
How To Connect To My FTP Server
  1. Open up an FTP client of your choosing ie. FileZilla
  2. Enter in the required fields:
    Host: “myDomain.com”
    Username: “FTP_username”
    Password: “FTP_password”
    Port: 21 for FTP and 22 for sFTP
  3. Hit Quickconnect button and your working directory should map to the remote home directory of the FTP server.
  4. That is it! You can start uploading and downloading web content to build your websites.