The FTP server (file Transfer Protocol server) is a computer that provides files storage and access services on the Internet, and they provide services in accordance with the FTP protocol. The FTP is the file Transfer Protocol ( Files Transfer Protocol ). As the name implies, is the protocol dedicated to transferring files. Simply put, a server that supports the FTP protocol is an FTP server.
Currently open source operating system commonly used FTP server programs are: VSFTPD, ProFTPD, PUREFTPD, etc., I am using the vsftpd to build
1, VSFTPD Installation
#yum Install vsftpd*-y
2, edit vsftpd configuration file General Service configuration files are under the/etc directory and end with. conf
# Find/etc-name vsftpd.conf//Find configuration file
# vi/etc/vsftpd/vsftpd.conf
Anonymous_enable=no//Prohibit anonymous user access
Local_enable=yes//Allow local users to log in to FTP
Write_enable=yes//Allow user to write permissions in FTP directory
local_umask=022//Set local user's file generation mask to 022 default is 077
Dirmessage_enable=yes//Activate directory information when a remote user changes directory is a prompt message appears
Xferlog_enable=yes//enable upload and download log function
Connect_from_port_20=yes//Enable connection requests for FTP data ports
Xferlog_std_format=yes//whether to use standard ftpd xferlog log files
Listen=yes//Enable VSFTPD to be in standalone boot listening port mode
PAM_SERVICE_NAME=VSFTPD//Set PAM Authentication service profile name, file stored in/etc/pam.d/directory
Userlist_enable=yes//Whether users in the user list are allowed to log in to the FTP server, default is not allowed
Tcp_wrappers=yes//using Tcp_wrappers as host access control mode
3. Create user
# Useradd Ftptest
# passwd Ftptest
4. Access the FTP server
Access ftp://192.168.1.90 in your computer resources enter your username and password.
This article is from the "icemin" blog, make sure to keep this source http://icemin.blog.51cto.com/11581342/1790269
FTP Server Setup under Linux