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

Linux Mint How To Remove Repository

Following is an exercise in removing erroneous repo config that would cause apt update to…

Install MySQL on CentOS 5.2

To install MySQL, we do this:yum install mysql mysql-devel mysql-serverThen we create the system startup…

How to Install Virtualbox in Ubuntu

Simply run these two commands: sudo add-apt-repository multiverse && sudo apt-get update sudo apt -y…