The time of VM Ware virtual machine centos is inconsistent with the local time, as shown in the figure below. It is probably a problem with the time zone setting. Just set it to China Standard Time, CST. Solution1. Install the time synchronization plug-in ntpdate yum install ntpdate 2. Start the service service ntpdate restart or systemctl restart ntpdate 3. Set the time zone 1). Delete local time (US time): rm -rf /etc/localtime 2). Set the time zone to Shanghai: ln -s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 4. Verification Enter the date to see if it is correct 5. But after reboot, it failed. 6. Put it in crond NTP Network Time Protocol, put it in crond, that is, it is the same as the network time at all times. After restart, it still takes effect. OK!
Add this line of information:
This is the end of this article about the inconsistency between VMWare virtual machine centos time and local time. For more relevant VMWare virtual machine centos time content, please search 123WORDPRESS.COM's previous articles or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Use Typescript configuration steps in Vue
>>: Fixed table width table-layout: fixed
Table of contents Preface 1. With vue-cli 1. Defi...
Overview For small and medium-sized projects, joi...
There are 4 commonly used methods, as follows: 1....
This article shares the specific code for impleme...
<base target=_blank> changes the target fram...
Table of contents Introduction Child Process Crea...
1. Qualitative changes brought by CSS variables T...
v-model is a Vue directive that provides two-way...
1. First stop the mysql service As an administrat...
When releasing a project, you will often encounte...
This article example shares the specific code of ...
Problem description: The user has a requirement t...
Table of contents Introduction question Design 1:...
MySQL5.6.40 installation process under CentOS7 64...
Table of contents VARCHAR and CHAR Types Conclusi...