Linux 5 minutes to build the FTP server

Source: Internet
Author: User

This article is about Linux under the simple and rapid construction of the FTP server environment.

1, SSH login server (I use Xshell)

2. Yum Installation vsftpd

Execute command: Yum install vsftpd

3, modify the configuration, increase boot start

Modify configuration: Vi/etc/vsftpd/vsftpd.conf Set the value of Anonymous_enable=yes to No, anonymous users are not allowed to log on,

Increased boot start, command: Chkconfig–level vsftpd on

4. Add FTP user, and set password

Command: Useradd sunne-s/sbin/nologin-d/www which sunne for FTP account,/www for FTP to specify directory path, run this command and then enter passwd Sunne after entering two times password can be

5. Set permissions for the FTP specified directory created

Command: chmod 777 www where www is the FTP directory created

6. Start the FTP service

Command: Service vsftpd start

Additional commands: Stop FTP command service vsftpd stop restart FTP command service vsftpd restart

7, simple test in the browser address bar input ftp://your server IP

Build an FTP server 5 minutes 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.