Debian系统时间网络同步
来源:互联网 发布:java 打印所有参数 编辑:程序博客网 时间:2024/05/22 11:32
1.下载组件:
#apt-get install ntp ntpdate
2.编辑/etc/rc.local
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/usr/sbin/ntpdate stdtime.gov.hk
exit 0
粗体为新添加内容!
原理分析:ntpdate在开机时运行一次,以后不再运行!ntp在开机时启动,会每隔一下段时间和ntpd服务器进行同步!
- Debian系统时间网络同步
- debian同步当前系统时间
- Debian系统中同步系统的时间
- debian 时间同步
- Debian时间同步
- Ubuntu 系统时间与网络时间同步
- CentOS系统时间与网络同步
- CentOS系统时间与网络同步
- 用ntp 网络同步 CentOS 系统时间
- CentOS系统时间与网络同步
- CentOS系统时间与网络同步
- CentOS系统时间与网络同步
- CentOS系统时间与网络同步
- centos7 设置系统时间与网络同步
- Debian 系统时间
- debian系统时间设置
- windows获取网络时间,同步系统时间方法
- Linux 设置系统时间与网络时间同步
- 原来中国的黑客精神已经消失了。。。
- MBR DBR Boot_Sector
- flex站点
- PHP5的异常处理机制[8]--Try-catch 语句
- night
- Debian系统时间网络同步
- vim+code_complete+ctags配置vim自动缩进函数补全环境 (转载)
- 【嵌入式Linux学习七步曲之第五篇 Linux内核及驱动编程】Oops在Linux 2.6内核+PowerPC架构下的前世今生
- SVN服务端和客户端安装使用说明
- vista操作系统上用vmware6.5.3安装Ubuntu8.04
- Big Endian and Small Endian
- ASP.NET(ASPX)页面获取form表单提交元素的值
- ttyLinux安装完整指南
- Ubuntu Linux上安装SSH和Vsftpd的方法