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