1. Time Synchronization (manual):date-s "2015-07-15 22:13:30" Hwclock--SYSTOHC (indicates system time synchronized to hardware clock)Hwclock--hctosys (indicates hardware clock synchronization to system time)
2, according to the Internet time synchronization:First check to see if Linux has the NTP software:Rpm-qa | grep NTP
If you do not install continue to find:Yum Search NTP
Then install this NTP using the information you found above:Yum Install ntp.i386
after the installation: Enter NTP, press TAB to enter the prompt, there will be ntpdate, we need it
To start syncing:Ntpdate time.windows.comThat's it, it's simple, time.windows.com is Windows Time server
Finally, the system time is synchronized to the hardware clock:Hwclock--SYSTOHC
The Internet synchronization is complete!
3, the above two kinds of too much trouble, because NTP has a daemon can be started to synchronize the Service NTPD StartThen enter after the check: Ps-ef | grep NEPD
following the sync or not, keep looking down:1. Input Date-rSee if it's Plus 8 (+0800)2, how no +8To set the Linux time zone:Input: TzselectSelect sequence Number: 5 for AsiaThen choose the Country: 9 on behalf of ChinaThen choose 1We're going to adjust the time zone.
The above is the method of synchronization time
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Linux system time synchronization, hardware clock and system time synchronization, time zone settings