How to make FTP settings under Linux

Source: Internet
Author: User

1. Use rpm-qa| First grep vsftpd Command Check whether it is installed, if FTP is not installed, use yum-y install VSFTPD installation, (Ubuntu use Apt-get install vsftpd)


2. Service VSFTPD Start


Start to let FTP start automatically every time you boot, run command: Chkconfig--level vsftpd on


3. Set FTP Permissions


Vi/etc/vsftpd/vsftpd.conf

Change Anonymous_enable=yes to Anonymous_enable=no

ESC back, enter ": Wq" to save and launch


4. Add FTP Account and directory


useradd-d/alidata/www/wwwroot-s/sbin/nologin pwftp

passwd pwftp

Chmod-r 755/alidata/www/wwwroot

Chown-r Pwftp/alidata/www/wwwroot

/ETC/RC.D/INIT.D/VSFTPD restart

Then use your account pwftp password 123456

You can log in to FTP under test. Directory is/alidata/www/wwwroot


How to make FTP settings 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.