由 哇哈哈 在 12-23-2002 20:02 发表:
启动服务的问题
一般在修改了一些配置文件件总是使用/etc/rc.d/init.d/inetd reload来重启服务,我想问的是:这个命令是重新启动什么服务?是所有的吗?如果我只想启动WU-FTPD服务该用什么命令?
由 Pye 在 12-23-2002 22:33 发表:
chkconfig wu-ftpd on
由 flavor 在 12-24-2002 03:39 发表:
Re: 启动服务的问题
启动WU-FTPD服务 :
1.#vi /etc/xinetd.d/wu-ftp
把disable=yes改为disable=no
然后重启动
2.#/etc/rc.d/init.d/xinetd restart
3.把firewall关闭,或者修改配置文件,
#vi /etc/sysconfig/ipchains 把"*"的改为accept
P4-M-1.8G 256M 40G GF2/GO 16M 联想昭阳V71
由 muzi4860 在 12-31-2002 20:43 发表:
[root@sniper root]# vi /etc/xinetd.d/wu-ftpd
default: on
description: The wu-ftpd FTP server serves FTP connections. It uses \
normal, unencrypted usernames and passwords for authentication.
service ftp
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/in.ftpd
server_args = -l -a
log_on_success += DURATION
nice = 10
}
sniper root]# vi /etc/xinetd.d/wu-ftpd
[root@sniper root]# vi /etc/xinetd.d/wu-ftpd
[root@sniper root]#
[root@sniper root]# /etc/rc.d/init.d/xinetd restart
停运 xinetd: [ 确定 ]
启动 xinetd: [ 确定 ]
[root@sniper root]# ftp 192.168.3.203
ftp: connect: Connection refused
ftp> e
[root@sniper root]# ftp 127.0.0.1
ftp: connect: Connection refused
ftp> e
[root@sniper root]# cd /etc/sysconfig
[root@sniper sysconfig]# dir -a
. firstboot irda ntpd squid
.. gpm keyboard pcmcia static-routes
apmd grub kudzu rawdevices syslog
apm-scripts harddisks mouse redhat-config-users tux
authconfig hwconf named redhat-logviewer xinetd
clock i18n network rhn yppasswdd
console init networking samba
desktop installinfo network-scripts sendmail
我的sy