debian 时间同步
来源:互联网 发布:阿里云开放所有端口 编辑:程序博客网 时间:2024/05/02 04:24
设置时区
dpkg-reconfigure tzdata
1,查看debian当前时间
debian:~# date
2,手动更改系统时间
debian:~# date 120110552007.12
顺序为 月 日时分 年 . 秒
3,同步Internet时间,首先安装时间同步软件
apt-get install ntpdate
4,手动同步系统时间
ntpdate cn.pool.ntp.org
5,如果重新启动后时间不是Internet时间可采取以下方法
法1.修改/etc/default目录下的ntpdate
在配置文件中发现了它设定时间服务器为pool.ntp.org,
对此域名执行ping命令,把得到的ip"207.210.74.166"对域名进行替换
法2.做一个同步的脚本ntpupdate在开机时调用,内容如下
#!/bin/sh
/usr/sbin/ntpdate time.nist.gov | logger -t NTP
/sbin/hwclock -w
关闭/打开ntpdate服务
/etc/init.d/ntp stop/start
0 0
- debian 时间同步
- Debian时间同步
- Debian系统时间网络同步
- debian同步当前系统时间
- Debian系统中同步系统的时间
- T60 debian下时间。。。
- debian的时间设置
- debian时间设置
- Debian 系统时间
- debian系统时间设置
- Debian及树莓派改时间
- 时间同步
- 时间同步
- 时间同步
- 同步时间
- 时间同步
- 时间同步
- 时间同步
- Linux中find常见用法示例
- 不要让团队去实现你的理想
- HTML5 & CSS3的新交互特性
- ARMA model
- 失恋签名_有的时候之前的记忆太深 它会抢走之后的记忆
- debian 时间同步
- git服务配置
- JavaScript没有块级作用域
- Planing
- SSH 部分jar包的作用
- 字符串排序算法(冒泡、选择、插入、希尔、快速)
- 如何让你的电脑保持清爽
- RMAN Catalog vs Nocatalog(引用)
- Android中的lcd_density && 在应用源码中设置横竖屏和取消横竖屏