The configuration of the 'User manager for PureFTPd' is completed. Before you can use this user manager in conjunction with the FTP server you must configure PureFTPd. For this goal you have to change two configuration files of PureFTPd. The first one is pure-ftpd.conf , this file contains the main configuration of the FTP server for example: Maximum number of clients or the location of the LOG files. The second one called pureftpd-mysql.conf tells the PureFTPd server how to handle the database. The location of both files is depending on your operation system, for FreeBSD for example this is '/usr/local/etc/'. When you can't find those files you probably still have to copy the two example files of PureFTPd called: pure-ftpd.conf.sample and pureftpd-mysql.conf.sample . In this step we will tell you how configure those two files so that the PureFTPd server and this user manager can work together with the same database. | ||
Step A) | ||
Edit the configuration file pure-ftpd.conf
and make sure that following line with the attribute 'MySQLConfigFile'
is enabled and points to the right location.
# MySQL configuration file (see README.MySQL) | ||
Step B) | ||
The entire content for the file pureftpd-mysql.conf
you can find below, just copy and past the content to a new pureftpd-mysql.conf
file. The red color text marks the changes that are made based on
the values you choused in step 4 of this configuration process. | ||
############################################################################ | ||
Step C) | ||
Start or restart your FTP server to activate those changes. |
pure-ftp
最新推荐文章于 2025-08-08 14:10:14 发布