Linux Installation FTP

Source: Internet
Author: User

1. Use the Rpm-qa|grep vsftpd command to check if the installation is already installed, if FTP is not installed, using the Yum install-y vsftpd.

2. Start:/ETC/INIT.D/VSFTPD start

Boot:chkconfig--level vsftpd on

3. Set FTP Permissions

Vi/etc/vsftpd/vsftpd.conf

Change the anonymous_enable=yes to Anonymous_enable=no;

Turn off SELinux (modify/etc/selinux/config file, set selinux= disabled, restart) or

Setsebool-p Ftp_home_dir on and then shipped/ETC/INIT.D/VSFTPD start

Otherwise the error "Oops:cannot change directory" will be reported.

4. Add FTP Account and directory

Useradd-s/sbin/nologin FTP2 [You can specify the user's home directory using-d]

passwd FTP2

Chmod-r 755/home/pwftp

5. Log in with your account FTP2 ftp:
1) If login on Windows, enter the FTP://IP address in the Address bar, enter the account number and password;

2) in Linux access to FTP needs to install the FTP package, and then enter the FTP IP address, enter the account and password;


Linux Installation FTP

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.