Bläddra i källkod

ntp servers added

pull/18/head
samuel 10 månader sedan
förälder
incheckning
58e04eaf8f
1 ändrade filer med 20 tillägg och 1 borttagningar
  1. 20
    1
      linux_setup_el.sh

+ 20
- 1
linux_setup_el.sh Visa fil

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

Laddar…
Avbryt
Spara