瀏覽代碼

ntp servers added

pull/18/head
samuel 10 月之前
父節點
當前提交
58e04eaf8f
共有 1 個檔案被更改,包括 20 行新增1 行删除
  1. 20
    1
      linux_setup_el.sh

+ 20
- 1
linux_setup_el.sh 查看文件

@@ -411,4 +411,23 @@ cd client
rm -rf package-lock.json
npm i --force
node_modules/.bin/bower i
node_modules/.bin/ember s
node_modules/.bin/ember s

# FOR Connecting to NTP for time sync
# Install Chrony
sudo dnf install -y chrony

# Enable and start the Chrony service
sudo systemctl enable chronyd
sudo systemctl start chronyd

sudo timedatectl set-timezone Asia/Kolkata

# Configure NTP servers (Replace with your desired NTP servers)
echo "server zen01.local.bbh iburst" | sudo tee -a /etc/chrony.conf

# Restart Chrony service
sudo systemctl restart chronyd

# Display NTP synchronization status
chronyc tracking

Loading…
取消
儲存