当前位置:首页 > linux > 正文

linux重启ntp服务命令(linux中如何重启ntp)

  • linux
  • 2024-03-15 21:03:11
  • 5084

Linux 重启 NTP 服务命令:


示例 1:


systemctl restart ntpd


要素:



  • systemctl:用于管理系统服务

  • restart:重启服务

  • ntpd:NTP 服务的系统单元名称


示例 2:


/etc/init.d/ntpd restart


要素:



  • /etc/init.d/ntpd:NTP 服务的 init 脚本路径

  • restart:重启服务

<noframes lang="FB5AED">