系统相关
首页 > 系统相关> > Set NTP Service on Kali Linux

Set NTP Service on Kali Linux

作者:互联网

Kali Linux version: Kali2019/2020

NTP means Network Time Protocol.

  1. Install NTP service
apt install ntp
  1. Check ntp
dpkg --get-selections ntp
  1. Modify ntp.conf
vi /etc/ntp.conf
  1. Find key word
pool 0.debian.pool.ntp.org iburst
pool 1.debian.pool.ntp.org iburst
pool 2.debian.pool.ntp.org iburst
pool 3.debian.pool.ntp.org iburst

Instead of the 4 lines pools with your own NTP Server.
For example:

pool ntp.api.bz iburst  # Shanghai server
pool asia.pool.ntp.org iburst # Taiwang server
pool time.nist.gov iburst # Can't to connect in China Because GFW of China 
pool time.windows.com iburst # Can't to connect in China Because GFW of China
  1. Enable NTP on Boot
systemctl enable ntp.service
  1. Restart NTP service
systemctl restart ntp.service

Check it.

systemctl status ntp.service

Or

ntpq -pn

标签:Set,service,NTP,Linux,iburst,ntp,org,pool
来源: https://www.cnblogs.com/freedom-try/p/12626433.html