Install vsftp under Linux

Source: Internet
Author: User

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
  1. 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.

  2. 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.

  3. 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

  4. 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. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.