How to setup ProFTPD on SSD VPS CentoS


yum -y install proftpd
chkconfig proftpd on setting startup

Install proftpd

Profile directory /usr/local/proftpd/etc/proftpd.conf

Add Group and user names

grouped ftpgroup group useradd ftpuser -g ftpgroup -d /home/ftp -s /sbin/nologin add users (/home/FTP is the upload directory) passed liu modifying user passwords

Modify the configuration file:

Changed to nobody Group nogroup

Start the service


If you want to add a virtual MySQL database user authentication (this piece also do not really understand, write know these) Note to install proftpd uses the following commands:

With-includes – points to the MySQL header files, – the library file with-libraries to MySQL

Setup encountered the error:

Location of this file in /apps/svr/mysql5/lib below, all can build a flexible connectionln -s /apps/svr/mysql5/lib/ /usr/lib/ in the implementation of the above commands, I seem to not yet, I just copy this file to /apps/svr/mysql5/bin this can be

Note: after configuring the proftpd.conf to kill off proftpd, restart the directory service configuration will not take effect until proftpd user group /etc/group user /etc/passwd deleting users user del username