Live CD/DVD Tips

From MediaWiki
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Quick Way To Startup: Network Time Protocol (NTP) Services

The following demonstrates how to enable the NTP service at boot time and start the NTP service at a shell prompt.

Example:

Managing The: "ntpd" Service
[root@probe ~]# systemctl enable ntpd.service
ln -s '/lib/systemd/system/ntpd.service' '/etc/systemd/system/multi-user.target.wants/ntpd.service'
[root@probe ~]# systemctl start ntpd.service
[root@probe ~]# ntpq -pn
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
 88.198.18.245   6.146.224.0      3 u    5   64    1  113.915   68.354   0.002
 24.123.214.97   129.6.15.29      2 u    4   64    1   73.682   38.248   0.002
 62.112.194.64   193.67.79.202    2 u    3   64    1  128.611  -19.668   0.002
[root@probe ~]#

Alternatively, you can use the chronyd service for time synchronization. The following example enables and starts the chronyd service:

Managing The: "cronyd" Service
[root@probe ~]# systemctl enable chronyd.service
ln -s '/lib/systemd/system/chronyd.service' '/etc/systemd/system/multi-user.target.wants/chronyd.service'
[root@probe ~]# systemctl start chronyd.service
[root@probe ~]#

The NST Web User Interface provides many web pages with additional information and tools to manage time related services. From the main NST WUI menu bar, select: System | Time Management.