mirror of
https://github.com/LCTT/TranslateProject.git
synced 2024-12-23 21:20:42 +08:00
fix some bug in the post
阅读"https://linux.cn/article-8305-1.html"这篇文章时,发现一些命令错误,现已修改,麻烦再度校正。
This commit is contained in:
parent
3914f682ca
commit
ea23e3ebd0
@ -234,7 +234,7 @@ clear
|
||||
输入下面的命令来挂载主分区以开始系统安装:
|
||||
|
||||
```
|
||||
mount /dev/sda1 / mnt
|
||||
mount /dev/sda1 /mnt
|
||||
```
|
||||
|
||||
[
|
||||
@ -282,7 +282,7 @@ arch-chroot /mnt /bin/bash
|
||||
现在来更改语言配置:
|
||||
|
||||
```
|
||||
nano /etc/local.gen
|
||||
nano /etc/locale.gen
|
||||
```
|
||||
|
||||
[
|
||||
@ -328,7 +328,7 @@ LANG=en_US.UTF-8
|
||||
输入下面的命令来同步时区:
|
||||
|
||||
```
|
||||
ls user/share/zoneinfo
|
||||
ls usr/share/zoneinfo
|
||||
```
|
||||
|
||||
下面你将看到整个世界的时区列表。
|
||||
@ -340,7 +340,7 @@ ls user/share/zoneinfo
|
||||
输入下面的命令来选择你所在的时区:
|
||||
|
||||
```
|
||||
ln –s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
ls –s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
```
|
||||
|
||||
或者你可以从下面的列表中选择其它名称。
|
||||
@ -352,7 +352,7 @@ ln –s /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
||||
使用下面的命令来设置标准时间:
|
||||
|
||||
```
|
||||
hwclock --systohc –utc
|
||||
hwclock --systohc --utc
|
||||
```
|
||||
|
||||
硬件时钟已同步。
|
||||
|
Loading…
Reference in New Issue
Block a user