- 2012/06/11
- 系统相关
- 933 views
--mount linux iso image
[root@rac1 Server]# rpm -ivh xinetd-2.3.14-10.el5.i386.rpm
warning: xinetd-2.3.14-10.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1:xinetd ########################################### [100%]
root@rac1 Server]# chkconfig xinetd on
[root@rac1 Server]# cd /etc/xinetd.d/
[root@rac1 xinetd.d]# ls
chargen-dgram daytime-stream echo-stream klogin rsync
chargen-stream discard-dgram eklogin krb5-telnet tcpmux-server
cvs discard-stream ekrb5-telnet kshell time-dgram
daytime-dgram echo-dgram gssftp rmcp time-stream
[root@rac2 ~]# rdate -s 192.168.168.178
rdate: couldn't connect to host 192.168.168.178: Connection refused
--rhel 5 modify disable = yes
[root@rac1 xinetd.d]# vi time-stream
# This is the configuration for the tcp/stream time service.
service time
{
# This is for quick on or off of the service
disable = no
[root@rac1 xinetd.d]# service xinetd restart
Stopping xinetd: [ OK ]
Starting xinetd: [ OK ]
[root@rac2 ~]# rdate -s 192.168.168.178
ok
注意iptables 开放端口。
增加crontab自动同步。
打赏
微信扫一扫,打赏作者吧~
OS Command
对不起,这篇文章暂时关闭评论。