如何部署本地
ntp
服务器
检查
服务是否已安装,如果有下面内容输出,测说明
服务已安装
如没有,需要手动安装
服务
附
如何手动挂载虚拟光驱
[root@sticmesntp ~]# mount /dev/sr0 /mnt #
挂载光驱
mount: /dev/sr0 is write-protected, mounting read-only
[root@sticmesntp ~]# df -hT /mnt #
检查是否挂在成功
Filesystem Type Size Used Avail Use% Mounted on
/dev/sr0 iso9660 4.3G 4.3G 0 100% /mnt
[root@sticmesntp ~]# vi /etc/yum.repos.d/redhat.repo #
更新
redhat.repo
文件
[redhat]
name=RedhatRepo
baseurl=2le:///mnt
enable=1
gpgcheck=0
[root@sticmesntp ~]# yum clean all
[root@sticmesntp ~]# yum makecache
!
安装
服务
"
修改
NTP
配置文件,添加
NTP
服务器地址,注释掉公网
NTP
地址
#$$%
%&$#$'$$%
%%
!())
)!"!(*+!,,!,,!,!)%
相关文档
评论