Linux installation vsftpd steps

Source: Internet
Author: User

1.yum Install VSFTPD


2.service vsftpd Restart test is installed successfully

Shutting down VSFTPD: [OK]

Starting vsftpd for VSFTPD: [OK]

OK indicates that the restart was successful.


3, Configuration 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

。 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, add boot is no prompt, if not sure if you have joined the boot entry can run chkconfig–list to view.

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.

Userlist_enable=yes Comment out


5. Linux off SELinux


Temporary shutdown (without restarting the machine):

Setenforce 0 # #设置SELinux become permissive mode

# #setenforce 1 set SELinux to become enforcing mode


Modifying the configuration file requires restarting the machine:

Modify the/etc/selinux/config file

Change Selinux=enforcing to Selinux=disabled

Restart the machine


Linux installation vsftpd steps

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.