|
发表于 2005-2-23 12:33:03
|
显示全部楼层
这是在我机器上的安装过程,哪位同志帮看一下。感觉在make install 就出了问题。另外,在命令行方式下如何对.conf进行编辑???
[root@localhost root]# cd /tmp/mydown
[root@localhost mydown]# tar -xzvf vsftpd-2.0.1.tar.gz
vsftpd-2.0.1/
vsftpd-2.0.1/SECURITY/
vsftpd-2.0.1/SECURITY/IMPLEMENTATION
vsftpd-2.0.1/SECURITY/OVERVIEW
vsftpd-2.0.1/SECURITY/DESIGN
vsftpd-2.0.1/SECURITY/TRUST
vsftpd-2.0.1/main.c
vsftpd-2.0.1/utility.c
vsftpd-2.0.1/utility.h
vsftpd-2.0.1/Makefile
vsftpd-2.0.1/session.h
vsftpd-2.0.1/prelogin.h
vsftpd-2.0.1/prelogin.c
vsftpd-2.0.1/postlogin.h
vsftpd-2.0.1/ftpcodes.h
vsftpd-2.0.1/ftpcmdio.h
vsftpd-2.0.1/defs.h
vsftpd-2.0.1/ftpcmdio.c
vsftpd-2.0.1/postlogin.c
vsftpd-2.0.1/privsock.h
vsftpd-2.0.1/privsock.c
vsftpd-2.0.1/FAQ
vsftpd-2.0.1/ftpdataio.c
vsftpd-2.0.1/tunables.h
vsftpd-2.0.1/tunables.c
vsftpd-2.0.1/ftpdataio.h
vsftpd-2.0.1/BENCHMARKS
vsftpd-2.0.1/TODO
vsftpd-2.0.1/SPEED
vsftpd-2.0.1/postprivparent.h
vsftpd-2.0.1/postprivparent.c
vsftpd-2.0.1/logging.h
vsftpd-2.0.1/README
vsftpd-2.0.1/REWARD
vsftpd-2.0.1/logging.c
vsftpd-2.0.1/README.security
vsftpd-2.0.1/str.h
vsftpd-2.0.1/str.c
vsftpd-2.0.1/AUDIT
vsftpd-2.0.1/vsf_findlibs.sh
vsftpd-2.0.1/sysutil.h
vsftpd-2.0.1/sysutil.c
vsftpd-2.0.1/vsftpver.h
vsftpd-2.0.1/vsftpd.conf.5
vsftpd-2.0.1/port/
vsftpd-2.0.1/port/solaris_bogons.h
vsftpd-2.0.1/port/porting_junk.h
vsftpd-2.0.1/port/hpux_bogons.h
vsftpd-2.0.1/port/cmsg_extras.h
vsftpd-2.0.1/port/irix_bogons.h
vsftpd-2.0.1/port/dirfd_extras.h
vsftpd-2.0.1/port/aix_bogons.h
vsftpd-2.0.1/port/tru64_bogons.h
vsftpd-2.0.1/netstr.h
vsftpd-2.0.1/netstr.c
vsftpd-2.0.1/ls.h
vsftpd-2.0.1/BUGS
vsftpd-2.0.1/sysstr.h
vsftpd-2.0.1/banner.c
vsftpd-2.0.1/sysstr.c
vsftpd-2.0.1/secbuf.c
vsftpd-2.0.1/strlist.h
vsftpd-2.0.1/strlist.c
vsftpd-2.0.1/filestr.h
vsftpd-2.0.1/filestr.c
vsftpd-2.0.1/secbuf.h
vsftpd-2.0.1/Changelog
vsftpd-2.0.1/INSTALL
vsftpd-2.0.1/sysdeputil.h
vsftpd-2.0.1/sysdeputil.c
vsftpd-2.0.1/ls.c
vsftpd-2.0.1/parseconf.h
vsftpd-2.0.1/parseconf.c
vsftpd-2.0.1/secutil.h
vsftpd-2.0.1/secutil.c
vsftpd-2.0.1/ascii.h
vsftpd-2.0.1/vsftpd.conf
vsftpd-2.0.1/ascii.c
vsftpd-2.0.1/xinetd.d/
vsftpd-2.0.1/xinetd.d/vsftpd
vsftpd-2.0.1/LICENSE
vsftpd-2.0.1/oneprocess.h
vsftpd-2.0.1/RedHat/
vsftpd-2.0.1/RedHat/README.spec
vsftpd-2.0.1/RedHat/vsftpd.log
vsftpd-2.0.1/RedHat/vsftpd.pam
vsftpd-2.0.1/twoprocess.h
vsftpd-2.0.1/oneprocess.c
vsftpd-2.0.1/privops.h
vsftpd-2.0.1/twoprocess.c
vsftpd-2.0.1/privops.c
vsftpd-2.0.1/dummyinc/
vsftpd-2.0.1/dummyinc/security/
vsftpd-2.0.1/dummyinc/security/pam_appl.h
vsftpd-2.0.1/dummyinc/shadow.h
vsftpd-2.0.1/dummyinc/sys/
vsftpd-2.0.1/dummyinc/sys/sendfile.h
vsftpd-2.0.1/dummyinc/sys/capability.h
vsftpd-2.0.1/dummyinc/crypt.h
vsftpd-2.0.1/dummyinc/utmpx.h
vsftpd-2.0.1/dummyinc/openssl/
vsftpd-2.0.1/dummyinc/openssl/ssl.h
vsftpd-2.0.1/SIZE
vsftpd-2.0.1/README.ssl
vsftpd-2.0.1/vsftpd.8
vsftpd-2.0.1/TUNING
vsftpd-2.0.1/EXAMPLE/
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/logins.txt
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/vsftpd.pam
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/README
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS/vsftpd.conf
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS_2/
vsftpd-2.0.1/EXAMPLE/VIRTUAL_USERS_2/README
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE/
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE/vsftpd.conf
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE/vsftpd.xinetd
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE/README
vsftpd-2.0.1/EXAMPLE/README
vsftpd-2.0.1/EXAMPLE/VIRTUAL_HOSTS/
vsftpd-2.0.1/EXAMPLE/VIRTUAL_HOSTS/README
vsftpd-2.0.1/EXAMPLE/PER_IP_CONFIG/
vsftpd-2.0.1/EXAMPLE/PER_IP_CONFIG/hosts.allow
vsftpd-2.0.1/EXAMPLE/PER_IP_CONFIG/README
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE_NOINETD/
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE_NOINETD/vsftpd.conf
vsftpd-2.0.1/EXAMPLE/INTERNET_SITE_NOINETD/README
vsftpd-2.0.1/COPYING
vsftpd-2.0.1/banner.h
vsftpd-2.0.1/standalone.h
vsftpd-2.0.1/standalone.c
vsftpd-2.0.1/filesize.h
vsftpd-2.0.1/hash.h
vsftpd-2.0.1/builddefs.h
vsftpd-2.0.1/hash.c
vsftpd-2.0.1/ipv6parse.h
vsftpd-2.0.1/tcpwrap.c
vsftpd-2.0.1/tcpwrap.h
vsftpd-2.0.1/ipv6parse.c
vsftpd-2.0.1/COPYRIGHT
vsftpd-2.0.1/access.h
vsftpd-2.0.1/access.c
vsftpd-2.0.1/ssl.c
vsftpd-2.0.1/features.c
vsftpd-2.0.1/features.h
vsftpd-2.0.1/readwrite.h
vsftpd-2.0.1/readwrite.c
vsftpd-2.0.1/ssl.h
vsftpd-2.0.1/REFS
[root@localhost mydown]# cd vsftpd-2.0.1
[root@localhost vsftpd-2.0.1]# make
gcc -c main.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c utility.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c prelogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ftpcmdio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c postlogin.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c privsock.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c tunables.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ftpdataio.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c secbuf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ls.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c postprivparent.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c logging.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c str.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c netstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysstr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c strlist.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c banner.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c filestr.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c parseconf.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c secutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ascii.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c oneprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c twoprocess.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c privops.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c standalone.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c hash.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c tcpwrap.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ipv6parse.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c access.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c features.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c readwrite.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c ssl.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysutil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -c sysdeputil.c -O2 -Wall -W -Wshadow -idirafter dummyinc
gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipv6parse.o access.o features.o readwrite.o ssl.o sysutil.o sysdeputil.o -Wl,-s `./vsf_findlibs.sh`
[root@localhost vsftpd-2.0.1]# ls -l vsftpd
-rwxr-xr-x 1 root root 80780 2月 23 00:34 vsftpd
[root@localhost vsftpd-2.0.1]# useradd nobody
useradd: user nobody exists
[root@localhost vsftpd-2.0.1]# mkdir /usr/share/empty
mkdir: 无法创建目录‘/usr/share/empty’: 文件已存在
[root@localhost vsftpd-2.0.1]# mkdir /var/ftp/
[root@localhost vsftpd-2.0.1]# useradd -d /var/ftp ftp
useradd: user ftp exists
[root@localhost vsftpd-2.0.1]# chown root.root /var/ftp
[root@localhost vsftpd-2.0.1]# chmod og-w /var/ftp
[root@localhost vsftpd-2.0.1]# mkdir /usr/local/man/man5
mkdir: 无法创建目录‘/usr/local/man/man5’: 没有那个文件或目录
[root@localhost vsftpd-2.0.1]# mkdir /usr/local/man
[root@localhost vsftpd-2.0.1]# mkdir /usr/local/man/man5
[root@localhost vsftpd-2.0.1]# mkdir /usr/local/man/man8
[root@localhost vsftpd-2.0.1]# make install
if [ -x /usr/local/sbin ]; then \
install -m 755 vsftpd /usr/local/sbin/vsftpd; \
else \
install -m 755 vsftpd /usr/sbin/vsftpd; fi
if [ -x /usr/local/man ]; then \
install -m 644 vsftpd.8 /usr/local/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/local/man/man5/vsftpd.conf.5; \
elif [ -x /usr/share/man ]; then \
install -m 644 vsftpd.8 /usr/share/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/share/man/man5/vsftpd.conf.5; \
else \
install -m 644 vsftpd.8 /usr/man/man8/vsftpd.8; \
install -m 644 vsftpd.conf.5 /usr/man/man5/vsftpd.conf.5; fi
if [ -x /etc/xinetd.d ]; then \
install -m 644 xinetd.d/vsftpd /etc/xinetd.d/vsftpd; fi
[root@localhost vsftpd-2.0.1]# cp vsftpd.conf /etc
[root@localhost vsftpd-2.0.1]# |
|