Install vsftp on centos Linux. If you encounter a card shell multiple times, record

Source: Internet
Author: User

According to http://hi.baidu.com/only8731/item/b971fa127c0dd45b2b3e227e

Rpm-Qa | grep vsftpd check, no results

In fact, it is installed based on http://blog.sina.com.cn/s/blog_a403a0f801010fih.html. you can use chkconfig later.
-List: Nothing is displayed.

During installation, follow the commands on the latter web page.
Run the yum command to install: Yum-y install vsftpd.

After the installation, configure it. To the/etc/vsftpd directory

Because I use root to log on to FTP. Therefore, comment out the root line in ftpusers, and then follow the prompt userlist_deny = No in user_list. The root line here will not be commented out Because userlist_deny = No. Users in this file will not be closed.

Based on the latter, release ascii_upload_enable = yes # Allow upload in ASCII mode
Ascii_download_enable = yes # sets the support for uploading and downloading in ASCII mode.

According to http://zhidao.baidu.com/question/358924230.html

Userlist_enable = No

Still error vsftp 500 Oops: cannot change Directory:/root according to http://www.codesky.net/article/201208/171378.html execution method 2


/Usr/sbin/setsebool-P ftp_home_dir 1. The error message disappears. Method 1: No file is reported, as stated in the document.


When the root user uploads a file, the root user cannot upload the file. 553 cocould not create File
Refer to http://www.2cto.com/ OS /201302/187342.htmlto solve setsebool allow_ftpd_full_access on. Setsebool is used.-PFtpd_disable_trans1. No effect

Related Article

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.