Pure-ftp
Pure-ftpd is a popular FTP server that’s widely available. Here, we show you how to set it up on CentOS:
CentOS PureFTP server
you have to get pure-ftpd from rpmforge (directions for enabling that repo above)
yum install pure-ftpd ftp cd /etc/pure-ftpd/ vi pure-ftpd.conf # If you want simple Unix (/etc/passwd) authentication, uncomment this UnixAuthentication yes # If you want to log all client commands, set this to "yes". # This directive can be duplicated to also log server responses. VerboseLog yes # PureDB user database (see README.Virtual-Users) PureDB /etc/pure-ftpd/pureftpd.pdb # Automatically create home directories if they are missing CreateHomeDir yes pure-pwconvert >> pureftpd.passwd adduser test pure-pw useradd test -u test -g test -d /home/test Password: Enter it again: pure-pw mkdb /etc/init.d/pure-ftpd start |
Now try to login to your ftp server like:
# > ftp localhost Trying ::1... Connected to localhost (::1). 220---------- Welcome to Pure-FTPd [privsep] [TLS] ---------- 220-You are user number 1 of 50 allowed. 220-Local time is now 20:33. Server port: 21. 220 You will be disconnected after 15 minutes of inactivity. Name (localhost:unclecameron): test 331 User test OK. Password required Password: 230 OK. Current directory is / Remote system type is UNIX. Using binary mode to transfer files. ftp> |
Write a comment
You need to login to post comments!