Vsftp
Introduction : Vsftp is a GPL-based UNIX-like system used on the use of the FTP server software, its full name is very secure FTP from the names can be seen, the original intention of the creator is the security of the code. Security is the original intention of writing vsftp, in addition to the inherent safety features, high speed and high stability is also two important characteristics of vsftp. In terms of speed, when downloading data using ASCII code mode, the speed of vsftp is twice times that of Wu-ftp, and if the Linux host uses the 2.4.* kernel, the download speed on Gigabit Ethernet can be up to 86mb/s. In terms of stability, vsftp is even better, vsftp support more than 4,000 concurrent users on a single machine (non-clustered) simultaneously, according to Red Hat's FTP server data, the VSFTP server can support 15,000 concurrent users
Configuration process:
First Note: (1) Set firewall rules, allow ports 21 and 20th, command:
Iptables-a input-p tcp-m TCP--dport 21-j ACCEPT
Iptables-a input-p tcp-m TCP--dport 20-j ACCEPT
Or just turn off the firewall. Command is:service iptables Stop
(2) Turn off SELinux, order:Setenforce 0
Step One: Install VSFTP on the server
Yum Install vsftp*-y
Step Two: Modify the configuration file
Vim/etc/vsftpd/vsftpd.conf
Fix it: anonymous_enable=no (default is yes)
{Here you can test first, make sure this is the case before testing: anonymous_enable=yes This time the vsftp can be accessed (input on the Explorer: ftp://192.168.1.3 Enter to
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M00/82/FC/wKioL1dn3fjyoJ3oAAB3VIXBMvo682.jpg-wh_500x0-wm_3 -wmp_4-s_4221072690.jpg "title=" 1.jpg "alt=" Wkiol1dn3fjyoj3oaab3vixbmvo682.jpg-wh_50 "/>
650) this.width=650; "Src=" Http://s2.51cto.com/wyfs02/M01/82/FC/wKioL1dn3g3iLh2SAAAmpnPNkqM814.jpg-wh_500x0-wm_3 -wmp_4-s_1599253853.jpg "title=" 2.jpg "alt=" Wkiol1dn3g3ilh2saaampnpnkqm814.jpg-wh_50 "/>
After the test, please change to: Userlist_enable=no (default is yes) This means that users are not allowed to access the user list.
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/82/FC/wKioL1dn4u2wojJkAAAhgkXmUag124.jpg-wh_500x0-wm_3 -wmp_4-s_1020663729.jpg "title=" 5.jpg "alt=" Wkiol1dn4u2wojjkaaahgkxmuag124.jpg-wh_50 "/>
Step three: Create a user userftp password userftp
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/82/FC/wKioL1dn3qrxpKcoAABVag5r64s661.jpg-wh_500x0-wm_3 -wmp_4-s_2042243539.jpg "title=" 3.jpg "alt=" Wkiol1dn3qrxpkcoaabvag5r64s661.jpg-wh_50 "/>
Step four: Edit user_list (the userlist mentioned above) file, allowing USERFTP users to access FTP;
Vim User_list
Add Userftp users,
650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/82/FD/wKiom1dn4HvB3hwRAAB3v5MRi4c695.jpg-wh_500x0-wm_3 -wmp_4-s_3008246260.jpg "title=" 4.jpg "alt=" Wkiom1dn4hvb3hwraab3v5mri4c695.jpg-wh_50 "/>
Step five: Recommend userftp the user's home directory and set permissions.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/82/FC/wKioL1dn5XKwEsinAAAhFny-FPw943.jpg "style=" float: none; "title=" 6.jpg "alt=" Wkiol1dn5xkwesinaaahfny-fpw943.jpg "/>
650) this.width=650; "src=" http://s4.51cto.com/wyfs02/M02/82/FD/wKiom1dn5XPQf3sEAAAOFPeqwqI368.jpg "style=" float: none; "title=" 7.jpg "alt=" Wkiom1dn5xpqf3seaaaofpeqwqi368.jpg "/>
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M00/82/FC/wKioL1dn5YCA7tKSAADmKjA1gZs306.jpg-wh_500x0-wm_3 -wmp_4-s_2221077610.jpg "title=" 8.jpg "alt=" Wkiol1dn5yca7tksaadmkja1gzs306.jpg-wh_50 "/>
Step Six: Restart the VSFTP server and set the self-boot.
Service VSFTPD Restart
Chkconfig vsftpd on
Step Seven: Landing test
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/82/FC/wKioL1dn5svT8jPUAABpGnvgJxQ249.jpg-wh_500x0-wm_3 -wmp_4-s_3204406539.jpg "title=" 10.jpg "alt=" Wkiol1dn5svt8jpuaabpgnvgjxq249.jpg-wh_50 "/>
650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M02/82/FD/wKiom1dn6LmyZdHBAACCFCKSyNM866.jpg-wh_500x0-wm_3 -wmp_4-s_2802106032.jpg "title=" qq20160620190153.jpg "alt=" Wkiom1dn6lmyzdhbaaccfcksynm866.jpg-wh_50 "/>
This article is from the "Li Xiaodong" blog, make sure to keep this source http://lixiaodong2016.blog.51cto.com/11693292/1791169
Teach you to configure Vsftp server under Linux (for example, CentOS)--Very detailed