Http://jingyan.baidu.com/article/adc815133476bdf723bf7393.html
Linux installation vsftpd is a technical work, but after mastering the method, everything becomes very simple. This article takes CentOS 6.3 as the configuration environment for VSFTPD installation. Command Yum install VSFTPD
Method/Step
Download VSFTPD
The traditional installation software under Linux is to download the tar.gz installation package, or the RPM installation package, and then compile it after decompression, or install it with the Rpm-i command. The process is more cumbersome, in fact, there is a more straightforward way is to use the Yum command to install online, support almost all common software, it is the benefit of reading the list of multiple mirror servers in the latest version, all fool operation.
The benefits of the Yum command have been demonstrated, when the installation command is finished, the first time to read the resources from the server, and then select the installation package, and finally the user decide whether to install, here we press Y to confirm the installation. When "complete!" appears means that the installation is complete.
It is important to note that, in Linux, the system is strictly sensitive to case, such as ABC and ABC are completely different characters, pay special attention to.
Configure VSFTPD
After installation, we need to configure it for normal use. Edit the VSFTPD configuration file vi/etc/vsftpd/vsftpd.conf
The search mission in the VI editor is a slash "/", then enter what you want to find, and the carriage return is OK. Here are the options to change
Anonymous_enable=no #禁止匿名访问
Ascii_upload_enable #允许使用ascii码上传
Ascii_download_enable #允许使用ascii码下载
Userlist_deny=no # (This need to be added manually to the end) using the FTP user table, no user in the table needs to be added to log in
After Setup is complete, ESC, colon Wq enter. Start the VSFTPD service/etc/init.d/vsftpd start and see [OK] to start successfully.
Just start up not yet, and add it to boot auto start, chkconfig vsftpd on
Adding boot is not a hint, if you are unsure whether you have joined the boot entry you can run chkconfig–list to view it.
Add users to it after installation and configuration to use, here to add users Baidu as an example. Useradd Baidu Enter, and then for Baidu This user add password passwd Baidu, will be prompted to enter the password two times. We then add the Baidu user to the FTP user table. Vi/etc/vsftpd/user_list, the other initial users to delete all, add just our new Baidu user.
- 5
Linux off SELinux
Then reboot restart the Linux server.
I use the FLASHFXP client software connection until the user home directory (typically located in the/home/user name) appears, and the VSFTPD is installed and running successfully. Then you can upload and download the file.
Install vsftp under Linux