When we use a computer, we sometimes find that the system time is out of order. So how do you make the system time accurate? Today Xiaobian teaches you a simple way to use NTP for system time adjustment.
NTP is short for Network Time Protocol, meaning "Network Time Protocol" is a time synchronization protocol implemented by TCP/IP.
Ubuntu automatically synchronizes to ntp.ubuntu.com every time it starts. However, since the server generally does not start frequently, the time offset cannot be avoided, and the deviation may be large. Therefore, we need to correct the time of the server from time to time. The most convenient way is to perform a time synchronization every day with cron's scheduled tasks.
Solution:
1. Create a file /etc/cron.daily/timeupdate:
___ FCKpd ___ 0nbsp; sudo nano /etc/cron.daily/timeupdate
2. Enter the following:
ntpdate ntp.ubuntu.com
3. After saving the file, you also need to give it executable permissions:
___FCKpd___2nbsp;sudo chmod 755 /etc/cron.daily/timeupdate
This way, the system can get time every day at ntp.ubuntu.com (all tasks in /etc/cron.daily/directory will be executed every day) Once) and calibrate the time of the server itself. If you are concerned about time acquisition failure, you can add multiple NTP servers to the /etc/cron.daily/timeupdate file:
ntpdate ntp.ubuntu.com pool.ntp.org
The above is the way to solve the Linux system time error. If you find that your computer system time is also wrong, then use this method to solve it.
CentOS system operation, sometimes need to reset the root password, and CentOS 7 ro
Some users prefer to use the command line, but on the Linux system of the command l
on Linux Makeself is just a script under Linux, can be used for file creation, because makeself has
A lot of people have problems installing the boost library on Linux. When using c++
How to solve the problem of Linux not releasing disk space
What should I do when Linux upgrades Glibc?
Does Linux use the ODBC method or the DBI way to install the R language extension package?
Debian install closed source package method
How to solve the garbled problem when opening Emacs under Linux?
What should I do if the Linux runlevel is set to 6 and then restart infinitely?
The difference between hardware processing and software processing in Linux system
How to view the vsftp database db file in Linux
Parameters and function descriptions of the Linux system Xconfigurator command
Linux configuration Python environment method
A new chapter in Win10! Microsoft Build2015 Developer Conference comprehensive observation
Quickly close unresponsive program in win7 operating system
Win7 set Thunder download acceleration method
Windows8 system personalized lock screen interface setting method graphic tutorial
Windows8 system ARM platform 3 big gang
Win8.1C disk space is getting smaller and smaller solutions
How does win8 change the status of the default browser of ie10?
Experts have gotten the DNS resolution faults.