Bladeren bron

ntp servers added

pull/18/head
samuel 10 maanden geleden
bovenliggende
commit
58e04eaf8f
1 gewijzigde bestanden met toevoegingen van 20 en 1 verwijderingen
  1. 20
    1
      linux_setup_el.sh

+ 20
- 1
linux_setup_el.sh Bestand weergeven

@@ -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

Laden…
Annuleren
Opslaan