Linux 服务器时间同步
来源:互联网 发布:墨子号成功发射 知乎 编辑:程序博客网 时间:2024/06/11 21:05
配置硬件时间不与UTC一致
# vi /etc/sysconfig/clock
ZONE="Asia/Shanghai"
UTC=false
ARC=false
服务器时区设置为上海
# ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
安装ntp服务器
# yum install ntp
校准时间
# ntpdate time.nist.gov
设置硬件时间和系统时间一致并校准
# /sbin/hwclock --systohc
至此,服务器时区为cst(+8时区),即上海时间
0 0
- Linux服务器时间同步
- Linux服务器时间同步
- Linux服务器同步时间
- Linux服务器时间同步
- linux服务器同步时间
- Linux 服务器时间同步
- Linux服务器时间同步
- Linux服务器时间同步
- linux 服务器时间同步
- linux 服务器时间同步
- Linux 服务器时间同步
- Linux同步时间服务器
- Linux服务器时间同步
- Linux 服务器时间同步
- linux服务器时间同步
- Linux服务器时间同步
- LINUX服务器同步时间
- 让Linux服务器时间同步
- system alert dialog example
- hdu 6011Lotus and Characters
- 3192: [JLOI2013]删除物品
- 工具篇之优雅地使用Sublime Text3
- windows10下安装ubuntu16.04的双系统
- Linux 服务器时间同步
- 第十五周:55. Jump Game
- 摄像机标定02_线阵摄像机(Camera Calibration)
- 问题 C: 神奇的数字9 【数学】
- ACM-时区间时间的转换
- JavaScript中的预解析顺序(优先级)
- 通用缓存框架,JAD-CACHE用srping集成Memcache
- ECSHOP中实现ajax弹窗登录
- JQuery 的简单介绍