{"id":11480,"date":"2019-03-14T08:46:32","date_gmt":"2019-03-14T08:46:32","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11480"},"modified":"2019-03-14T08:46:32","modified_gmt":"2019-03-14T08:46:32","slug":"installing-proftpd-server-on-rhel-centos-7","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/installing-proftpd-server-on-rhel-centos-7\/","title":{"rendered":"Installing ProFTPD Server on RHEL\/CentOS 7"},"content":{"rendered":"<p><strong>ProFTPD<\/strong>\u00a0is an Open Source FTP Server and one of the most used, secure and reliable file transfer daemons on Unix environments, due to its file configurations simplicity speed and easy setup.<\/p>\n<div id=\"attachment_8527\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-Proftpd-in-centos.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8527\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-Proftpd-in-centos.png\" alt=\"Install Proftpd In CentOS 7\" width=\"600\" height=\"400\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install Proftpd In RHEL\/CentOS 7<\/p>\n<\/div>\n<h4>Requirements<\/h4>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/centos-7-installation\/\" target=\"_blank\" rel=\"noopener\">CentOS 7 Minimal Installation<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/redhat-enterprise-linux-7-installation\/\" target=\"_blank\" rel=\"noopener\">Red Hat Enterprise Linux 7 Installation<\/a><\/li>\n<li><a href=\"https:\/\/www.tecmint.com\/configure-network-interface-in-rhel-centos-7-0\/\" target=\"_blank\" rel=\"noopener\">Configure Static IP Address on System<\/a><\/li>\n<\/ol>\n<p>This tutorial will guide you on how you can install and use\u00a0<strong>ProFTPD<\/strong>\u00a0Server on<strong>\u00a0CentOS<\/strong>\/<strong>RHEL 7<\/strong>\u00a0Linux distributions for a simple file transfer from your local system accounts to remote systems.<\/p>\n<h3>Step 1: Install Proftpd Server<\/h3>\n<p><strong>1.<\/strong>\u00a0Official RHEL\/CentOS 7 repositories doesn\u2019t provide any binary package for ProFTPD Server, so you need to add extra package repositories on your system provided by\u00a0<b>EPEL 7 Repo<\/b>, using the following command.<\/p>\n<pre># rpm -Uvh http:\/\/ftp.astral.ro\/mirrors\/fedora\/pub\/epel\/beta\/7\/x86_64\/epel-release-7-0.2.noarch.rpm\r\n<\/pre>\n<div id=\"attachment_8515\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-EPEL-in-CentOS-7.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8515\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-EPEL-in-CentOS-7-620x130.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-EPEL-in-CentOS-7-620x130.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-EPEL-in-CentOS-7.png 986w\" alt=\"Install EPEL in CentOS 7\" width=\"620\" height=\"130\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install EPEL in RHEL\/CentOS 7<\/p>\n<\/div>\n<p><strong>2.<\/strong>\u00a0Before you start installing ProFTPD Server, edit your machine hosts file, change it accordingly to your system\u00a0<strong>FQDN<\/strong>\u00a0and test the configurations to reflect your system domain naming.<\/p>\n<pre># nano \/etc\/hosts<\/pre>\n<p>Here add your system FQDN on 127.0.0.1 localhost line like in the following example.<\/p>\n<pre>127.0.0.1 server.centos.lan localhost localhost.localdomain\r\n<\/pre>\n<p>Then edit\u00a0<b>\/etc\/hostname<\/b>\u00a0file to match the same system FQDN entry like in the screenshots below.<\/p>\n<pre># nano \/etc\/hostname\r\n<\/pre>\n<div id=\"attachment_8517\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Hostname-File.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8517\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Hostname-File-620x151.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Hostname-File-620x151.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Hostname-File.png 869w\" alt=\"Open Hostname File\" width=\"620\" height=\"151\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Open Hostname File<\/p>\n<\/div>\n<div id=\"attachment_8518\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Add-Hostname-in-Hosts.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8518\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Add-Hostname-in-Hosts.png\" alt=\"Add Hostname in Hosts\" width=\"616\" height=\"191\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Add Hostname in Hosts<\/p>\n<\/div>\n<p><strong>3.<\/strong>\u00a0After you have edited the host files, test your local DNS resolution using the following commands.<\/p>\n<pre># hostname\r\n# hostname -f    \t## For FQDN\r\n# hostname -s    \t## For short name\r\n<\/pre>\n<div id=\"attachment_8520\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Verify-System-Hostname.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8520\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Verify-System-Hostname.png\" alt=\"How to Check Hostname in CentOS\" width=\"593\" height=\"243\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Verify System Hostname<\/p>\n<\/div>\n<p><strong>4.<\/strong>\u00a0Now it\u2019s time to install ProFTPD Server on your system and some required ftp utilities that we will be using later by issuing following command.<\/p>\n<pre># yum install proftpd proftpd-utils\r\n<\/pre>\n<div id=\"attachment_8521\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-Proftpd-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8521\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-Proftpd-Server-620x332.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-Proftpd-Server-620x332.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Install-Proftpd-Server.png 913w\" alt=\"Install FTP in CentOS\" width=\"620\" height=\"332\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Install Proftpd Server<\/p>\n<\/div>\n<p><strong>5.<\/strong>\u00a0After the server is installed, start and manage Proftpd daemon by issuing the following commands.<\/p>\n<pre># systemctl start proftpd\r\n# systemctl status proftpd\r\n# systemctl stop proftpd\r\n# systemctl restart proftpd\r\n<\/pre>\n<div id=\"attachment_8523\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Start-Proftpd-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8523\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Start-Proftpd-Server-620x262.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Start-Proftpd-Server-620x262.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Start-Proftpd-Server.png 916w\" alt=\"Start Proftpd Server\" width=\"620\" height=\"262\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Start Proftpd Server<\/p>\n<\/div>\n<h3>Step 2: Add Firewall Rules and Access Files<\/h3>\n<p><strong>6.<\/strong>\u00a0Now, your ProDTPD Server runs and listen for connections, but it\u2019s not available for outside connections due to Firewall policy. To enable outside connections make sure you add a rule which opens port\u00a0<b>21<\/b>, using\u00a0<b>firewall-cmd<\/b>\u00a0system utility.<\/p>\n<pre># firewall-cmd \u2013add-service=ftp   ## On fly rule\r\n# firewall-cmd \u2013add-service=ftp   --permanent   ## Permanent rule\r\n# systemctl restart firewalld.service \r\n<\/pre>\n<div id=\"attachment_8524\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Proftpd-Port.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-8524\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Proftpd-Port-620x200.png\" sizes=\"auto, (max-width: 620px) 100vw, 620px\" srcset=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Proftpd-Port-620x200.png 620w, https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Open-Proftpd-Port.png 726w\" alt=\"Open FTP Port in CentOS\" width=\"620\" height=\"200\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Open Proftp Port in Firewall<\/p>\n<\/div>\n<p><strong>7.<\/strong>\u00a0The most simple way to access your FTP server from remote machines is by using a browser, redirecting to your server IP Address or domain name using ftp protocol on URL.<\/p>\n<pre>ftp:\/\/domain.tld\r\n\r\nOR \r\n\r\nftp:\/\/ipaddress \r\n<\/pre>\n<p><strong>8.<\/strong>\u00a0The default configuration on Proftpd Server uses valid system local accounts credentials to login and access your account files which is your\u00a0<b>$HOME<\/b>\u00a0system path account, defined in\u00a0<b>\/etc\/passwd<\/b>\u00a0file.<\/p>\n<div id=\"attachment_8525\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Access-Proftpd.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8525\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/Access-Proftpd.png\" alt=\"Access Proftpd from Browser\" width=\"576\" height=\"309\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Access Proftpd from Browser<\/p>\n<\/div>\n<div id=\"attachment_8526\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/User-Files.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-8526\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2014\/08\/User-Files.png\" alt=\"Index of Proftpd Files\" width=\"583\" height=\"385\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Index of Proftpd Files<\/p>\n<\/div>\n<p><strong>9.<\/strong>\u00a0To make ProFTPD Server automatically run after system reboot, aka enable it system-wide, issue the following command.<\/p>\n<pre># systemctl enable proftpd\r\n<\/pre>\n<p>That\u2019s it! Now you can access and manage your account files and folders using FTP protocol using whether a browser or other more advanced programs, such as\u00a0<a href=\"https:\/\/filezilla-project.org\/\" target=\"_blank\" rel=\"nofollow noopener\">FileZilla<\/a>, which is available on almost any platforms, or\u00a0<a href=\"https:\/\/winscp.net\/eng\/index.php\" target=\"_blank\" rel=\"nofollow noopener\">WinSCP<\/a>, an excellent File Transfer program that runs on Windows based systems.<\/p>\n<p><b>Suggested Read:<\/b>\u00a0<a href=\"https:\/\/www.tecmint.com\/install-ftp-server-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">How to Install, Configure and Secure FTP Server in CentOS 7<\/a><\/p>\n<p>On the next series of tutorials concerning ProFTPD Server on RHEL\/CentOS 7, I shall discuss more advanced features like\u00a0<a href=\"https:\/\/www.tecmint.com\/install-proftpd-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">enabling Anonymous account<\/a>,\u00a0<a href=\"https:\/\/www.tecmint.com\/enable-ssl-on-proftpd-in-centos\/\" target=\"_blank\" rel=\"noopener\">use TLS encrypted file transfers<\/a>\u00a0and adding Virtual Users.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/install-proftpd-in-centos-7\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ProFTPD\u00a0is an Open Source FTP Server and one of the most used, secure and reliable file transfer daemons on Unix environments, due to its file configurations simplicity speed and easy setup. Install Proftpd In RHEL\/CentOS 7 Requirements CentOS 7 Minimal Installation Red Hat Enterprise Linux 7 Installation Configure Static IP Address on System This tutorial &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/installing-proftpd-server-on-rhel-centos-7\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Installing ProFTPD Server on RHEL\/CentOS 7&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11480","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11480","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11480"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11480\/revisions"}],"predecessor-version":[{"id":11481,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11480\/revisions\/11481"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11480"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11480"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11480"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}