{"id":1372,"date":"2011-09-18T11:30:18","date_gmt":"2011-09-18T09:30:18","guid":{"rendered":"http:\/\/www.karadere.com\/blog\/?p=1372"},"modified":"2011-09-18T11:30:18","modified_gmt":"2011-09-18T09:30:18","slug":"ubuntu-ya-vsftpd-ftp-server-kurmak-secure-ftp-kurmak-howto-install-vsftpd-install-secure-ftp-server","status":"publish","type":"post","link":"https:\/\/www.karadere.com\/blog\/ubuntu-ya-vsftpd-ftp-server-kurmak-secure-ftp-kurmak-howto-install-vsftpd-install-secure-ftp-server.html","title":{"rendered":"Ubuntu ya vsftpd ftp server kurmak secure ftp kurmak, Howto install vsftpd install secure ftp server"},"content":{"rendered":"<p><strong>Ubuntu ya vsftpd ftp server kurmak secure ftp kurmak, Howto install vsftpd install secure ftp server<\/strong><\/p>\n<p>ubuntuya kurabilece\u011fimiz open souse baz\u0131 ftp programlar\u0131 a\u015fa\u011f\u0131daki gibidir.<br \/>\n&#8211;\u00a0<strong>proftpd<\/strong> &#8211; Versatile, virtual-hosting FTP daemon<\/p>\n<p>&#8211;\u00a0<strong>vsftpd<\/strong> &#8211; The Very Secure FTP Daemon<\/p>\n<p>&#8211;\u00a0<strong>ftpd<\/strong> &#8211; FTP server<\/p>\n<p>&#8211;\u00a0<strong>wu-ftpd<\/strong> &#8211; powerful and widely used FTP server<\/p>\n<p>&#8211;\u00a0<strong>wzdftpd<\/strong> &#8211; A portable, modular, small and efficient ftp server<\/p>\n<p>&#8211;\u00a0<strong>pure-ftpd<\/strong> &#8211; Pure-FTPd FTP server<\/p>\n<p>burada ben sizlere secure olan vsftpd yi nas\u0131l kuraca\u011f\u0131n\u0131z\u0131 anlataca\u011f\u0131m<\/p>\n<p>[youtube tanll-JM8y8]<\/p>\n<p>[youtube rtHywU7EjVw]<\/p>\n<blockquote><p>vsftpd i \u00e7ok g\u00fcvenli \u00a0dosya transferi ger\u00e7ekle\u015ftiren bir programd\u0131r \u00a0( File Transfer Protocol )<\/p>\n<p>kulland\u0131\u011f\u0131 ayar dosyalar\u0131 :<\/p>\n<p>Default ftp port :\u00a0<strong>21<\/strong><\/p>\n<p>Default configuration file :<strong> <strong>\/etc\/vsftpd.con<\/strong>f<\/strong><\/p><\/blockquote>\n<address> <\/address>\n<address>Asl\u0131nda neden ftp kuruyoruz bundan biraz bahsedeyim \u00a0 ubuntu sistemini bir web sitesi geli\u015ftirmesi veya yay\u0131n\u0131 yapmak yani webserver oalarak hizmet vermesini istiyorsan\u0131z <\/address>\n<address>daha \u00f6nceki php, mysql yaz\u0131lar\u0131m\u0131 okuyabilirsiniz :\u00a0<a href=\"http:\/\/www.karadere.com\/blog\/ubuntu-apache-ve-php-kurulumu-how-to-install-on-apache-and-php-and-mysql.html\">http:\/\/www.karadere.com\/blog\/ubuntu-apache-ve-php-kurulumu-how-to-install-on-apache-and-php-and-mysql.html<\/a><\/address>\n<p>baska bir clienttan dosya atmak i\u00e7in ftp kullanmam\u0131z gerekmektedir.<\/p>\n<h3>ad\u0131m \u00a01: vsftpd kurulumu<\/h3>\n<p><code>$ sudo apt-get install vsftpd<\/code><br \/>\n\u00e7\u0131kt\u0131s\u0131 :<\/p>\n<pre>Password:\nReading package lists... Done\nBuilding dependency tree\nReading state information... Done\nThe following NEW packages will be installed:\n  vsftpd\n0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.\nNeed to get 121kB of archives.\nAfter unpacking 438kB of additional disk space will be used.\nGet:1 http:\/\/us.archive.ubuntu.com edgy\/main vsftpd 2.0.4-0ubuntu5 [121kB]\nFetched 121kB in 0s (246kB\/s)\nSelecting previously deselected package vsftpd.\n(Reading database ... 31396 files and directories currently installed.)\nUnpacking vsftpd (from ...\/vsftpd_2.0.4-0ubuntu5_amd64.deb) ...\nSetting up vsftpd (2.0.4-0ubuntu5) ...\nAdding system user `ftp' with uid 106...\nAdding new user `ftp' (106) with group `nogroup'.\nNot creating home directory `\/home\/ftp'.\n * Starting FTP server: vsftpd<\/pre>\n<h3>Ad\u0131m \u00a02: \u00a0ayarlar\u0131 yapmak \u00a0\/etc\/vsftpd.conf<\/h3>\n<p>The default vsftpd configuration file is \/etc\/vsftpd.conf. You need to edit this file using text editor such as vi:<br \/>\n<code>$ sudo vi \/etc\/vsftpd.conf<\/code><\/p>\n<p>Add the following line (uncomment line) to the vsftpd configuration file:<br \/>\n<code>local_enable=YES<\/code><br \/>\nAbove config directive will allow local users to log in via ftp<\/p>\n<p>If you would like to allow users to upload file, add the following to the file:<br \/>\n<code>write_enable=YES<\/code><\/p>\n<p>For security you may restrict local users to their home directories. Add the following to the file:<br \/>\n<code>chroot_local_user=YES<\/code><\/p>\n<p>Save and close the file.<\/p>\n<h3>Ad\u0131m \u00a03: \u00a0servisi yeniden ba\u015flat\u0131n vsftpd<\/h3>\n<p>To restart vsftpd type the command :<br \/>\n<code>$ sudo \/etc\/init.d\/vsftpd restart<\/code><br \/>\nOutput:<\/p>\n<pre>* Stopping FTP server: vsftpd                                                                                       [ ok ]\n * Starting FTP server: vsftpd                                                                                       [ ok ]<\/pre>\n<h3>How do I use ftp command line utility?<\/h3>\n<p>Now you should be able to FTP to this server with any account that exists on the system except for the root user. From Windows or other Linux system use ftp client, type the command:<br \/>\n<code>$ ftp ftp.nixcraft.in<\/code><br \/>\nOutput:<\/p>\n<pre>Connected to ftp.nixcraft.in.\n220 (vsFTPd 2.0.4)\nName (ftp.nixcraft.in:vivek): vivek\n331 Please specify the password.\nPassword:\n230 Login successful.\nRemote system type is UNIX.\nUsing binary mode to transfer files.\nftp&gt; pwd\n257 \"\/\"\nftp&gt; ls\n200 PORT command successful. Consider using PASV.\n150 Here comes the directory listing.\n-rw-r--r--    1 1000     1000        91798 Aug 16 08:26 apf-current.tar.gz\n-rwxr-xr-x    1 1000     1000          156 Nov 10 07:05 iptables.stop\ndrwxr-xr-x    3 0        0            4096 Dec 23 11:11 postfix\n-rw-r--r--    1 0        0        10481942 Nov 29 23:35 webmin_1.310_all.deb\n226 Directory send OK.\nftp&gt; quit\n221 Goodbye.<\/pre>\n<h3>kullan\u0131lan a\u00e7\u0131k \u00a0FTP port \u00a0iptables (optional)<\/h3>\n<p>Add following rules to your iptables script. Assuming that default incoming policy is drop. If protocol is TCP and destination port is 21 (ftp):<br \/>\n<code>iptables -A INPUT -p tcp -m tcp --dport 21 -j ACCEPT<\/code><br \/>\nSee &#8211;\u00a0<a href=\"http:\/\/www.cyberciti.biz\/faq\/iptables-open-ftp-port-21\/\">How do I open open ftp port 21 using iptables<\/a> for more information.<\/p>\n<p>There are a large number of other configuration options available for vsftpd that can be used to fine tune ftp server. Read vsftpd.conf man page by typing following command:<br \/>\n<code>$ man vsftpd.con<\/code><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>daha fazlas\u0131 i\u00e7in :\u00a0<a href=\"http:\/\/howto.gumph.org\/content\/setup-virtual-users-and-directories-in-vsftpd\/\">http:\/\/howto.gumph.org\/content\/setup-virtual-users-and-directories-in-vsftpd\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu ya vsftpd ftp server kurmak secure ftp kurmak, Howto install vsftpd install secure ftp server<\/p>\n<p>ubuntuya kurabilece\u011fimiz open souse baz\u0131 ftp programlar\u0131 a\u015fa\u011f\u0131daki gibidir.<\/p>\n<p>&#8211; proftpd &#8211; Versatile, virtual-hosting FTP daemon<\/p>\n<p>&#8211; vsftpd &#8211; The Very Secure FTP Daemon<\/p>\n<p>&#8211; ftpd &#8211; FTP server<\/p>\n<p>&#8211; wu-ftpd &#8211; powerful and widely used FTP server<\/p>\n<p>&#8211; wzdftpd &#8211; A portable, modular, small and efficient ftp server<\/p>\n<p>&#8211; pure-ftpd &#8211; Pure-FTPd FTP server<\/p>\n<p>burada ben sizlere secure olan vsftpd yi nas\u0131l kuraca\u011f\u0131n\u0131z\u0131 anlataca\u011f\u0131m <\/p>\n<p>[youtube tanll-JM8y8]<\/p>\n<p>vsftpd i \u00e7ok g\u00fcvenli  dosya transferi ger\u00e7ekle\u015ftiren bir programd\u0131r  ( File Transfer Protocol )<\/p>\n<p>kulland\u0131\u011f\u0131 ayar dosyalar\u0131 :<\/p>\n<p>Default ftp port : 21<\/p>\n<p>           Default configuration file : \/etc\/vsftpd.conf<br \/>\nAsl\u0131nda neden ftp kuruyoruz bundan biraz bahsedeyim   ubuntu sistemini bir web sitesi geli\u015ftirmesi veya yay\u0131n\u0131 yapmak yani webserver oalarak hizmet vermesini istiyorsan\u0131z<br \/>\ndaha \u00f6nceki php, mysql yaz\u0131lar\u0131m\u0131 okuyabilirsiniz<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","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":"","_links_to":"","_links_to_target":""},"categories":[83,59],"tags":[987,1132,1205,1343,2120,2132,2217],"class_list":["post-1372","post","type-post","status-publish","format-standard","hentry","category-php","category-ubuntu","tag-ftp","tag-howto-install-vsftpd-install-secure-ftp-server","tag-install","tag-kurulumu","tag-ubuntu","tag-ubuntu-ya-vsftpd-ftp-server-kurmak-secure-ftp-kurmak","tag-vsftpd","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"views":3070,"_links":{"self":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/1372","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/comments?post=1372"}],"version-history":[{"count":0,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/posts\/1372\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/media?parent=1372"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/categories?post=1372"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.karadere.com\/blog\/wp-json\/wp\/v2\/tags?post=1372"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}