Browse Source

ntp servers added

pull/18/head
samuel 10 months ago
parent
commit
58e04eaf8f
1 changed files with 20 additions and 1 deletions
  1. 20
    1
      linux_setup_el.sh

+ 20
- 1
linux_setup_el.sh View File

rm -rf package-lock.json rm -rf package-lock.json
npm i --force npm i --force
node_modules/.bin/bower i 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…
Cancel
Save