{"id":1298,"date":"2016-12-26T08:45:06","date_gmt":"2016-12-26T08:45:06","guid":{"rendered":"http:\/\/www.fastwebhost.in\/blog\/?p=1298"},"modified":"2019-01-22T09:22:08","modified_gmt":"2019-01-22T09:22:08","slug":"install-configure-vsftpd-ftp-server-on-ubuntu14-04","status":"publish","type":"post","link":"https:\/\/www.fastwebhost.in\/blog\/install-configure-vsftpd-ftp-server-on-ubuntu14-04\/","title":{"rendered":"How to Install VSFTPD FTP Server on Ubuntu14.04"},"content":{"rendered":"<h5><span>Introduction<\/span><\/h5>\n<p>FTP \u2013 File transfer protocol is used to transfer files from one host to another over&nbsp;TCP.&nbsp;There are different types of FTP servers and clients available. Let&#8217;s see installing and configuring VSFTPD FTP server on Linux&nbsp;which is fast and secure.<\/p>\n<p>This article gives you an clear idea on how to configure secure, fast FTP on Ubuntu 14.04. Please follow the below steps.<\/p>\n<p>While installing any thing new on an Ubuntu server, the best practice is &nbsp;to update all the available packages to latest versions.&nbsp;<\/p>\n<p>The below &#8220;apt-get \u200bupdate&#8221; command updates all available packages on the server.<\/p>\n<p>#sudo apt-get update<\/p>\n<p>Let&#8217;s start installing &#8220;vsftpd&#8221; which is the main motive of this article.<\/p>\n<h6><span>Step<\/span>1 &#8211;&nbsp;Installing &nbsp;VSFTPD FTP Server&nbsp;<\/h6>\n<p style=\"margin-top: 20px !important;\">The below command will install VSFTPD FTP server on Ubuntu<\/p>\n<p>#sudo apt-get -y install vsftpd<\/p>\n<p>I want to show you a clear image, how it looks when we complete installing VSFTPD FTP server.<\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"VSFTPD FTP Server Installation\" style=\"width: 500px;\" src=\"\/\/www.fastwebhost.in\/blog\/wp-content\/uploads\/2016\/12\/vsftpd-Installation-1.png\" width=\"500\" height=\"281\"><\/span><\/p>\n<h6><span>Step 2: Configuring VSFTPD FTP Server<\/span><\/h6>\n<p style=\"margin-top: 20px !important;\">Once VSFTP installation completes, you can adjust the configuration in order to make FTP more secure.<\/p>\n<p style=\"margin-top: 20px !important;\">The configuration files looks like below image.<\/p>\n<p><span><img loading=\"lazy\" decoding=\"async\" alt=\"VSFTPD FTP Server configuration file\" style=\"width: 450px;\" src=\"\/\/www.fastwebhost.in\/blog\/wp-content\/uploads\/2016\/12\/VSFTPD-Configuration.png\" width=\"450\" height=\"391\"><\/span><\/p>\n<p style=\"margin-top: 20px !important;\">You can open the configuration file using editors like vim, nano and so on. I prefer using nano.<\/p>\n<p>#nano \/etc\/vsftpd.conf<\/p>\n<p>Disallow&nbsp;anonymous, unidentified users to access files via FTP change the anonymous_enable setting to NO<\/p>\n<p>anonymous_enable=NO<\/p>\n<p>Allow local users to&nbsp;login by changing the local_enable setting to YES<\/p>\n<p>local_enable=YES&nbsp;<\/p>\n<p>If you want local user to be able to write to a directory, then change the write_enable setting to YES<\/p>\n<p>write_enable=YES&nbsp;<\/p>\n<p>Local users will be \u2018chroot jailed\u2019 and they will be denied access to any other part of the server. Change the chroot_local_user setting to YES<\/p>\n<p>chroot_local_user=YES&nbsp;<\/p>\n<p>Ctrl + X helps you exit from the editor and it requests you to save the file before it exits. Just type &#8220;Y&#8221; and it will save and exit.<\/p>\n<h6><span>Step 3 &#8211; Restart <\/span>vsftpd service<\/h6>\n<p style=\"margin-top: 20px !important;\">#service vsftpd restart<\/p>\n<h6><span>Step 4 &#8211; How to stop <\/span>vsftpd&nbsp;service<\/h6>\n<p>#service vsftpd stop<\/p>\n<h6>Step 5 &#8211; How to set&nbsp;vsftpd service to start at boot<\/h6>\n<p>#service enable vsftpd<\/p>\n<h6>Step 6 &#8211; How to configure Users home directory<\/h6>\n<p>\u200bOnce you complete installing VSFTPD on your server, you should create the path where to upload your files in your home directory.<\/p>\n<p>Create \u200ba new directory to upload files<\/p>\n<p>mkdir \/home\/fwhuser\/upload\/chown fwhuser:fwhuser \/home\/fwhuser\/upload\/<\/p>\n<h6>Conclusion<\/h6>\n<p>Hope this article helps you, if you have any queries you can comment below. You can order most reliable VPS server at <a href=\"https:\/\/www.fastwebhost.in\/vps-hosting.html\" target=\"_blank\"><strong>FastW\ufeff\ufeffebHos\ufeff\ufeff\ufefft.<\/strong><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction FTP \u2013 File transfer protocol is used to transfer files from one host to another over&nbsp;TCP.&nbsp;There are different types of FTP servers and clients available. Let&#8217;s see installing and configuring VSFTPD FTP server on Linux&nbsp;which is fast and secure. This article gives you an clear idea on how to configure secure, fast FTP on [&hellip;]<\/p>\n","protected":false},"author":8,"featured_media":1317,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[22],"tags":[68,27,67],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts\/1298"}],"collection":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/comments?post=1298"}],"version-history":[{"count":3,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts\/1298\/revisions"}],"predecessor-version":[{"id":4688,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/posts\/1298\/revisions\/4688"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/media\/1317"}],"wp:attachment":[{"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/media?parent=1298"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/categories?post=1298"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fastwebhost.in\/blog\/wp-json\/wp\/v2\/tags?post=1298"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}