FTP 搭建
第一步 关闭防火墙 :service iptables stop
第二步 安装所需依赖和编译工具: yum install -y gcc openssl-devel perl
第三步 下载pureftp: wget https://download.pureftpd.org/pure-ftpd/releases/obsolete/pure-ftpd-1.0.41.tar.gz
第四步 解压:tar -xvjf pure-ftpd-1.0.41.tar.gz ,进入[root@localhost ~]# cd pure-ftp-1.0.41
第五步 进行配置:[root@localhost pure-ftpd-1.0.41]# ./configure --prefix=/usr/local/pureftpd --without-inetd --with-altlog --with-puredb --with-throttling --with-tls
第六步 编译和安装:[root@localhost pure-ftpd-1.0.41]# make && make install
第七步 修改配置文件:
创建目录:[root@localhost pure-ftpd-1.0.41]# mkdir /usr/local/pureftpd/etc
[root@localhost pure-ftpd-1.0.41]# ls
aclocal.m4 config.log contrib INSTALL Makefile.in pureftpd-ldap.conf README.Authentication-Modules README.MySQL stamp-h1
AUTHORS config.status COPYING install-sh man pureftpd-mysql.conf README.Configuration-File README.PGSQL THANKS
ChangeLog configuration-file depcomp m4 missing pureftpd-pgsql.conf README.Contrib README.TLS
compile configure FAQ Makefile NEWS pure-ftpd.png README.Donations README.Virtual-Users
config.h configure.ac gui Makefile.am pam pureftpd.schema README.LDAP README.Windows
config.h.in CONTACT HISTORY Makefile.gui puredb README README.MacOS-X src
[root@localhost pure-ftpd-1.0.41]# cd ./configuration-file/
[root@localhost configuration-file]# ls
Makefile Makefile.am Makefile.in pure-config.pl pure-config.pl.in pure-config.py pure-config.py.in pure-ftpd.conf pure-ftpd.conf.in
[root@localhost configuration-file]# cp pure-ftpd.conf /usr/local/pure-ftpd/etc/
再截个图吧
[root@localhost ~]# wget https://download.pureftpd.org/pure-ftpd/releases/obsolete/pure-ftpd-1.0.41.tar.gz
--2018-05-11 00:26:22-- https://download.pureftpd.org/pure-ftpd/releases/obsolete/pure-ftpd-1.0.41.tar.gz
正在解析主机 download.pureftpd.org... 37.59.238.213
正在连接 download.pureftpd.org|37.59.238.213|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:594637 (581K) [text/plain]
正在保存至: “pure-ftpd-1.0.41.tar.gz”
24% [==============================> ] 146,715 25.2K/s eta(英国中部时27% [=================================> ] 163,099 19.7K/s eta(英国中部时30% [=====================================> ] 179,483 18.6K/s eta(英国中部时32% [========================================> ] 195,867 15.5K/s eta(英国中部时35% [============================================> ] 212,251 15.5K/s eta(英国中部时38% [===============================================> ] 228,635 15.8K/s eta(英国中部时41% [===================================================> ] 245,019 15.7K/s eta(英国中部时43% [======================================================> ] 261,403 14.4K/s eta(英国中部时46% [==========================================================> ] 277,787 14.2K/s eta(英国中部时49% [=============================================================> ] 294,171 13.0K/s eta(英国中部时52% [=================================================================> ] 310,555 12.7K/s eta(英国中部时54% [====================================================================> ] 326,939 12.9K/s eta(英国中部时57% [========================================================================> ] 343,323 13.1K/s eta(英国中部时60% [===========================================================================> ] 359,707 13.4K/s eta(英国中部时63% [===============================================================================> ] 376,091 13.8K/s eta(英国中部时66% [==================================================================================> ] 392,475 13.9K/s eta(英国中部时68% [======================================================================================> ] 408,859 13.9K/s eta(英国中部时71% [=========================================================================================> ] 425,243 11.7K/s eta(英国中部时74% [=============================================================================================> ] 441,627 10.9K/s eta(英国中部时77% [================================================================================================> ] 458,011 8.86K/s eta(英国中部时79% [====================================================================================================> ] 474,395 8.77K/s eta(英国中部时82% [=======================================================================================================> ] 490,779 9.11K/s eta(英国中部时85% [===========================================================================================================> ] 507,163 9.29K/s eta(英国中部时88% [==============================================================================================================> ] 523,547 9.81K/s eta(英国中部时90% [==================================================================================================================> ] 539,931 10.0K/s eta(英国中部时93% [=====================================================================================================================> ] 556,315 9.74K/s eta(英国中部时96% [=========================================================================================================================> ] 572,699 9.64K/s eta(英国中部时99% [============&