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% [============================================================================================================================>  ] 589,083     8.36K/s eta(英国中部时100%[==============================================================================================================================>] 594,637     7.92K/s eta(英国中部时100%[==============================================================================================================================>] 594,637     7.92K/s   in 58s2018-05-11 00:27:22 (9.97 KB/s) - 已保存 “pure-ftpd-1.0.41.tar.gz” [594637/594637])[root@localhost ~]# cd pure-ftp-1.0.41
-bash: cd: pure-ftp-1.0.41: 没有那个文件或目录
[root@localhost ~]# cd pure-ftpd-1.0.41
[root@localhost pure-ftpd-1.0.41]# l^C
[root@localhost pure-ftpd-1.0.41]#  ./configure --prefix=/usr/local/pureftpd --withou                                                                                    t-inetd --with-altlog --with-puredb --with-throttling --with-tls
configure: error: unrecognized option: `--withou'
Try `./configure --help' for more information
[root@localhost pure-ftpd-1.0.41]# ^C
[root@localhost pure-ftpd-1.0.41]#  ./configure --prefix=/usr/local/pureftpd --without-inetd --with-altlog --with-puredb --with-throttling --with-tls
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '0' is supported by ustar format... yes
checking whether GID '0' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for library containing strerror... none required
checking whether C compiler accepts -fPIC... yes
checking whether the linker accepts -fPIC... yes
checking whether C compiler accepts -fPIE... yes
checking whether the linker accepts -fPIE... yes
checking whether the linker accepts -pie... yes
checking whether C compiler accepts -fwrapv... yes
checking whether C compiler accepts -fno-strict-aliasing... yes
checking whether C compiler accepts -fno-strict-overflow... yes
checking whether C compiler accepts -fstack-protector-all... yes
checking whether the linker accepts -fstack-protector-all... yes
checking whether C compiler accepts -Winit-self... yes
checking whether C compiler accepts -Wwrite-strings... yes
checking whether C compiler accepts -Wdiv-by-zero... yes
checking whether C compiler accepts -Wall... yes
checking whether C compiler accepts  -Wall -Wextra... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum... yes
checking whether C compiler accepts  -Wall -Wextra -Wbad-function-cast -Wcast-align -Wcast-qual -Wchar-subscripts -Wcomment -Wfloat-equal -Wformat=2 -Wimplicit -Wmissing-declarations -Wmissing-prototypes -Wnormalized=id -Woverride-init -Wparentheses -Wpointer-arith -Wredundant-decls -Wstrict-prototypes -Wswitch-enum -Wvariable-decl... no
checking whether the linker accepts -Wl,-z,relro... yes
checking whether the linker accepts -Wl,-z,now... yes
checking whether the linker accepts -Wl,-z,noexecstack... yes
checking for perl... /usr/bin/perl
checking for python... /usr/bin/python
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... no
checking whether time.h and sys/time.h may both be included... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking ioctl.h usability... no
checking ioctl.h presence... no
checking for ioctl.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/sendfile.h usability... yes
checking sys/sendfile.h presence... yes
checking for sys/sendfile.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdint.h... (cached) yes
checking netinet/in_systm.h usability... yes
checking netinet/in_systm.h presence... yes
checking for netinet/in_systm.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/mount.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/loadavg.h usability... no
checking sys/loadavg.h presence... no
checking for sys/loadavg.h... no
checking sys/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking security/pam_appl.h usability... no
checking security/pam_appl.h presence... no
checking for security/pam_appl.h... no
checking security/pam_misc.h usability... no
checking security/pam_misc.h presence... no
checking for security/pam_misc.h... no
checking security/pam_modules.h usability... no
checking security/pam_modules.h presence... no
checking for security/pam_modules.h... no
checking security/pam_filter.h usability... no
checking security/pam_filter.h presence... no
checking for security/pam_filter.h... no
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking pam/pam_misc.h usability... no
checking pam/pam_misc.h presence... no
checking for pam/pam_misc.h... no
checking pam/pam_modules.h usability... no
checking pam/pam_modules.h presence... no
checking for pam/pam_modules.h... no
checking pam/pam_filter.h usability... no
checking pam/pam_filter.h presence... no
checking for pam/pam_filter.h... no
checking sgtty.h usability... yes
checking sgtty.h presence... yes
checking for sgtty.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking io.h usability... no
checking io.h presence... no
checking for io.h... no
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking openssl/ssl.h usability... yes
checking openssl/ssl.h presence... yes
checking for openssl/ssl.h... yes
checking openssl/ec.h usability... yes
checking openssl/ec.h presence... yes
checking for openssl/ec.h... yes
checking CoreFoundation/CoreFoundation.h usability... no
checking CoreFoundation/CoreFoundation.h presence... no
checking for CoreFoundation/CoreFoundation.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking POSIX termios... yes
checking whether byte ordering is bigendian... no
checking return type of signal handlers... void
checking for size_t... yes
checking for ssize_t... yes
checking for uid_t in sys/types.h... yes
checking for pid_t... yes
checking for off_t... yes
checking for mode_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for struct tm.tm_gmtoff... yes
checking whether timezone is scalar... yes
checking for nlink_t... yes
checking for dev_t... yes
checking for ino_t... yes
checking size of short... 2
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of mode_t... 4
checking for connect... yes
checking for gethostbyname... yes
checking for gethostbyname... (cached) yes
checking for sendfile in -lsendfile... no
checking for socklen_t... yes
checking for in_port_t... yes
checking for sig_atomic_t... yes
checking whether gcc needs -traditional... no
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking if malloc debugging is wanted... no
checking for cap_init in -lcap... no
checking for getspnam... yes
checking whether syslog names are available... yes
checking whether struct addrinfo is defined... yes
checking whether sin_len is defined... no
checking whether __ss_family is defined... no
checking whether ss_len is defined... no
checking whether __ss_len is defined... no
checking if a linuxish sendfile is available... yes
checking if a linuxish sendfile64 is available... yes
checking if a freebsdish sendfile is available... no
checking if a hpuxish sendfile is available... no
checking for sendfilev... no
checking for sendfilev in -lsendfile... no
checking if a solarisish sendfilev is available... no
checking for crypt in -lcrypt... yes
checking for crypto_pwhash_scryptsalsa208sha256_str in -lsodium... no
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for utime.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking for working memcmp... yes
checking for strftime... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking for locale.h... (cached) yes
checking for unistd.h... (cached) yes
checking mach/mach.h usability... no
checking mach/mach.h presence... no
checking for mach/mach.h... no
checking for fcntl.h... (cached) yes
checking for setlocale... yes
checking for getloadavg... yes
checking for pstat_getdynamic... no
checking for kstat_open in -lkstat... no
checking for getloadavg... yes
checking whether getloadavg requires setgid... no
checking type of array argument to getgroups... gid_t
checking for getgroups... yes
checking for working getgroups... yes
checking for wait3 that fills in rusage... yes
checking whether utime accepts a null argument... yes
checking for working strtod... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for alarm... yes
checking for working mktime... yes
checking whether lstat accepts an empty string... no
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for error_at_line... yes
checking whether closedir returns void... no
checking for unistd.h... (cached) yes
checking for working chown... yes
checking for working volatile... yes
checking for initgroups... yes
checking for setrlimit... yes
checking for waitpid... yes
checking for setproctitle... no
checking for getopt_long... yes
checking for seteuid... yes
checking for setreuid... yes
checking for setresuid... yes
checking for setegid... yes
checking for setregid... yes
checking for setresgid... yes
checking for statvfs... yes
checking for statfs... yes
checking for putenv... yes
checking for setenv... yes
checking for unsetenv... yes
checking for getpagesize... (cached) yes
checking for realpath... yes
checking for pread... yes
checking for posix_fadvise... yes
checking for ptrace... yes
checking for strtoull... yes
checking for strtoq... yes
checking for strlcpy... no
checking for strlcat... no
checking for memset... yes
checking for munmap... yes
checking for strdup... yes
checking for fileno... yes
checking for mapviewoffile... no
checking for madvise... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for setusershell... yes
checking for setgroups... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vfprintf... yes
checking for gethostname... yes
checking for setlocale... (cached) yes
checking for timegm... yes
checking for tzset... yes
checking for utime... yes
checking for utimes... yes
checking for mknod... yes
checking for mkfifo... yes
checking for random... yes
checking for srandomdev... no
checking for arc4random... no
checking for arc4random_stir... no
checking for arc4random_addrandom... no
checking for closefrom... no
checking for explicit_bzero... no
checking whether statvfs64() is defined... yes
checking whether snprintf is C99 conformant... done
checking whether getgroups 0 is sane... yes
checking whether realpath likes unreadable directories... yes
checking whether you already have a standard MD5 implementation... no
checking whether you already have a standard SHA1 implementation... no
checking whether we are inside a Virtuozzo virtual host... no
checking default TCP send buffer size... 16384
checking default TCP receive buffer size... 87380
checking for DH_new in -lcrypto... yes
checking for SSL_accept in -lssl... yes
configure: You have /dev/urandom - Great
configure: You have /dev/random - Great
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating pam/Makefile
config.status: creating man/Makefile
config.status: creating gui/Makefile
config.status: creating configuration-file/Makefile
config.status: creating contrib/Makefile
config.status: creating m4/Makefile
config.status: creating configuration-file/pure-ftpd.conf
config.status: creating configuration-file/pure-config.pl
config.status: creating configuration-file/pure-config.py
config.status: creating puredb/Makefile
config.status: creating puredb/src/Makefile
config.status: creating man/pure-ftpd.8
config.status: creating man/pure-ftpwho.8
config.status: creating man/pure-mrtginfo.8
config.status: creating man/pure-uploadscript.8
config.status: creating man/pure-statsdecode.8
config.status: creating man/pure-quotacheck.8
config.status: creating man/pure-pw.8
config.status: creating man/pure-pwconvert.8
config.status: creating man/pure-authd.8
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@localhost pure-ftpd-1.0.41]# ^C
[root@localhost pure-ftpd-1.0.41]#  make && make  install
make  all-recursive
make[1]: Entering directory `/root/pure-ftpd-1.0.41'
Making all in puredb
make[2]: Entering directory `/root/pure-ftpd-1.0.41/puredb'
Making all in src
make[3]: Entering directory `/root/pure-ftpd-1.0.41/puredb/src'
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT puredb_read.o -MD -MP -MF .deps/puredb_read.Tpo -c -o puredb_read.o puredb_read.c
mv -f .deps/puredb_read.Tpo .deps/puredb_read.Po
rm -f libpuredb_read.a
ar cru libpuredb_read.a puredb_read.o
ranlib libpuredb_read.a
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT puredb_write.o -MD -MP -MF .deps/puredb_write.Tpo -c -o puredb_write.o puredb_write.c
mv -f .deps/puredb_write.Tpo .deps/puredb_write.Po
rm -f libpuredb_write.a
ar cru libpuredb_write.a puredb_write.o
ranlib libpuredb_write.a
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT example_read.o -MD -MP -MF .deps/example_read.Tpo -c -o example_read.o example_read.c
mv -f .deps/example_read.Tpo .deps/example_read.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o example_read example_read.o libpuredb_read.a -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT example_write.o -MD -MP -MF .deps/example_write.Tpo -c -o example_write.o example_write.c
mv -f .deps/example_write.Tpo .deps/example_write.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o example_write example_write.o libpuredb_write.a -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I../..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT regression.o -MD -MP -MF .deps/regression.Tpo -c -o regression.o regression.c
mv -f .deps/regression.Tpo .deps/regression.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o regression regression.o libpuredb_read.a libpuredb_write.a -lssl -lcrypto -lcrypt
make[3]: Leaving directory `/root/pure-ftpd-1.0.41/puredb/src'
make[3]: Entering directory `/root/pure-ftpd-1.0.41/puredb'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/root/pure-ftpd-1.0.41/puredb'
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/puredb'
Making all in src
make[2]: Entering directory `/root/pure-ftpd-1.0.41/src'
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-altlog.o -MD -MP -MF .deps/libpureftpd_a-altlog.Tpo -c -o libpureftpd_a-altlog.o `test -f 'altlog.c' || echo './'`altlog.c
mv -f .deps/libpureftpd_a-altlog.Tpo .deps/libpureftpd_a-altlog.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-alt_arc4random.o -MD -MP -MF .deps/libpureftpd_a-alt_arc4random.Tpo -c -o libpureftpd_a-alt_arc4random.o `test -f 'alt_arc4random.c' || echo './'`alt_arc4random.c
mv -f .deps/libpureftpd_a-alt_arc4random.Tpo .deps/libpureftpd_a-alt_arc4random.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-bonjour.o -MD -MP -MF .deps/libpureftpd_a-bonjour.Tpo -c -o libpureftpd_a-bonjour.o `test -f 'bonjour.c' || echo './'`bonjour.c
mv -f .deps/libpureftpd_a-bonjour.Tpo .deps/libpureftpd_a-bonjour.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-bsd-glob.o -MD -MP -MF .deps/libpureftpd_a-bsd-glob.Tpo -c -o libpureftpd_a-bsd-glob.o `test -f 'bsd-glob.c' || echo './'`bsd-glob.c
mv -f .deps/libpureftpd_a-bsd-glob.Tpo .deps/libpureftpd_a-bsd-glob.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-bsd-realpath.o -MD -MP -MF .deps/libpureftpd_a-bsd-realpath.Tpo -c -o libpureftpd_a-bsd-realpath.o `test -f 'bsd-realpath.c' || echo './'`bsd-realpath.c
mv -f .deps/libpureftpd_a-bsd-realpath.Tpo .deps/libpureftpd_a-bsd-realpath.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-bsd-getopt_long.o -MD -MP -MF .deps/libpureftpd_a-bsd-getopt_long.Tpo -c -o libpureftpd_a-bsd-getopt_long.o `test -f 'bsd-getopt_long.c' || echo './'`bsd-getopt_long.c
mv -f .deps/libpureftpd_a-bsd-getopt_long.Tpo .deps/libpureftpd_a-bsd-getopt_long.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-caps.o -MD -MP -MF .deps/libpureftpd_a-caps.Tpo -c -o libpureftpd_a-caps.o `test -f 'caps.c' || echo './'`caps.c
mv -f .deps/libpureftpd_a-caps.Tpo .deps/libpureftpd_a-caps.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-crypto.o -MD -MP -MF .deps/libpureftpd_a-crypto.Tpo -c -o libpureftpd_a-crypto.o `test -f 'crypto.c' || echo './'`crypto.c
mv -f .deps/libpureftpd_a-crypto.Tpo .deps/libpureftpd_a-crypto.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-crypto-md5.o -MD -MP -MF .deps/libpureftpd_a-crypto-md5.Tpo -c -o libpureftpd_a-crypto-md5.o `test -f 'crypto-md5.c' || echo './'`crypto-md5.c
mv -f .deps/libpureftpd_a-crypto-md5.Tpo .deps/libpureftpd_a-crypto-md5.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-crypto-sha1.o -MD -MP -MF .deps/libpureftpd_a-crypto-sha1.Tpo -c -o libpureftpd_a-crypto-sha1.o `test -f 'crypto-sha1.c' || echo './'`crypto-sha1.c
mv -f .deps/libpureftpd_a-crypto-sha1.Tpo .deps/libpureftpd_a-crypto-sha1.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-daemons.o -MD -MP -MF .deps/libpureftpd_a-daemons.Tpo -c -o libpureftpd_a-daemons.o `test -f 'daemons.c' || echo './'`daemons.c
mv -f .deps/libpureftpd_a-daemons.Tpo .deps/libpureftpd_a-daemons.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-diraliases.o -MD -MP -MF .deps/libpureftpd_a-diraliases.Tpo -c -o libpureftpd_a-diraliases.o `test -f 'diraliases.c' || echo './'`diraliases.c
mv -f .deps/libpureftpd_a-diraliases.Tpo .deps/libpureftpd_a-diraliases.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-dynamic.o -MD -MP -MF .deps/libpureftpd_a-dynamic.Tpo -c -o libpureftpd_a-dynamic.o `test -f 'dynamic.c' || echo './'`dynamic.c
dynamic.c: 在函数‘iptrack_find_ip_or_shift’中:
dynamic.c:47: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:50: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:50: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:50: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:50: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c: 在函数‘iptrack_get’中:
dynamic.c:78: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:81: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:81: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:81: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
dynamic.c:81: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
mv -f .deps/libpureftpd_a-dynamic.Tpo .deps/libpureftpd_a-dynamic.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-fakesnprintf.o -MD -MP -MF .deps/libpureftpd_a-fakesnprintf.Tpo -c -o libpureftpd_a-fakesnprintf.o `test -f 'fakesnprintf.c' || echo './'`fakesnprintf.c
mv -f .deps/libpureftpd_a-fakesnprintf.Tpo .deps/libpureftpd_a-fakesnprintf.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-fakechroot.o -MD -MP -MF .deps/libpureftpd_a-fakechroot.Tpo -c -o libpureftpd_a-fakechroot.o `test -f 'fakechroot.c' || echo './'`fakechroot.c
mv -f .deps/libpureftpd_a-fakechroot.Tpo .deps/libpureftpd_a-fakechroot.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-ftp_parser.o -MD -MP -MF .deps/libpureftpd_a-ftp_parser.Tpo -c -o libpureftpd_a-ftp_parser.o `test -f 'ftp_parser.c' || echo './'`ftp_parser.c
mv -f .deps/libpureftpd_a-ftp_parser.Tpo .deps/libpureftpd_a-ftp_parser.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-ftpd.o -MD -MP -MF .deps/libpureftpd_a-ftpd.Tpo -c -o libpureftpd_a-ftpd.o `test -f 'ftpd.c' || echo './'`ftpd.c
ftpd.c: 在函数‘checkvalidaddr’中:
ftpd.c:537: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:538: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:538: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:538: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:538: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:543: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:544: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:545: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:546: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:547: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c: 在函数‘addrcmp’中:
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:584: 警告:传递‘storage_sin_addr6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:117: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:593: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c:593: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
ftpd.c: 在函数‘douser’中:
ftpd.c:1462: 警告:忽略声明有 warn_unused_result 属性的‘nice’的返回值
ftpd.c: 在函数‘dopass’中:
ftpd.c:1865: 警告:忽略声明有 warn_unused_result 属性的‘nice’的返回值
ftpd.c: 在函数‘updatepidfile’中:
ftpd.c:5236: 警告:忽略声明有 warn_unused_result 属性的‘ftruncate’的返回值
ftpd.c: 在函数‘accept_client’中:
ftpd.c:5330: 警告:忽略声明有 warn_unused_result 属性的‘write’的返回值
ftpd.c:5346: 警告:忽略声明有 warn_unused_result 属性的‘write’的返回值
mv -f .deps/libpureftpd_a-ftpd.Tpo .deps/libpureftpd_a-ftpd.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-ftpwho-update.o -MD -MP -MF .deps/libpureftpd_a-ftpwho-update.Tpo -c -o libpureftpd_a-ftpwho-update.o `test -f 'ftpwho-update.c' || echo './'`ftpwho-update.c
mv -f .deps/libpureftpd_a-ftpwho-update.Tpo .deps/libpureftpd_a-ftpwho-update.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-ftpwho-read.o -MD -MP -MF .deps/libpureftpd_a-ftpwho-read.Tpo -c -o libpureftpd_a-ftpwho-read.o `test -f 'ftpwho-read.c' || echo './'`ftpwho-read.c
mv -f .deps/libpureftpd_a-ftpwho-read.Tpo .deps/libpureftpd_a-ftpwho-read.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-getloadavg.o -MD -MP -MF .deps/libpureftpd_a-getloadavg.Tpo -c -o libpureftpd_a-getloadavg.o `test -f 'getloadavg.c' || echo './'`getloadavg.c
mv -f .deps/libpureftpd_a-getloadavg.Tpo .deps/libpureftpd_a-getloadavg.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-ipstack.o -MD -MP -MF .deps/libpureftpd_a-ipstack.Tpo -c -o libpureftpd_a-ipstack.o `test -f 'ipstack.c' || echo './'`ipstack.c
mv -f .deps/libpureftpd_a-ipstack.Tpo .deps/libpureftpd_a-ipstack.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_unix.o -MD -MP -MF .deps/libpureftpd_a-log_unix.Tpo -c -o libpureftpd_a-log_unix.o `test -f 'log_unix.c' || echo './'`log_unix.c
mv -f .deps/libpureftpd_a-log_unix.Tpo .deps/libpureftpd_a-log_unix.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_mysql.o -MD -MP -MF .deps/libpureftpd_a-log_mysql.Tpo -c -o libpureftpd_a-log_mysql.o `test -f 'log_mysql.c' || echo './'`log_mysql.c
mv -f .deps/libpureftpd_a-log_mysql.Tpo .deps/libpureftpd_a-log_mysql.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_pgsql.o -MD -MP -MF .deps/libpureftpd_a-log_pgsql.Tpo -c -o libpureftpd_a-log_pgsql.o `test -f 'log_pgsql.c' || echo './'`log_pgsql.c
mv -f .deps/libpureftpd_a-log_pgsql.Tpo .deps/libpureftpd_a-log_pgsql.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_pam.o -MD -MP -MF .deps/libpureftpd_a-log_pam.Tpo -c -o libpureftpd_a-log_pam.o `test -f 'log_pam.c' || echo './'`log_pam.c
mv -f .deps/libpureftpd_a-log_pam.Tpo .deps/libpureftpd_a-log_pam.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_ldap.o -MD -MP -MF .deps/libpureftpd_a-log_ldap.Tpo -c -o libpureftpd_a-log_ldap.o `test -f 'log_ldap.c' || echo './'`log_ldap.c
mv -f .deps/libpureftpd_a-log_ldap.Tpo .deps/libpureftpd_a-log_ldap.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_puredb.o -MD -MP -MF .deps/libpureftpd_a-log_puredb.Tpo -c -o libpureftpd_a-log_puredb.o `test -f 'log_puredb.c' || echo './'`log_puredb.c
log_puredb.c: 在函数‘access_ip_match’中:
log_puredb.c:108: 警告:传递‘storage_sin_addr’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:116: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage * const’
mv -f .deps/libpureftpd_a-log_puredb.Tpo .deps/libpureftpd_a-log_puredb.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-log_extauth.o -MD -MP -MF .deps/libpureftpd_a-log_extauth.Tpo -c -o libpureftpd_a-log_extauth.o `test -f 'log_extauth.c' || echo './'`log_extauth.c
mv -f .deps/libpureftpd_a-log_extauth.Tpo .deps/libpureftpd_a-log_extauth.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-ls.o -MD -MP -MF .deps/libpureftpd_a-ls.Tpo -c -o libpureftpd_a-ls.o `test -f 'ls.c' || echo './'`ls.c
mv -f .deps/libpureftpd_a-ls.Tpo .deps/libpureftpd_a-ls.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-mysnprintf.o -MD -MP -MF .deps/libpureftpd_a-mysnprintf.Tpo -c -o libpureftpd_a-mysnprintf.o `test -f 'mysnprintf.c' || echo './'`mysnprintf.c
mv -f .deps/libpureftpd_a-mysnprintf.Tpo .deps/libpureftpd_a-mysnprintf.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-parser.o -MD -MP -MF .deps/libpureftpd_a-parser.Tpo -c -o libpureftpd_a-parser.o `test -f 'parser.c' || echo './'`parser.c
mv -f .deps/libpureftpd_a-parser.Tpo .deps/libpureftpd_a-parser.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-privsep.o -MD -MP -MF .deps/libpureftpd_a-privsep.Tpo -c -o libpureftpd_a-privsep.o `test -f 'privsep.c' || echo './'`privsep.c
privsep.c: 在函数‘privsep_privpart_bindresport’中:
privsep.c:208: 警告:传递‘storage_port6’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:115: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage *’
privsep.c:210: 警告:传递‘storage_port’的第 1 个实参时丢弃了指针目标类型的限定
ipstack.h:114: 附注:需要类型‘struct sockaddr_storage * const’,但实参的类型为‘const struct sockaddr_storage *’
mv -f .deps/libpureftpd_a-privsep.Tpo .deps/libpureftpd_a-privsep.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-quotas.o -MD -MP -MF .deps/libpureftpd_a-quotas.Tpo -c -o libpureftpd_a-quotas.o `test -f 'quotas.c' || echo './'`quotas.c
mv -f .deps/libpureftpd_a-quotas.Tpo .deps/libpureftpd_a-quotas.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-safe_rw.o -MD -MP -MF .deps/libpureftpd_a-safe_rw.Tpo -c -o libpureftpd_a-safe_rw.o `test -f 'safe_rw.c' || echo './'`safe_rw.c
mv -f .deps/libpureftpd_a-safe_rw.Tpo .deps/libpureftpd_a-safe_rw.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-tls.o -MD -MP -MF .deps/libpureftpd_a-tls.Tpo -c -o libpureftpd_a-tls.o `test -f 'tls.c' || echo './'`tls.c
mv -f .deps/libpureftpd_a-tls.Tpo .deps/libpureftpd_a-tls.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-upload-pipe.o -MD -MP -MF .deps/libpureftpd_a-upload-pipe.Tpo -c -o libpureftpd_a-upload-pipe.o `test -f 'upload-pipe.c' || echo './'`upload-pipe.c
mv -f .deps/libpureftpd_a-upload-pipe.Tpo .deps/libpureftpd_a-upload-pipe.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DINCLUDE_IO_WRAPPERS=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT libpureftpd_a-utils.o -MD -MP -MF .deps/libpureftpd_a-utils.Tpo -c -o libpureftpd_a-utils.o `test -f 'utils.c' || echo './'`utils.c
mv -f .deps/libpureftpd_a-utils.Tpo .deps/libpureftpd_a-utils.Po
rm -f libpureftpd.a
ar cru libpureftpd.a libpureftpd_a-altlog.o libpureftpd_a-alt_arc4random.o libpureftpd_a-bonjour.o libpureftpd_a-bsd-glob.o libpureftpd_a-bsd-realpath.o libpureftpd_a-bsd-getopt_long.o libpureftpd_a-caps.o libpureftpd_a-crypto.o libpureftpd_a-crypto-md5.o libpureftpd_a-crypto-sha1.o libpureftpd_a-daemons.o libpureftpd_a-diraliases.o libpureftpd_a-dynamic.o libpureftpd_a-fakesnprintf.o libpureftpd_a-fakechroot.o libpureftpd_a-ftp_parser.o libpureftpd_a-ftpd.o libpureftpd_a-ftpwho-update.o libpureftpd_a-ftpwho-read.o libpureftpd_a-getloadavg.o libpureftpd_a-ipstack.o libpureftpd_a-log_unix.o libpureftpd_a-log_mysql.o libpureftpd_a-log_pgsql.o libpureftpd_a-log_pam.o libpureftpd_a-log_ldap.o libpureftpd_a-log_puredb.o libpureftpd_a-log_extauth.o libpureftpd_a-ls.o libpureftpd_a-mysnprintf.o libpureftpd_a-parser.o libpureftpd_a-privsep.o libpureftpd_a-quotas.o libpureftpd_a-safe_rw.o libpureftpd_a-tls.o libpureftpd_a-upload-pipe.o libpureftpd_a-utils.o
ranlib libpureftpd.a
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT fakesnprintf.o -MD -MP -MF .deps/fakesnprintf.Tpo -c -o fakesnprintf.o fakesnprintf.c
mv -f .deps/fakesnprintf.Tpo .deps/fakesnprintf.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT mysnprintf.o -MD -MP -MF .deps/mysnprintf.Tpo -c -o mysnprintf.o mysnprintf.c
mv -f .deps/mysnprintf.Tpo .deps/mysnprintf.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-statsdecode.o -MD -MP -MF .deps/pure-statsdecode.Tpo -c -o pure-statsdecode.o pure-statsdecode.c
mv -f .deps/pure-statsdecode.Tpo .deps/pure-statsdecode.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-statsdecode fakesnprintf.o mysnprintf.o pure-statsdecode.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT alt_arc4random.o -MD -MP -MF .deps/alt_arc4random.Tpo -c -o alt_arc4random.o alt_arc4random.c
mv -f .deps/alt_arc4random.Tpo .deps/alt_arc4random.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT bsd-getopt_long.o -MD -MP -MF .deps/bsd-getopt_long.Tpo -c -o bsd-getopt_long.o bsd-getopt_long.c
mv -f .deps/bsd-getopt_long.Tpo .deps/bsd-getopt_long.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-pw.o -MD -MP -MF .deps/pure-pw.Tpo -c -o pure-pw.o pure-pw.c
mv -f .deps/pure-pw.Tpo .deps/pure-pw.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT safe_rw.o -MD -MP -MF .deps/safe_rw.Tpo -c -o safe_rw.o safe_rw.c
mv -f .deps/safe_rw.Tpo .deps/safe_rw.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c
mv -f .deps/utils.Tpo .deps/utils.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-pw alt_arc4random.o bsd-getopt_long.o fakesnprintf.o mysnprintf.o pure-pw.o safe_rw.o utils.o ../puredb/src/libpuredb_write.a -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-pwconvert.o -MD -MP -MF .deps/pure-pwconvert.Tpo -c -o pure-pwconvert.o pure-pwconvert.c
mv -f .deps/pure-pwconvert.Tpo .deps/pure-pwconvert.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-pwconvert fakesnprintf.o mysnprintf.o pure-pwconvert.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT ptracetest.o -MD -MP -MF .deps/ptracetest.Tpo -c -o ptracetest.o ptracetest.c
mv -f .deps/ptracetest.Tpo .deps/ptracetest.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o ptracetest ptracetest.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-authd.o -MD -MP -MF .deps/pure-authd.Tpo -c -o pure-authd.o pure-authd.c
mv -f .deps/pure-authd.Tpo .deps/pure-authd.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-authd bsd-getopt_long.o fakesnprintf.o mysnprintf.o pure-authd.o safe_rw.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
mv -f .deps/main.Tpo .deps/main.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-ftpd main.o libpureftpd.a ../puredb/src/libpuredb_read.a  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT ipstack.o -MD -MP -MF .deps/ipstack.Tpo -c -o ipstack.o ipstack.c
mv -f .deps/ipstack.Tpo .deps/ipstack.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-ftpwho.o -MD -MP -MF .deps/pure-ftpwho.Tpo -c -o pure-ftpwho.o pure-ftpwho.c
mv -f .deps/pure-ftpwho.Tpo .deps/pure-ftpwho.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-ftpwho bsd-getopt_long.o fakesnprintf.o ipstack.o mysnprintf.o pure-ftpwho.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DIN_PURE_MRTGINFO=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure_mrtginfo-daemons.o -MD -MP -MF .deps/pure_mrtginfo-daemons.Tpo -c -o pure_mrtginfo-daemons.o `test -f 'daemons.c' || echo './'`daemons.c
mv -f .deps/pure_mrtginfo-daemons.Tpo .deps/pure_mrtginfo-daemons.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DIN_PURE_MRTGINFO=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure_mrtginfo-fakesnprintf.o -MD -MP -MF .deps/pure_mrtginfo-fakesnprintf.Tpo -c -o pure_mrtginfo-fakesnprintf.o `test -f 'fakesnprintf.c' || echo './'`fakesnprintf.c
mv -f .deps/pure_mrtginfo-fakesnprintf.Tpo .deps/pure_mrtginfo-fakesnprintf.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DIN_PURE_MRTGINFO=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure_mrtginfo-pure-mrtginfo.o -MD -MP -MF .deps/pure_mrtginfo-pure-mrtginfo.Tpo -c -o pure_mrtginfo-pure-mrtginfo.o `test -f 'pure-mrtginfo.c' || echo './'`pure-mrtginfo.c
mv -f .deps/pure_mrtginfo-pure-mrtginfo.Tpo .deps/pure_mrtginfo-pure-mrtginfo.Po
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\" -DIN_PURE_MRTGINFO=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure_mrtginfo-mysnprintf.o -MD -MP -MF .deps/pure_mrtginfo-mysnprintf.Tpo -c -o pure_mrtginfo-mysnprintf.o `test -f 'mysnprintf.c' || echo './'`mysnprintf.c
mv -f .deps/pure_mrtginfo-mysnprintf.Tpo .deps/pure_mrtginfo-mysnprintf.Po
gcc -DIN_PURE_MRTGINFO=1 -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-mrtginfo pure_mrtginfo-daemons.o pure_mrtginfo-fakesnprintf.o pure_mrtginfo-pure-mrtginfo.o pure_mrtginfo-mysnprintf.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-quotacheck.o -MD -MP -MF .deps/pure-quotacheck.Tpo -c -o pure-quotacheck.o pure-quotacheck.c
mv -f .deps/pure-quotacheck.Tpo .deps/pure-quotacheck.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-quotacheck bsd-getopt_long.o fakesnprintf.o mysnprintf.o pure-quotacheck.o safe_rw.o  -lssl -lcrypto -lcrypt
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/local/include -D_FORTIFY_SOURCE=2 -DCONFDIR=\"/usr/local/pureftpd/etc\" -DSTATEDIR=\"/var\"  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero -MT pure-uploadscript.o -MD -MP -MF .deps/pure-uploadscript.Tpo -c -o pure-uploadscript.o pure-uploadscript.c
mv -f .deps/pure-uploadscript.Tpo .deps/pure-uploadscript.Po
gcc  -g -O2 -fPIC -fPIE -fwrapv -fno-strict-aliasing -fno-strict-overflow -fstack-protector-all -Winit-self -Wwrite-strings -Wdiv-by-zero  -pie -Wl,-z,relro -Wl,-z,now -Wl,-z,noexecstack -L/usr/local/lib -o pure-uploadscript bsd-getopt_long.o fakesnprintf.o mysnprintf.o pure-uploadscript.o safe_rw.o  -lssl -lcrypto -lcrypt
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/src'
Making all in contrib
make[2]: Entering directory `/root/pure-ftpd-1.0.41/contrib'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/contrib'
Making all in man
make[2]: Entering directory `/root/pure-ftpd-1.0.41/man'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/man'
Making all in pam
make[2]: Entering directory `/root/pure-ftpd-1.0.41/pam'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/pam'
Making all in gui
make[2]: Entering directory `/root/pure-ftpd-1.0.41/gui'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/gui'
Making all in configuration-file
make[2]: Entering directory `/root/pure-ftpd-1.0.41/configuration-file'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/configuration-file'
Making all in m4
make[2]: Entering directory `/root/pure-ftpd-1.0.41/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/m4'
make[2]: Entering directory `/root/pure-ftpd-1.0.41'
make[2]: Leaving directory `/root/pure-ftpd-1.0.41'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41'
Making install in puredb
make[1]: Entering directory `/root/pure-ftpd-1.0.41/puredb'
Making install in src
make[2]: Entering directory `/root/pure-ftpd-1.0.41/puredb/src'
make[3]: Entering directory `/root/pure-ftpd-1.0.41/puredb/src'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/pure-ftpd-1.0.41/puredb/src'
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/puredb/src'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/puredb'
make[3]: Entering directory `/root/pure-ftpd-1.0.41/puredb'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/root/pure-ftpd-1.0.41/puredb'
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/puredb'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/puredb'
Making install in src
make[1]: Entering directory `/root/pure-ftpd-1.0.41/src'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/src'/bin/mkdir -p '/usr/local/pureftpd/bin'/usr/bin/install -c pure-statsdecode pure-pw pure-pwconvert '/usr/local/pureftpd/bin'/bin/mkdir -p '/usr/local/pureftpd/sbin'/usr/bin/install -c pure-authd pure-ftpd pure-ftpwho pure-mrtginfo pure-quotacheck pure-uploadscript '/usr/local/pureftpd/sbin'
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/src'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/src'
Making install in contrib
make[1]: Entering directory `/root/pure-ftpd-1.0.41/contrib'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/contrib'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/contrib'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/contrib'
Making install in man
make[1]: Entering directory `/root/pure-ftpd-1.0.41/man'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/man'
make[2]: Nothing to be done for `install-exec-am'./bin/mkdir -p '/usr/local/pureftpd/share/man/man8'/usr/bin/install -c -m 644 pure-ftpd.8 pure-ftpwho.8 pure-mrtginfo.8 pure-uploadscript.8 pure-statsdecode.8 pure-quotacheck.8 pure-pw.8 pure-pwconvert.8 pure-authd.8 '/usr/local/pureftpd/share/man/man8'
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/man'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/man'
Making install in pam
make[1]: Entering directory `/root/pure-ftpd-1.0.41/pam'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/pam'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/pam'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/pam'
Making install in gui
make[1]: Entering directory `/root/pure-ftpd-1.0.41/gui'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/gui'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/gui'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/gui'
Making install in configuration-file
make[1]: Entering directory `/root/pure-ftpd-1.0.41/configuration-file'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/configuration-file'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/configuration-file'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/configuration-file'
Making install in m4
make[1]: Entering directory `/root/pure-ftpd-1.0.41/m4'
make[2]: Entering directory `/root/pure-ftpd-1.0.41/m4'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41/m4'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41/m4'
make[1]: Entering directory `/root/pure-ftpd-1.0.41'
make[2]: Entering directory `/root/pure-ftpd-1.0.41'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/root/pure-ftpd-1.0.41'
make[1]: Leaving directory `/root/pure-ftpd-1.0.41'
[root@localhost pure-ftpd-1.0.41]# ^C
[root@localhost pure-ftpd-1.0.41]#  mkdir /usr/local/pureftpd/etc
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/
cp: 无法创建普通文件"/usr/local/pure-ftpd/etc/": 没有那个文件或目录
[root@localhost configuration-file]# ^C
[root@localhost configuration-file]#  cp pure-ftpd.conf  /usr/local/pure-ftpd/etc/
cp: 无法创建普通文件"/usr/local/pure-ftpd/etc/": 没有那个文件或目录
[root@localhost configuration-file]#  cp pure-ftpd.conf  /usr/local/pureftpd/etc/
cp:是否覆盖"/usr/local/pureftpd/etc/pure-ftpd.conf"?
[root@localhost configuration-file]# ^C
[root@localhost configuration-file]#  cp pure-ftpd.conf  /usr/local/pureftpd/etc/
[root@localhost configuration-file]# ^C
[root@localhost configuration-file]# cp pure-config.pl  /usr/local/pure-ftpd/sbin/
cp: 无法创建普通文件"/usr/local/pure-ftpd/sbin/": 没有那个文件或目录
[root@localhost configuration-file]# cp pure-config.pl  /usr/local/pureftpd/sbin/
[root@localhost configuration-file]# chmod 755 /usr/local/pureftpd/sbin/pure-config.pl
[root@localhost configuration-file]# cd /usr/local/pureftpd
[root@localhost pureftpd]# ls
bin  etc  sbin  share
[root@localhost pureftpd]# ^C
[root@localhost pureftpd]# ./sbin/pure-config.pl  ./etc/pure-ftpd.conf
Running: /usr/local/pureftpd/sbin/pure-ftpd -A -c50 -B -C8 -D -fftp -H -I15 -lpuredb                                                                                    :/usr/local/pureftpd/etc/pureftpd.pdb -L10000:8 -m4 -s -U133:022 -u100 -g/var/run/pu                                                                                    re-ftpd.pid -k99 -Z
[root@localhost pureftpd]# netstat -tunpl
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State                                                                                           PID/Program name
tcp        0      0 0.0.0.0:21                  0.0.0.0:*                   LISTEN                                                                                          20884/pure-ftpd (SE
tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN                                                                                          1541/sshd
tcp        0      0 127.0.0.1:631               0.0.0.0:*                   LISTEN                                                                                          1340/cupsd
tcp        0      0 127.0.0.1:25                0.0.0.0:*                   LISTEN                                                                                          2096/sendmail
tcp        0      0 0.0.0.0:56360               0.0.0.0:*                   LISTEN                                                                                          1291/rpc.statd
tcp        0      0 0.0.0.0:3306                0.0.0.0:*                   LISTEN                                                                                          2049/mysqld
tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN                                                                                          1241/rpcbind
tcp        0      0 0.0.0.0:80                  0.0.0.0:*                   LISTEN                                                                                          1525/nginx
tcp        0      0 :::21                       :::*                        LISTEN                                                                                          20884/pure-ftpd (SE
tcp        0      0 :::40181                    :::*                        LISTEN                                                                                          1291/rpc.statd
tcp        0      0 :::22                       :::*                        LISTEN                                                                                          1541/sshd
tcp        0      0 ::1:631                     :::*                        LISTEN                                                                                          1340/cupsd
tcp        0      0 :::111                      :::*                        LISTEN                                                                                          1241/rpcbind
udp        0      0 0.0.0.0:68                  0.0.0.0:*                                                                                                                   1295/dhclient
udp        0      0 0.0.0.0:992                 0.0.0.0:*                                                                                                                   1241/rpcbind
udp        0      0 0.0.0.0:111                 0.0.0.0:*                                                                                                                   1241/rpcbind
udp        0      0 0.0.0.0:631                 0.0.0.0:*                                                                                                                   1340/cupsd
udp        0      0 127.0.0.1:659               0.0.0.0:*                                                                                                                   1291/rpc.statd
udp        0      0 0.0.0.0:33583               0.0.0.0:*                                                                                                                   1291/rpc.statd
udp        0      0 :::52934                    :::*                                                                                                                        1291/rpc.statd
udp        0      0 :::992                      :::*                                                                                                                        1241/rpcbind
udp        0      0 :::111                      :::*                                                                                                                        1241/rpcbind
[root@localhost pureftpd]# useradd test
[root@localhost pureftpd]# mkdir -p /var/www/html/
[root@localhost pureftpd]# chown -R test:test /var/www/html/
[root@localhost pureftpd]# ./bin/pure-pw useradd ftp_user1 -u test -d /var/www/html
Password:
Enter it again:
[root@localhost pureftpd]# ./bin/pure-pw mkdb
[root@localhost pureftpd]# ./bin/pure-pw list
ftp_user1           /var/www/html/./
[root@localhost pureftpd]# id ftp
uid=600(ftp) gid=600(ftp) 组=600(ftp)
[root@localhost pureftpd]# ifconfig
eth0      Link encap:Ethernet  HWaddr 08:00:27:03:91:67inet addr:192.168.1.105  Bcast:192.168.1.255  Mask:255.255.255.0inet6 addr: fe80::a00:27ff:fe03:9167/64 Scope:LinkUP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1RX packets:21578 errors:0 dropped:0 overruns:0 frame:0TX packets:9535 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:1000RX bytes:17909568 (17.0 MiB)  TX bytes:1282074 (1.2 MiB)lo        Link encap:Local Loopbackinet addr:127.0.0.1  Mask:255.0.0.0inet6 addr: ::1/128 Scope:HostUP LOOPBACK RUNNING  MTU:65536  Metric:1RX packets:16 errors:0 dropped:0 overruns:0 frame:0TX packets:16 errors:0 dropped:0 overruns:0 carrier:0collisions:0 txqueuelen:0RX bytes:960 (960.0 b)  TX bytes:960 (960.0 b)

linux 安装pureftp相关推荐

  1. 实用的Linux 安装 zip unzip

    Linux 安装 zip unzip 1.apt-get 安装 apt-get install zip 2.yum 安装 yum install -y unzip zip 命令实例 1.把/home目 ...

  2. nginx linux 安装

    nginx linux 安装 进入http://nginx.org/en/download.html 下载 n  gcc 安装nginx需要先将官网下载的源码进行编译,编译依赖gcc环境,如果没有gc ...

  3. Linux安装Nodejs

    Linux安装Nodejs 阿里云镜像: https://npm.taobao.org/mirrors/node/ 选择所需版本,进行下载. 我这边下载的是:https://npm.taobao.or ...

  4. linux命令安装组件,Linux安装各种组件

    [TOC] Linux安装各种组件 ============================= ## 安装JDK 官网下载最新JDK ``` http://www.oracle.com/technet ...

  5. arch linux安装_如何从头开始安装Arch Linux

    arch linux安装 by Andrea Giammarchi 由Andrea Giammarchi In this article, you'll learn how to install Ar ...

  6. linux安装eclipse运行web,Linux安装Tomcat,运行Eclipse,web项目

    到官网下载:https://tomcat.apache.org/download-80.cgi  在这里是8.5.39版本 下载tar,gz 提取解压后,我这里是放到opt目录下 cd  切换目录 / ...

  7. linux 查看es安装目录,Linux安装Elasticsearch

    本文介绍Linux环境如何安装Elasticsearch. 本文环境是在腾讯云服务器CentOS7.2搭建的,JDK1.8,elasticsearch-5.4.2. 1 安装JDK 网上教程很多,也可 ...

  8. Linux安装CentOS7(图文详解)

    Linux安装centos7 准备 软件:VMware workstation 镜像文件:CentOS-7-x86_64-Minimal-1810.iso 一.安装centos7 1.点击创建新的虚拟 ...

  9. Linux安装CentOS6(图文详解)新手入门

    Linux安装centos6 准备 软件:VMware workstation 镜像文件:CentOS-6.8-x86_64-bin-DVD1.iso 一.安装centos6 1.点击创建新的虚拟机 ...

  10. linux安装IPython四种方法

    IPython是Python的交互式Shell,提供了代码自动补完,自动缩进,高亮显示,执行Shell命令等非常有用的特性.特别是它的代码补完功能,例如:在输入zlib.之后按下Tab键,IPytho ...

最新文章

  1. 数据预处理代码分享——机器学习与数据挖掘
  2. SQLServer 扫盲
  3. asterisk cdr mysql_在asterisk中添加CDR sqlite支持 | 学步园
  4. 评审恩仇录——IDE也能做代码评审?
  5. 写一函数,将两个字符串连接
  6. AttributeError: 'dict' object has no attribute 'iteritems' python3报错
  7. Go程序:演示数组切片用法
  8. MYSQL的C 语言接口
  9. JS:ES6-1 let 关键字
  10. 1458: 移动距离(暴力模拟)
  11. Atiitt 程序语言vm与rt 虚拟机与运行时 目录 1. 运行时 虚拟机的一种,一般指进程级别的虚拟机。 1 1.1. 线程模型 1 1.2. 堆栈机vs 寄存器 1 1.3. 存储模型 2 1
  12. 在Winform开发框架中实现对数据库的加密支持(转)
  13. 项目管理计划包含哪些内容
  14. python给excel排序_python初学—-实现excel里面读数据进行排序
  15. 参数检验和非参数检验的区别
  16. html中span怎么写,html的span标签怎么使用
  17. AutoSAR系列讲解(实践篇)8.3-IO相关驱动(中)
  18. 《游戏学习》Java版俄罗斯方块小游戏源码实战
  19. 梁国辉获Yes评分表系统3.0计算机软件著作权
  20. 越来越稳!Kubernetes 1.8.0 版本发布

热门文章

  1. 各位前辈请问你们的本科毕业论文的外文文献都是从哪里找的,我搜到的都是中国的翻译成英语的?...
  2. 微信小程序快速达到1000UV流量主开通标准
  3. 前端面试录音整理(私人版)
  4. mysql姓名三位随机_Mysql之生成随机数,随机字符串,随机姓名
  5. 用excel制作折线图
  6. 团队项目(六)- 事后诸葛亮分析(江山代有才人秃)
  7. PicGo 安装及配置
  8. 1-4 正弦和余弦
  9. Chapter6 机器人系统仿真(Ⅰ)---使用rviz集成urdf、xacro建造机器人模型
  10. 计算机辅助翻译在翻译实践中的应用,计算机辅助翻译在翻译实践中的应用