当前位置: 技术问答>linux和unix
Linux服务器上原来没有安装ftp Server,请问我安装了Wu-ftp 后怎么启动它?
来源: 互联网 发布时间:2015-03-16
本文导语: Linux服务器上原来没有安装ftp Server,请问我安装了Wu-ftp 后怎么启动它? | cp wu-ftpd-current.tar.gz /usr/local/src tar zxvf wu-ftpd-current.tar.gz cd wu-ftpd-2.6.2/ ./configure make make install make clean cd /etc/xinetd.d...
Linux服务器上原来没有安装ftp Server,请问我安装了Wu-ftp 后怎么启动它?
|
cp wu-ftpd-current.tar.gz /usr/local/src
tar zxvf wu-ftpd-current.tar.gz
cd wu-ftpd-2.6.2/
./configure
make
make install
make clean
cd /etc/xinetd.d
cp /etc/xinetd.d/telnet /etc/xinetd.d/ftp
vi ftp
# default: on
# description: The ftp server serves ftp sessions; it uses
# unencrypted username/password pairs for authentication.
service ftp
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
log_on_failure += USERID
}
/etc/rc.d/init.d/xinetd restart 或:#killall -HUP xinetd 重启xinetd
telnet localhost 21 成功
tar zxvf wu-ftpd-current.tar.gz
cd wu-ftpd-2.6.2/
./configure
make
make install
make clean
cd /etc/xinetd.d
cp /etc/xinetd.d/telnet /etc/xinetd.d/ftp
vi ftp
# default: on
# description: The ftp server serves ftp sessions; it uses
# unencrypted username/password pairs for authentication.
service ftp
{
disable = no
flags = REUSE
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
log_on_failure += USERID
}
/etc/rc.d/init.d/xinetd restart 或:#killall -HUP xinetd 重启xinetd
telnet localhost 21 成功
|
配置好你的配置文件后,重新启动XINETD守护进程
/etc/rc.d/init.d/xinetd restart
/etc/rc.d/init.d/xinetd restart