0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ubuntu 24.04 LTSで自宅サーバー構築(NTPsecの設定)

Last updated at Posted at 2024-08-10

初期費用無料、月額990円から、高速・多機能・高安定レンタルサーバー『エックスサーバー』

NTP サーバーの構築
taisuke@ubuntuserver:~$ sudo apt -y install ntpsec
taisuke@ubuntuserver:~$ sudo vi /etc/ntpsec/ntp.conf
24行目#tos minclock 4 minsane 3
34行目デフォルト設定はコメントにして使用したい NTP サーバーを追記
#pool 0.ubuntu.pool.ntp.org iburst
#pool 1.ubuntu.pool.ntp.org iburst
#pool 2.ubuntu.pool.ntp.org iburst
#pool 3.ubuntu.pool.ntp.org iburst
#Use Ubuntu's ntp server as a fallback.
#server ntp.ubuntu.com
pool ntp.nict.jp iburst
taisuke@ubuntuserver:~$ sudo systemctl restart ntpsec
動作確認
taisuke@ubuntuserver:~$ sudo ntpq -p
ntp.nict.jpで時刻が設定されていればokです。
初期費用無料、月額990円から、高速・多機能・高安定レンタルサーバー『エックスサーバー』

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?