How to build an ftp server in centos

Source: Internet
Author: User
Tags ftp client
How to set up an ftp server in centos 1. check whether vsftprpm & amp; ndash; qa | grepvsftpd has been installed with the vsftpd-2.0.5-16.el5_5.1 if a vsftpyum-yinstallvsftpd2 appears. test whether the installation is successful (change the ip address to your own ,... how to set up an ftp server in centos 1. check whether vsftprpm-qa | grepvsftpd is installed. if a vsftpd-2.0.5-16.el5_5.1 appears, it indicates that vsftp has been installed and vsftpyum-y install vsftpd2. test whether the installation is successful (change ip address to yourself, do not use your logon as anonymous logon user: The anonymous password is blank. if you log on successfully, the following content will be displayed, indicating that vsftpd is successfully installed.) [root @ localhost ~] # Service vsftpd start vsftpd: [OK] 3. try ftp localhost4. if the ftp command not found is reported, it means that you have only installed ftpserver and have not installed the ftp client. Therefore, install yum install-y ftp after installation. 5. try ftp localhost again and enter the user name and password page. if the data user name and password are returned with the following error message: 500 OOPS: cannot change directory, SELinux does not support ftp by default. To enable the support function, perform the following operations: 5.1 View SELinux settings # getsebool-a | grepftp found strong-> off or ftp_home_dir-> off 5.2 use the setsebool command to enable # setsebool enabled or # setsebool ftp_home_dir 1 5.3 check whether the current status is on status # getsebool-a | grep ftp ftpd_disable_trans-> on or ftp_home_dir-> on5.4 restart at last # service vsftpd restart6. now OK
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.