?? readme.configuration-file
字號:
Unlike many daemons, Pure-FTPd doesn't read any configuration file (but forLDAP and SQL). Instead, it uses command-line options. For instance, the '-H'flag is designed to speed up highly loaded servers, by avoiding DNS lookups.To enable this, just add it to the server name:/usr/local/sbin/pure-ftpd -HAlternative long options are also supported. Here's an equivalent of theprevious command:/usr/local/sbin/pure-ftpd --dontresolveBut you can use traditional configuration files over command-lineoptions. Adding a parser for configuration files in the server is a badidea. It slows down everything and needs resources for nothing.If you want to use a configuration file with Pure-FTPd, you can, througha wrapper. That wrapper will parse a file and convert it to command-lineoptions. Then, the server will be started with these options.Please have a look at the 'configuration-files' directory. Copy the sampleconfiguration file called 'pure-ftpd.conf' to a suitable location, say /etc:cd configuration-filescp pure-ftpd.conf /etcEdit /etc/pure-ftpd.conf according to your needs.Then, to start the server, just run the following command:chmod 755 pure-config.pl./pure-config.pl /etc/pure-ftpd.confThis is a simple Perl script that will run /usr/local/sbin/pure-ftpd withthe right options, according to the configuration file.And because there's a Python vs. Perl friendly war since ages, we alsoprovide a Python version of this program ('pure-config.py').Should any of these config tools contain a wrong path or fail otherwise,please file a bug report.
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -