Timezone/Timesync
Set the TimeZone
vi /etc/localtime
Available timezone configs can be found in the /usr/share/zoneinfo directory
Install NTP
For RHEL, CentOS, Fedora, etc.
sudo yum install ntp ntpdate ntp-doc -y
For Debian, Ubuntu
sudo apt install ntp ntpdate ntp-doc
Load (enable) NTP Service
NTP Service
service ntpd *
status
enable
disable
start
stop
restart
systemclt * ntpd.service
status
enable
disable
start
stop
restart
mask
unmask
Set NTP Sync
ntpdate pool.ntp.org
Edit NTP Pool Servers
vi /etc/ntp.conf
server 0.centos.pool.ntp.org iburst
server 1.centos.pool.ntp.org iburst
server 2.centos.pool.ntp.org iburst
server 3.centos.pool.ntp.org iburst
server 0.europe.pool.ntp.org
server 1.europe.pool.ntp.org