CentOS How to quickly deploy (VSFTPD) FTP server

Source: Internet
Author: User

In the previous time study encountered many problems, there is no time to record. This article is about Linux CentOS deployment of FTP server. A Web server, in addition to allowing the site to run also requires FTP. directly into the subject

Demo Environment

Linux CentOS 6.2 x64 +VSFTPD

First, log into your system, remember to use the root account

Second, the installation

#yum Install vsftpd-y/y is indicated when agreeing to install

Third, open the service
#service vsftpd Restart/Restart VSFTPD service The first time you turn on the service will have a red tip, do not care. The second reboot will have two green OK.

So the FTP server is deployed

The following are the optimization aspects of
The configuration file for the VSFTPD server is: vi/etc/vsftpd/vsftpd.conf

-----------------------------
1. #vi/etc/vsftpd/vsftpd.conf/Edit vsftpd configuration file
2,/chroot_local_user=yes/Enter the editing state www.111cn.net Press/enter Chroot_local_user=yes for retrieval
3, the #chroot_local_user=yes of the # removed (can be edited by i)
4, Service vsftpd restart
The above three actions are for FTP to prevent users from returning to the previous level of directory permissions.

5, new user #/usr/sbin/adduser-d/webserver/web000-g ftp-s/sbin/nologin ftp000

/FTP000 is the new FTP user name

/webserver/web000 is the directory address where ftp000 is going.
6, Set password #passwd ftp000/Set password, password can right click Copy
7, plus permission #chmod 777/webserver/web000

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.