社区
其他技术讨论专区
帖子详情
[求助]solaris10 下 局域网内的NTP配置
weixin_38053878
2008-08-20 09:47:30
各位好,最近需要在局域网两台solaris10的机器上面配置自动校时服务,但是在设置NTP 服务器和客户端的时候遇到了难题。
在网上搜索资料,发现大多是老版本的设置,在solaris10中已经不适用,/etc/init.d/目录下没有xntpd脚本,如何能让ntp校时服务自启动呢?
请指点一二,谢谢! [ 本帖最后由 pasdts 于 2008-8-20 09:50 编辑 ]
...全文
19
3
打赏
收藏
[求助]solaris10 下 局域网内的NTP配置
各位好,最近需要在局域网两台solaris10的机器上面配置自动校时服务,但是在设置NTP 服务器和客户端的时候遇到了难题。 在网上搜索资料,发现大多是老版本的设置,在solaris10中已经不适用,/etc/init.d/目录下没有xntpd脚本,如何能让ntp校时服务自启动呢? 请指点一二,谢谢! [ 本帖最后由 pasdts 于 2008-8-20 09:50 编辑 ]
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
Solaris
10
配置
ntp
客户端
停止、启动
NTP
服务 svcadm disable svc:/network/
ntp
svcadm enable svc:/network/
ntp
svcadm refresh svc:/network/
ntp
svcadm restart svc:/network/
ntp
方法一: crontab
配置
: 51 * * * * . /etc/profile;/usr/sbin/
ntp
date -b
10
.204.50.136 >/tmp/
ntp
.log 方法二: # cp /etc/
Solaris
配置
客户端
NTP
服务
Solaris
配置
客户端
NTP
服务 查看是否安装了
NTP
软件包(默认是安装的),有下面两行则是已安装 #pkginfo | grep
ntp
system SUNW
ntp
r
NTP
, (Root) system SUNW
ntp
u
NTP
, (Usr)
solaris
10
/11
NTP
客户端
配置
1、创建/etc/inet/
ntp
.conf #cp -rp
ntp
.
solaris
下
ntp
配置
配置
SOLARIS
的
NTP
服务
solaris
配置
2009-12-24 16:07:11 阅读170 评论0 字号:大中小 订阅
1、查看是否安装了
NTP
软件包(默认是安装的),有下面两行则是已安装 # pkginfo | grep
ntp
system SUNW
ntp
r
NTP
, (Root)
system SUNW
ntp
u
NTP
, (Usr)
2、编辑
配置
文件
ntp
.conf #vi /etc/inet/
ntp
.conf
Solaris
11
配置
NTP
客户端
Solaris
11 设置
NTP
客户端 1、创建
ntp
.conf 文件。 #cd /etc/inet #cp -p
ntp
.client
ntp
.conf 2、编辑
ntp
.conf 文件。 #multicastclient 224.0.1.1 #注释掉 server
10
.128.
10
.9 #
配置
NTP
服务器IP server
10
....
局域网
内使用
ntp
服务器同步时间
局域网
内使用
ntp
服务器同步时间
solaris
10
中已自带
ntp
服务的软件 可使用:pkginfo | grep
ntp
查看 # pkginfo | grep
ntp
system SUNW
ntp
r
NTP
, (Root) system SUNW
ntp
u
NTP
,
其他技术讨论专区
477
社区成员
790,952
社区内容
发帖
与我相关
我的任务
其他技术讨论专区
其他技术讨论专区
复制链接
扫一扫
分享
社区描述
其他技术讨论专区
其他
技术论坛(原bbs)
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章