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
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章