pure-ftp配置实例

环境:debian9 (vmware14),pure-ftpd-1.0.47.tar.gz
说明:此次试验采用源码包安装,并安装所有的功能

1,下载源码包

root@wsc-d-saopaulo:/# wget https://download.pureftpd.org/pure-ftpd/releases/pure-ftpd-1.0.47.tar.gz
--2018-02-08 00:46:39--  https://download.pureftpd.org/pure-ftpd/releases/pure-ftpd-1.0.47.tar.gz
正在解析主机 download.pureftpd.org (download.pureftpd.org)... 37.59.238.213
正在连接 download.pureftpd.org (download.pureftpd.org)|37.59.238.213|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:615973 (602K) [text/plain]
正在保存至: “pure-ftpd-1.0.47.tar.gz”

pure-ftpd-1.0.47.tar 100%[=====================>] 601.54K  21.8KB/s    in 19s     

2018-02-08 00:47:00 (31.1 KB/s) - 已保存 “pure-ftpd-1.0.47.tar.gz” [615973/615973])


2.1,解压

root@wsc-d-saopaulo:/home/wang# tar -zxvf pure-ftpd-1.0.47.tar.gz 

2.2,编译

  • 注:
    --prefix是安装的目标目录

--with-eyerything是安装所有功能
--with-rfc2640,此参数UTF-8,gb2312等异构系统的语言集转换

另外如果需要与mysql连接,修改提示语言等还需要在此指定,例如:
--with-mysql=/opt/mysql

--with-language=simplified-chinese

本文不涉及。

root@wsc-d-saopaulo:/home/wang/pure-ftpd-1.0.47# ./configure --prefix=/usr/local/pureftpd --with-everything

等待checking完成,没有报错就行,记得在此之前要安装gcc

config.status: creating config.h
config.status: executing depfiles commands
configure: +--------------------------------------------------------+
configure: | You can subscribe to the Pure-FTPd users mailing-list  |
configure: | to ask for help and to stay informed of new releases.  |
configure: | Go to http://www.pureftpd.org/ml/ now!                 |
configure: +--------------------------------------------------------+
root@wsc-d-saopaulo:/home/wang/pure-ftpd-1.0.47# 

2.3,安装

root@wsc-d-saopaulo:/home/wang/pure-ftpd-1.0.47# make && make install
  • 然后是漫长的等待 。。。

你可能感兴趣的:(pure-ftp配置实例)