Sfoglia il codice sorgente

ntp servers added

pull/18/head
samuel 10 mesi fa
parent
commit
58e04eaf8f
1 ha cambiato i file con 20 aggiunte e 1 eliminazioni
  1. 20
    1
      linux_setup_el.sh

+ 20
- 1
linux_setup_el.sh Vedi File

@@ -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…
Annulla
Salva