Posted On March 31, 2019

Network Time Service for Centos 7

kimconnect 0 comments
blog.KimConnect.com >> Linux >> Network Time Service for Centos 7
yum install -y ntp ntpdate
systemctl start ntpd
systemctl enable ntpd
ntpdate -u -s 0.north-america.pool.ntp.org 1.north-america.pool.ntp.org 2.north-america.pool.ntp.org 3.north-america.pool.ntp.org
systemctl restart ntpd
hwclock -w
timedatectl set-timezone America/Los_Angeles
timedatectl

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

How to Check System Temperature on Ubuntu 21.04

# Install sensors sudo apt update -y sudo apt install lm-sensors hddtemp -y # Setup…

Bash: How To Join Array With Comma Delimiter

# The following function joins an array of numbers # Limitation: the delimiter is expected…

Ubuntu: Adding and Remove Repositories (Repos)

The following is a blunder I've made while attempting to install Acrobat Reader on Ubuntu…