mirror of
https://github.com/Dichgrem/Blog.git
synced 2025-02-23 05:58:36 -05:00
just push
This commit is contained in:
parent
d5a5491aa3
commit
5956c4f946
@ -178,4 +178,32 @@ I don't have internet
|
|||||||
``
|
``
|
||||||
即可。
|
即可。
|
||||||
|
|
||||||
|
## 同步 Windows 和 Linux 的时间
|
||||||
|
|
||||||
|
- 让 Windows 与网络同步时间
|
||||||
|
|
||||||
|
进入控制面板(找不到的,在 Win+R 弹出的「运行」对话框中输入 control ,点击确定,以打开控制面板)。打开「日期与时间」,选择「Internet 时间」标签,点击「更改设置」按钮。
|
||||||
|
|
||||||
|
在弹出窗口中可以立即进行时间同步或配置自动时间同步。服务器仍然可以选择 cn.ntp.org.cn。
|
||||||
|
|
||||||
|
同步出错的,可以到 services.msc 「服务」中查看是否 "Windows Time" 服务被关闭了。如果是,请启动服务后再试。
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
- 让 Windows 把硬件时间当作 UTC
|
||||||
|
|
||||||
|
> 注意:在 Windows 7 之前的系统中不建议这么做。
|
||||||
|
|
||||||
|
在注册表编辑器(regedit.exe)中,找到注册表项
|
||||||
|
```
|
||||||
|
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
|
||||||
|
```
|
||||||
|
在右侧新建名为``RealTimeIsUniversal`` 的 DWORD 值,并将其设置为1。
|
||||||
|
|
||||||
|
亦可将以下内容保存为 .reg 文件后双击直接导入。
|
||||||
|
```
|
||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
|
||||||
|
“RealTimeIsUniversal”=dword:00000001
|
||||||
|
```
|
||||||
|
之后重启计算机。
|
||||||
|
Binary file not shown.
BIN
public/pagefind/fragment/en_64abe77.pf_fragment
Normal file
BIN
public/pagefind/fragment/en_64abe77.pf_fragment
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/fragment/en_af83207.pf_fragment
Normal file
BIN
public/pagefind/fragment/en_af83207.pf_fragment
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_554360c.pf_index
Normal file
BIN
public/pagefind/index/en_554360c.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_a5ee1c1.pf_index
Normal file
BIN
public/pagefind/index/en_a5ee1c1.pf_index
Normal file
Binary file not shown.
Binary file not shown.
BIN
public/pagefind/index/en_c7e1a23.pf_index
Normal file
BIN
public/pagefind/index/en_c7e1a23.pf_index
Normal file
Binary file not shown.
BIN
public/pagefind/index/en_d034819.pf_index
Normal file
BIN
public/pagefind/index/en_d034819.pf_index
Normal file
Binary file not shown.
@ -1 +1 @@
|
|||||||
{"version":"1.2.0","languages":{"en":{"hash":"en_cf1ed80a35","wasm":"en","page_count":107}}}
|
{"version":"1.2.0","languages":{"en":{"hash":"en_b946873bc2","wasm":"en","page_count":107}}}
|
BIN
public/pagefind/pagefind.en_b946873bc2.pf_meta
Normal file
BIN
public/pagefind/pagefind.en_b946873bc2.pf_meta
Normal file
Binary file not shown.
Binary file not shown.
@ -258,6 +258,29 @@ Windows注册表实质上是一个庞大的数据库,存储着各种各样的
|
|||||||
回车之后会重启,之后就可以跳过联网了,选择
|
回车之后会重启,之后就可以跳过联网了,选择
|
||||||
<code>I don't have internet</code>
|
<code>I don't have internet</code>
|
||||||
即可。</p>
|
即可。</p>
|
||||||
|
<h2 id="tong-bu-windows-he-linux-de-shi-jian">同步 Windows 和 Linux 的时间</h2>
|
||||||
|
<ul>
|
||||||
|
<li>让 Windows 与网络同步时间</li>
|
||||||
|
</ul>
|
||||||
|
<p>进入控制面板(找不到的,在 Win+R 弹出的「运行」对话框中输入 control ,点击确定,以打开控制面板)。打开「日期与时间」,选择「Internet 时间」标签,点击「更改设置」按钮。</p>
|
||||||
|
<p>在弹出窗口中可以立即进行时间同步或配置自动时间同步。服务器仍然可以选择 cn.ntp.org.cn。</p>
|
||||||
|
<p>同步出错的,可以到 services.msc 「服务」中查看是否 "Windows Time" 服务被关闭了。如果是,请启动服务后再试。</p>
|
||||||
|
<ul>
|
||||||
|
<li>让 Windows 把硬件时间当作 UTC</li>
|
||||||
|
</ul>
|
||||||
|
<blockquote>
|
||||||
|
<p>注意:在 Windows 7 之前的系统中不建议这么做。</p>
|
||||||
|
</blockquote>
|
||||||
|
<p>在注册表编辑器(regedit.exe)中,找到注册表项</p>
|
||||||
|
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation
|
||||||
|
</span></code></pre>
|
||||||
|
<p>在右侧新建名为<code>RealTimeIsUniversal</code> 的 DWORD 值,并将其设置为1。</p>
|
||||||
|
<p>亦可将以下内容保存为 .reg 文件后双击直接导入。</p>
|
||||||
|
<pre style="background-color:#151515;color:#e8e8d3;"><code><span>Windows Registry Editor Version 5.00
|
||||||
|
</span><span>[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation]
|
||||||
|
</span><span>“RealTimeIsUniversal”=dword:00000001
|
||||||
|
</span></code></pre>
|
||||||
|
<p>之后重启计算机。</p>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user