在Suse Linux下如何正确安装vsftp的tar包?
我所做的
1 上传vsftpd-1.2.1到/usr/tl/目录下
2 tar zxvf vsftpd-1.2.1.tar.gz
cd vsftpd-1.2.1
make;
make install;
在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
3 之后 /etc/xinetd.d/vsftpd启动vsftpd,但是报如下错误:
linux:/ # /etc/xinetd.d/vsftpd start
/etc/xinetd.d/vsftpd: line 6: service: command not found
/etc/xinetd.d/vsftpd: line 8: socket_type: command not found
/etc/xinetd.d/vsftpd: line 9: wait: `=': not a pid or valid job spec
/etc/xinetd.d/vsftpd: line 9: wait: `no': not a pid or valid job spec
/etc/xinetd.d/vsftpd: line 10: user: command not found
/etc/xinetd.d/vsftpd: line 11: server: command not found
nice: =: No such file or directory
/etc/xinetd.d/vsftpd: line 16: disable: command not found
这是为什么啊?
[解决办法]