Centos 7系统时间同步

 时间:2024-10-13 19:56:11

1、修改时区(可选)[root@localhost /]#ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

Centos 7系统时间同步

2、安装ntpdate(已安装可跳过)[root@localhost /]#yum -y install ntp

Centos 7系统时间同步

3、网络时间同步[root@localhost /]#ntpdate -u ntp.api.bz

Centos 7系统时间同步

4、查看系统时间[root@localhost /]#date -R

Centos 7系统时间同步

5、格式化系统时间[root@localhost /]#date "+%F %T"

Centos 7系统时间同步
  • 如何在ESXi中嵌套搭建FusionCompute学习环境
  • 大白菜UEFI版u盘启动盘制作使用方法
  • aria2搭建教程
  • u盘启动隐藏分区原理
  • 主板知识详解:板载 RAID
  • 热门搜索
    女帝直播攻略 湖南长沙旅游攻略 怎么把电脑屏幕调亮 半身裙怎么搭配 奇迹暖暖搭配师联盟攻略 电脑怎么设置闹钟 逆转裁判3攻略 古云有螭攻略 日本龙角散怎么吃 嵊泗列岛旅游攻略