Active
@@ -186,12 +185,120 @@ systemctl status name.service
systemctl is-active name.service
```
+is-active命令的返回结果如下:
+
+**表 3** is-active命令的返回结果
+
+
+状态
+ |
+含义
+ |
+
+
+active(running)
+ |
+有一只或多只程序正在系统中执行
+ |
+
+active(exited)
+ |
+仅执行一次就正常结束的服务,目前并没有任何程序在系统中执行。 举例来说,开机或者 是挂载时才会进行一次的 quotaon 功能
+ |
+
+active(waiting)
+ |
+正在执行当中,不过要等待其他的事件才能继续处理。例如:打印的队列相关服务 就是这种状态,虽然正在启动中,不过也需要真的有队列进来 (打印作业) 这样他才会继续唤醒打印机 服务来进行下一步打印的功能
+ |
+
+inactive
+ |
+这个服务没有运行
+ |
+
+
+
+
同样,如果您需要判断某个服务是否被启用,可执行如下命令:
```
systemctl is-enabled name.service
```
+is-enabled命令的返回结果如下:
+
+**表 4** is-enabled命令的返回结果
+
+
+状态
+ |
+含义
+ |
+
+
+"enabled"
+ |
+已经通过 /etc/systemd/system/ 目录下的 Alias= 别名、 .wants/ 或 .requires/ 软连接被永久启用。
+ |
+
+"enabled-runtime"
+ |
+已经通过 /run/systemd/system/ 目录下的 Alias= 别名、 .wants/ 或 .requires/ 软连接被临时启用。
+ |
+
+"linked"
+ |
+虽然单元文件本身不在标准单元目录中,但是指向此单元文件的一个或多个软连接已经存在于 /etc/systemd/system/ 永久目录中。
+ |
+
+"linked-runtime"
+ |
+虽然单元文件本身不在标准单元目录中,但是指向此单元文件的一个或多个软连接已经存在于 /run/systemd/system/ 临时目录中。
+ |
+
+"masked"
+ |
+已经被 /etc/systemd/system/ 目录永久屏蔽(软连接指向 /dev/null 文件),因此 start 操作会失败。
+ |
+
+"masked-runtime"
+ |
+已经被 /run/systemd/systemd/ 目录临时屏蔽(软连接指向 /dev/null 文件),因此 start 操作会失败。
+ |
+
+"static"
+ |
+尚未被启用,并且单元文件的 "[Install]" 小节中没有可用于 enable 命令的选项。
+ |
+
+"indirect"
+ |
+尚未被启用,但是单元文件的 "[Install]" 小节中 Also= 选项的值列表非空(也就是列表中的某些单元可能已被启用)、或者它拥有一个不在 Also= 列表中的其他名称的别名软连接。对于模版单元来说,表示已经启用了一个不同于 DefaultInstance= 的实例。
+ |
+
+"disabled"
+ |
+尚未被启用,但是单元文件的 "[Install]" 小节中存在可用于 enable 命令的选项
+ |
+
+"generated"
+ |
+单元文件是被单元生成器动态生成的。被生成的单元文件可能并未被直接启用,而是被单元生成器隐含的启用了。
+ |
+
+"transient"
+ |
+单元文件是被运行时API动态临时生成的。该临时单元可能并未被启用。
+ |
+
+"bad"
+ |
+单元文件不正确或者出现其他错误。 is-enabled 不会返回此状态,而是会显示一条出错信息。 list-unit-files 命令有可能会显示此单元。
+ |
+
+
+
+
例如查看gdm.service服务状态,命令如下:
```
diff --git "a/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\350\277\233\347\250\213.md" "b/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\350\277\233\347\250\213.md"
index a892ef15293ac696c084eb1dcb0963092ec1d87c..dd866e3d76a3ab1d011703508a216bbdb36bc362 100644
--- "a/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\350\277\233\347\250\213.md"
+++ "b/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\350\277\233\347\250\213.md"
@@ -1,5 +1,3 @@
# 管理系统进程
操作系统管理多个用户的请求和多个任务。大多数系统都只有一个CPU和一个主要存储,但一个系统可能有多个二级存储磁盘和多个输入/输出设备。操作系统管理这些资源并在多个用户间共享资源,当用户提出一个请求时,造成好像系统被用户独占的假象。实际上操作系统监控着一个等待执行的任务队列,这些任务包括用户任务、操作系统任务、邮件和打印任务等。本节将从用户的角度讲述如何控制进程。
-
-
diff --git "a/content/zh/docs/Administration/\347\256\241\347\220\206\350\277\233\347\250\213.md" "b/content/zh/docs/Administration/\347\256\241\347\220\206\350\277\233\347\250\213.md"
index dbebb7d4ae58305c92dabe3724ffbeb7d803df27..b65bbd64224c437c522dad01793470f20ef1219c 100644
--- "a/content/zh/docs/Administration/\347\256\241\347\220\206\350\277\233\347\250\213.md"
+++ "b/content/zh/docs/Administration/\347\256\241\347\220\206\350\277\233\347\250\213.md"
@@ -1,5 +1,3 @@
# 管理进程
本章介绍了Linux内核的进程管理方式,然后以实例的方式讲解了Linux提供的常用的进程控制命令、at和cron服务,以及进程查看命令。
-
-
diff --git "a/content/zh/docs/Administration/\350\256\276\347\275\256RAID0\345\215\267-\345\217\202\346\225\260stripsize\350\256\276\347\275\256\344\270\2724\346\227\266\345\207\272\351\224\231.md" "b/content/zh/docs/Administration/\350\256\276\347\275\256RAID0\345\215\267-\345\217\202\346\225\260stripsize\350\256\276\347\275\256\344\270\2724\346\227\266\345\207\272\351\224\231.md"
new file mode 100644
index 0000000000000000000000000000000000000000..8471ce93cd171e2c2fe585a1719afc9c859e8152
--- /dev/null
+++ "b/content/zh/docs/Administration/\350\256\276\347\275\256RAID0\345\215\267-\345\217\202\346\225\260stripsize\350\256\276\347\275\256\344\270\2724\346\227\266\345\207\272\351\224\231.md"
@@ -0,0 +1,14 @@
+# 设置RAID0卷,参数stripsize设置为4时出错
+
+## 问题现象
+
+设置RAID0卷,参数stripsize设置为4时出错。
+
+## 原因分析
+
+64K页表开启只能支持64K场景。
+
+## 解决方法
+
+openEuler条带化规格支持的stripesize最小值为64KB,将参数stripesize设置为64。
+
diff --git "a/content/zh/docs/Administration/\350\256\276\347\275\256\346\227\245\346\234\237\345\222\214\346\227\266\351\227\264.md" "b/content/zh/docs/Administration/\350\256\276\347\275\256\346\227\245\346\234\237\345\222\214\346\227\266\351\227\264.md"
index 2288c228feda36a940cdacfd12036d02fb6cbf0b..fb7f43e2af97e19e61931c44ac3917022bcebb3a 100644
--- "a/content/zh/docs/Administration/\350\256\276\347\275\256\346\227\245\346\234\237\345\222\214\346\227\266\351\227\264.md"
+++ "b/content/zh/docs/Administration/\350\256\276\347\275\256\346\227\245\346\234\237\345\222\214\346\227\266\351\227\264.md"
@@ -1,5 +1,3 @@
# 设置日期和时间
本节介绍如何通过timedatectl、date、hwclock命令来设置系统的日期、时间和时区等。
-
-
diff --git "a/content/zh/docs/Administration/\350\256\276\347\275\256\347\275\221\347\273\234\350\277\236\346\216\245.md" "b/content/zh/docs/Administration/\350\256\276\347\275\256\347\275\221\347\273\234\350\277\236\346\216\245.md"
index 2ea139d266b4043d1a3099e6a2e075017829fe1c..f426a20cc7f4a6dbaddccd09d5a4b57f83b89938 100644
--- "a/content/zh/docs/Administration/\350\256\276\347\275\256\347\275\221\347\273\234\350\277\236\346\216\245.md"
+++ "b/content/zh/docs/Administration/\350\256\276\347\275\256\347\275\221\347\273\234\350\277\236\346\216\245.md"
@@ -5,6 +5,7 @@
```
# nmcli con show
+
NAME UUID TYPE DEVICE
enp4s0 5afce939-400e-42fd-91ee-55ff5b65deab ethernet enp4s0
enp3s0 c88d7b69-f529-35ca-81ab-aa729ac542fd ethernet enp3s0
@@ -18,6 +19,7 @@ virbr0 ba552da6-f014-49e3-91fa-ec9c388864fa bridge virbr0
```
# nmcli dev status
+
DEVICE TYPE STATE CONNECTION
enp3s0 ethernet connected enp3s0
enp4s0 ethernet connected enp4s0
@@ -25,5 +27,3 @@ virbr0 bridge connected virbr0
lo loopback unmanaged --
virbr0-nic tun unmanaged --
```
-
-
diff --git "a/content/zh/docs/Administration/\350\256\276\347\275\256\350\257\255\350\250\200\347\216\257\345\242\203.md" "b/content/zh/docs/Administration/\350\256\276\347\275\256\350\257\255\350\250\200\347\216\257\345\242\203.md"
index d795617f4b9db63d87a5734ffed0625d99145820..7f8a605064e2f72025ce9a6eed40b52f9f54964f 100644
--- "a/content/zh/docs/Administration/\350\256\276\347\275\256\350\257\255\350\250\200\347\216\257\345\242\203.md"
+++ "b/content/zh/docs/Administration/\350\256\276\347\275\256\350\257\255\350\250\200\347\216\257\345\242\203.md"
@@ -36,7 +36,7 @@ zh_CN.UTF-8
## 设置语言环境
-要设置语言环境,在root权限下执行如下命令,其中_locale_是您要设置的语言类型,请根据实际情况修改。修改后需要重新登录才能生效。
+要设置语言环境,在root权限下执行如下命令,其中_locale_是您要设置的语言类型,请根据实际情况修改。
```
localectl set-locale LANG=locale
@@ -48,3 +48,9 @@ localectl set-locale LANG=locale
# localectl set-locale LANG=zh_CN.UTF-8
```
+>![](public_sys-resources/icon-note.gif) **说明:**
+>修改后需要重新登录或者执行如下命令刷新配置文件,使修改生效。
+>```
+>source /etc/locale.conf
+>```
+
diff --git "a/content/zh/docs/Administration/\350\260\203\345\272\246\345\220\257\345\212\250\350\277\233\347\250\213.md" "b/content/zh/docs/Administration/\350\260\203\345\272\246\345\220\257\345\212\250\350\277\233\347\250\213.md"
index af60966ba5e3a87cd92af9f40b403f62ea4ea90c..57991508459f1f54d20241c2ed2cf31e15a188c7 100644
--- "a/content/zh/docs/Administration/\350\260\203\345\272\246\345\220\257\345\212\250\350\277\233\347\250\213.md"
+++ "b/content/zh/docs/Administration/\350\260\203\345\272\246\345\220\257\345\212\250\350\277\233\347\250\213.md"
@@ -1,5 +1,3 @@
# 调度启动进程
有时候需要对系统进行一些比较费时而且占用资源的维护工作,这些工作适合在深夜进行,这时候用户就可以事先进行调度安排,指定任务运行的时间或者场合,到时候系统会自动完成这些任务。要使用自动启动进程的功能,就需要掌握以下几个启动命令。
-
-
diff --git "a/content/zh/docs/Administration/\351\200\232\350\277\207\345\221\275\344\273\244\350\256\276\347\275\256.md" "b/content/zh/docs/Administration/\351\200\232\350\277\207\345\221\275\344\273\244\350\256\276\347\275\256.md"
index cc8297dad323d4ed40344220c44a3fb254b0fb96..20e118c887382d3f08f2f691b2e9410811ab1001 100644
--- "a/content/zh/docs/Administration/\351\200\232\350\277\207\345\221\275\344\273\244\350\256\276\347\275\256.md"
+++ "b/content/zh/docs/Administration/\351\200\232\350\277\207\345\221\275\344\273\244\350\256\276\347\275\256.md"
@@ -1,3 +1 @@
# 通过命令设置
-
-
diff --git "a/content/zh/docs/Administration/\351\203\250\347\275\262\350\277\234\347\253\257repo\346\272\220.md" "b/content/zh/docs/Administration/\351\203\250\347\275\262\350\277\234\347\253\257repo\346\272\220.md"
index 2a4c039a9a5d266fd1d23cb139befc0afdb03ba8..5bd1de7763d4039302e93e24ed1c96d4bcb16149 100644
--- "a/content/zh/docs/Administration/\351\203\250\347\275\262\350\277\234\347\253\257repo\346\272\220.md"
+++ "b/content/zh/docs/Administration/\351\203\250\347\275\262\350\277\234\347\253\257repo\346\272\220.md"
@@ -1,4 +1,3 @@
# 部署远端repo源
-安装操作系统openEuler1.0(openEuler-1.0-aarch64-dvd.iso),在openEuler1.0上通过nginx部署repo源。
-
+安装操作系统openEuler1.0(openEuler-1.0-aarch64-dvd.iso),在openEuler1.0上通过nginx部署repo源。
\ No newline at end of file
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256-IP.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256-IP.md"
index 2fffdb529bdb7b71dc38d4a6e8ac33455f865c3d..f37dd74a1dd4eb485c3c49bc3922ffb2147b35ab 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256-IP.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256-IP.md"
@@ -1,3 +1,2 @@
# 配置 IP
-
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256DNF.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256DNF.md"
index cdd4a126403e410b9f8897f1f0337784b3f6604f..59171e5a90fd9498c45e9309947a09539759a6a7 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256DNF.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256DNF.md"
@@ -1,3 +1 @@
# 配置DNF
-
-
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256vsftpd.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256vsftpd.md"
index d93965fb4bb42f05738ab6fb4a10c5c56b7609aa..2c1ed7410fb3ea815c4692ca7e2d7de86bcbaee3 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256vsftpd.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256vsftpd.md"
@@ -1,4 +1 @@
# 配置vsftpd
-
-
-
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md"
index 2357ffaa73df76ef99e45e3ed252a002f6f7bf8b..2a2efb265822a4288985ee3de40b6a1cd21cb1ca 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md"
@@ -1,4 +1 @@
# 配置主机名
-
-
-
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256\345\212\250\346\200\201IP\350\277\236\346\216\245.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256\345\212\250\346\200\201IP\350\277\236\346\216\245.md"
index 1e88e6e229a3b133b56ad8b638fe64db39c60dc2..d6782b4476c5a2c50c852c046e0624eb793fbb92 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256\345\212\250\346\200\201IP\350\277\236\346\216\245.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256\345\212\250\346\200\201IP\350\277\236\346\216\245.md"
@@ -11,7 +11,7 @@ nmcli connection add type ethernet con-name connection-name ifname interface-nam
例如创建名为net-test的动态连接配置文件,使用以下命令:
```
-# nmcli connection add type ethernet con-name net-test ifname enp3s0
+# nmcli connection add type ethernet con-name net-test ifname enp3s0
Connection 'net-test' (a771baa0-5064-4296-ac40-5dc8973967ab) successfully added.
```
@@ -30,6 +30,7 @@ Connection successfully activated (D-Bus active path:/org/freedesktop/NetworkMan
```
# nmcli device status
+
DEVICE TYPE STATE CONNECTION
enp4s0 ethernet connected enp4s0
enp3s0 ethernet connected net-test
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256\347\275\221\347\273\234.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256\347\275\221\347\273\234.md"
index 86af48fa183441fc96993c9d6d39498545c65201..af0e1f894454bab26dd090599440a29c16d513b6 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256\347\275\221\347\273\234.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256\347\275\221\347\273\234.md"
@@ -1,4 +1 @@
# 配置网络
-
-
-
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256\350\257\264\346\230\216.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256\350\257\264\346\230\216.md"
index ed8b72ca678f452365b686ff197654e69b9967ac..a63de195ef5eaf518be4eb29358466cd0b0d743f 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256\350\257\264\346\230\216.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256\350\257\264\346\230\216.md"
@@ -1,3 +1 @@
# 配置说明
-
-
diff --git "a/content/zh/docs/Administration/\351\205\215\347\275\256\351\235\231\346\200\201IP\350\277\236\346\216\245.md" "b/content/zh/docs/Administration/\351\205\215\347\275\256\351\235\231\346\200\201IP\350\277\236\346\216\245.md"
index f70b8b3ca44c8b1afe9273ffad9ee4ef392cbd4f..f97941f65c2e184ba48170549ae412ce4e608d03 100644
--- "a/content/zh/docs/Administration/\351\205\215\347\275\256\351\235\231\346\200\201IP\350\277\236\346\216\245.md"
+++ "b/content/zh/docs/Administration/\351\205\215\347\275\256\351\235\231\346\200\201IP\350\277\236\346\216\245.md"
@@ -51,6 +51,7 @@ Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkMa
```
# nmcli device status
+
DEVICE TYPE STATE CONNECTION
enp4s0 ethernet connected enp4s0
enp3s0 ethernet connected net-static
diff --git "a/content/zh/docs/Administration/\351\235\231\346\200\201\350\267\257\347\224\261\345\217\212\351\273\230\350\256\244\347\275\221\345\205\263.md" "b/content/zh/docs/Administration/\351\235\231\346\200\201\350\267\257\347\224\261\345\217\212\351\273\230\350\256\244\347\275\221\345\205\263.md"
index a66aca5267e44eb8a536cb3cfef1d24005032b93..b094a0539d93eb1caa81ac492d822e3c671eb93d 100644
--- "a/content/zh/docs/Administration/\351\235\231\346\200\201\350\267\257\347\224\261\345\217\212\351\273\230\350\256\244\347\275\221\345\205\263.md"
+++ "b/content/zh/docs/Administration/\351\235\231\346\200\201\350\267\257\347\224\261\345\217\212\351\273\230\350\256\244\347\275\221\345\205\263.md"
@@ -12,6 +12,7 @@ ip route [ add | del | change | append | replace ] destination-address
```
# ip route
+
default via 192.168.0.1 dev enp3s0 proto dhcp metric 100
default via 192.168.0.1 dev enp4s0 proto dhcp metric 101
192.168.0.0/16 dev enp3s0 proto kernel scope link src 192.168.202.248 metric 100
diff --git a/content/zh/docs/Installation/FAQ.md b/content/zh/docs/Installation/FAQ.md
index 3985039492d9d0fdd25395b2e6a793ebd19bf835..cb39fd8f54d5781e38fbd75a0bcef0cca6a959c5 100644
--- a/content/zh/docs/Installation/FAQ.md
+++ b/content/zh/docs/Installation/FAQ.md
@@ -1 +1 @@
-# FAQ
+# FAQ
diff --git a/content/zh/docs/Installation/figures/5.png b/content/zh/docs/Installation/figures/5.png
deleted file mode 100644
index d7bb9ef4c4d6b906d4e87456681aaf59c2787c97..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/5.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/7.png b/content/zh/docs/Installation/figures/7.png
deleted file mode 100644
index 728ad91c47791e2179907fc44bf895a4bb69e935..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/7.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/9.png b/content/zh/docs/Installation/figures/9.png
deleted file mode 100644
index 90846591116efa658c485c48102ce61aeaf8e8df..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/9.png and /dev/null differ
diff --git "a/content/zh/docs/Installation/figures/root\345\257\206\347\240\201-2.png" "b/content/zh/docs/Installation/figures/root\345\257\206\347\240\201-2.png"
deleted file mode 100644
index 33cf136a5eb516078ed8e6f5ad19b570bc1da1d3..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/root\345\257\206\347\240\201-2.png" and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0187280906.jpg b/content/zh/docs/Installation/figures/zh-cn_image_0187280906.jpg
deleted file mode 100644
index bb9d1036a966f925e5f54c7f6ceb44c4584cc41e..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0187280906.jpg and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0187280907.jpg b/content/zh/docs/Installation/figures/zh-cn_image_0187280907.jpg
deleted file mode 100644
index ebb1a305fd77578632ed092e334354240e882f79..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0187280907.jpg and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0187280908.jpg b/content/zh/docs/Installation/figures/zh-cn_image_0187280908.jpg
deleted file mode 100644
index 191fcba2d37cf6ceffd6d4c26a8271547661db0c..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0187280908.jpg and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0187280909.jpg b/content/zh/docs/Installation/figures/zh-cn_image_0187280909.jpg
deleted file mode 100644
index 908be226c52226f769c6e963722dd7bdc14c70b8..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0187280909.jpg and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0195435918.png b/content/zh/docs/Installation/figures/zh-cn_image_0195435918.png
deleted file mode 100644
index 37e853b86fb57e68511850f0cab7b4f9aaac422e..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0195435918.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0214071107.png b/content/zh/docs/Installation/figures/zh-cn_image_0214071107.png
deleted file mode 100644
index 86c61a4b8e2a5795baff2fc74629924d01d7b97b..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0214071107.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0214071156.jpg b/content/zh/docs/Installation/figures/zh-cn_image_0214071156.jpg
deleted file mode 100644
index 3f0a0658e08010f4f453e558a41e31257783b416..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0214071156.jpg and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0216604774.png b/content/zh/docs/Installation/figures/zh-cn_image_0216604774.png
deleted file mode 100644
index a32856aa08e459ed0f51f8fcf4c2f51511c12095..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0216604774.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0216604776.png b/content/zh/docs/Installation/figures/zh-cn_image_0216604776.png
deleted file mode 100644
index 13c32c3b06f625300a094638170704e96f2d94c4..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0216604776.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0216604777.png b/content/zh/docs/Installation/figures/zh-cn_image_0216604777.png
deleted file mode 100644
index 9e94532bc4804633e37db3d5332c409c937c64c2..0000000000000000000000000000000000000000
Binary files a/content/zh/docs/Installation/figures/zh-cn_image_0216604777.png and /dev/null differ
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0187280903.jpg b/content/zh/docs/Installation/figures/zh-cn_image_0220373180.jpg
similarity index 100%
rename from content/zh/docs/Installation/figures/zh-cn_image_0187280903.jpg
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373180.jpg
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0216604773.png b/content/zh/docs/Installation/figures/zh-cn_image_0220373181.png
similarity index 100%
rename from content/zh/docs/Installation/figures/zh-cn_image_0216604773.png
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373181.png
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0195410864.png b/content/zh/docs/Installation/figures/zh-cn_image_0220373199.png
similarity index 100%
rename from content/zh/docs/Installation/figures/zh-cn_image_0195410864.png
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373199.png
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0192348006.png b/content/zh/docs/Installation/figures/zh-cn_image_0220373206.png
similarity index 100%
rename from content/zh/docs/Installation/figures/zh-cn_image_0192348006.png
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373206.png
diff --git a/content/zh/docs/Administration/figures/zh-cn_image_0182317355.png b/content/zh/docs/Installation/figures/zh-cn_image_0220373221.png
similarity index 100%
rename from content/zh/docs/Administration/figures/zh-cn_image_0182317355.png
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373221.png
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0195402261.png b/content/zh/docs/Installation/figures/zh-cn_image_0220373224.png
similarity index 100%
rename from content/zh/docs/Installation/figures/zh-cn_image_0195402261.png
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373224.png
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0216566635.png b/content/zh/docs/Installation/figures/zh-cn_image_0220373240.png
similarity index 100%
rename from content/zh/docs/Installation/figures/zh-cn_image_0216566635.png
rename to content/zh/docs/Installation/figures/zh-cn_image_0220373240.png
diff --git a/content/zh/docs/Installation/figures/zh-cn_image_0220924538.png b/content/zh/docs/Installation/figures/zh-cn_image_0220924538.png
new file mode 100644
index 0000000000000000000000000000000000000000..2392c878598c9716063db62e85848a61ed4e86a8
Binary files /dev/null and b/content/zh/docs/Installation/figures/zh-cn_image_0220924538.png differ
diff --git "a/content/zh/docs/Installation/figures/\345\210\233\345\273\272\347\224\250\346\210\267-3.png" "b/content/zh/docs/Installation/figures/\345\210\233\345\273\272\347\224\250\346\210\267-3.png"
deleted file mode 100644
index a5407dd247737be8aa9727ca7e8d83ffb9e8146c..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/\345\210\233\345\273\272\347\224\250\346\210\267-3.png" and /dev/null differ
diff --git "a/content/zh/docs/Installation/figures/\345\237\216\345\270\202.png" "b/content/zh/docs/Installation/figures/\345\237\216\345\270\202.png"
deleted file mode 100644
index acb5a23566aab1c827bdc38b94fc605032c24f66..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/\345\237\216\345\270\202.png" and /dev/null differ
diff --git "a/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\256\214\346\210\220-\350\277\233\345\205\245\347\231\273\345\275\225\347\225\214\351\235\242.png" "b/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\256\214\346\210\220-\350\277\233\345\205\245\347\231\273\345\275\225\347\225\214\351\235\242.png"
deleted file mode 100644
index 8f6c65f3ef01d542b6d4948c4ab40525126ffc92..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\256\214\346\210\220-\350\277\233\345\205\245\347\231\273\345\275\225\347\225\214\351\235\242.png" and /dev/null differ
diff --git "a/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\274\225\345\257\274\347\225\214\351\235\242.png" "b/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\274\225\345\257\274\347\225\214\351\235\242.png"
index e415db6abd2ed2256843600e3bf44f4511ff4859..a962d87397395c531092e64ffcc1b19aa80c7383 100644
Binary files "a/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\274\225\345\257\274\347\225\214\351\235\242.png" and "b/content/zh/docs/Installation/figures/\345\256\211\350\243\205\345\274\225\345\257\274\347\225\214\351\235\242.png" differ
diff --git "a/content/zh/docs/Installation/figures/\345\256\211\350\243\205\346\272\220-1.png" "b/content/zh/docs/Installation/figures/\345\256\211\350\243\205\346\272\220-1.png"
deleted file mode 100644
index 16fe926ac0d1b0109c6572dcc9dd06ca2574ca79..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/\345\256\211\350\243\205\346\272\220-1.png" and /dev/null differ
diff --git "a/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-4.png" "b/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-4.png"
deleted file mode 100644
index 15f69cfabed3148dc5cc8450bc25925f430f0004..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-4.png" and /dev/null differ
diff --git "a/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-5.png" "b/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-5.png"
index 15f69cfabed3148dc5cc8450bc25925f430f0004..51b3f254d20fc131eb76cc3c8a41bcc33b1bf187 100644
Binary files "a/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-5.png" and "b/content/zh/docs/Installation/figures/\345\274\200\345\247\213\345\256\211\350\243\205-5.png" differ
diff --git "a/content/zh/docs/Installation/figures/\350\257\255\350\250\200\346\224\257\346\214\201-0.png" "b/content/zh/docs/Installation/figures/\350\257\255\350\250\200\346\224\257\346\214\201-0.png"
deleted file mode 100644
index a5ad25e16bfd5fde821820c0042c65f1e13db288..0000000000000000000000000000000000000000
Binary files "a/content/zh/docs/Installation/figures/\350\257\255\350\250\200\346\224\257\346\214\201-0.png" and /dev/null differ
diff --git a/content/zh/docs/Installation/installation.md b/content/zh/docs/Installation/installation.md
deleted file mode 100644
index 99a3d300d85e7ed25e402131d33f6ba3013f0dfd..0000000000000000000000000000000000000000
--- a/content/zh/docs/Installation/installation.md
+++ /dev/null
@@ -1 +0,0 @@
-本文档简要描述如何获取openEuler的安装包,并通过多种方式完成openEuler的默认安装。文中安装使用openEuler 1.0版本。
\ No newline at end of file
diff --git "a/content/zh/docs/Installation/openEuler\345\274\200\346\234\272\345\220\216\350\277\233\345\205\245emergency\346\250\241\345\274\217.md" "b/content/zh/docs/Installation/openEuler\345\274\200\346\234\272\345\220\216\350\277\233\345\205\245emergency\346\250\241\345\274\217.md"
index 59890d36e35a8a922ce6d3902fd620bac72c69ee..e833e919f5180ac07c71c1bdbd7ef65c83ce1155 100644
--- "a/content/zh/docs/Installation/openEuler\345\274\200\346\234\272\345\220\216\350\277\233\345\205\245emergency\346\250\241\345\274\217.md"
+++ "b/content/zh/docs/Installation/openEuler\345\274\200\346\234\272\345\220\216\350\277\233\345\205\245emergency\346\250\241\345\274\217.md"
@@ -1,10 +1,10 @@
-# openEuler开机后进入emergency模式
+# openEuler开机后进入emergency模式
## 问题现象
openEuler系统开机后进入emergency模式,如下图所示:
-![](figures/zh-cn_image_0214071156.jpg)
+![](figures/zh-cn_image_0220373180.jpg)
## 原因分析
diff --git "a/content/zh/docs/Installation/\344\275\277\347\224\250PXE\351\200\232\350\277\207\347\275\221\347\273\234\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\344\275\277\347\224\250PXE\351\200\232\350\277\207\347\275\221\347\273\234\345\256\211\350\243\205.md"
new file mode 100644
index 0000000000000000000000000000000000000000..278bf03c968bc2636cbc1ba28cc9c0e1423a56c4
--- /dev/null
+++ "b/content/zh/docs/Installation/\344\275\277\347\224\250PXE\351\200\232\350\277\207\347\275\221\347\273\234\345\256\211\350\243\205.md"
@@ -0,0 +1,11 @@
+# 使用PXE通过网络安装
+
+要使用 PXE 引导,您需要正确配置服务器以及您的计算机需支持 PXE 的网络接口。
+
+如果目标硬件安装有支持PXE的网络接口卡,我们可以配置它从其他网络系统的文件而不是本地介质(如光盘)来引导计算机并执行Anaconda安装程序。
+
+对于PXE网络安装,客户机通过支持PXE的网卡,向网络发送请求DHCP信息的广播,请求IP地址等信息。DHCP服务器给客户机提供一个IP地址和其他网络信息如域名服务器、ftp服务器(它提供启动安装程序所必须的文件)的IP地址或主机名,以及服务器上文件的位置。
+
+>![](public_sys-resources/icon-note.gif) **说明:**
+>这里不会详细讨论tftp、DHCP、http等服务器配置,相关详细配置请参照[全自动化安装指导](全自动化安装指导.md#ZH-CN_TOPIC_0220560889)。
+
diff --git "a/content/zh/docs/Installation/\344\275\277\347\224\250kickstart\350\207\252\345\212\250\345\214\226\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\344\275\277\347\224\250kickstart\350\207\252\345\212\250\345\214\226\345\256\211\350\243\205.md"
new file mode 100644
index 0000000000000000000000000000000000000000..f49c4bc116eabcfba46d806c417f61ddeabe43cc
--- /dev/null
+++ "b/content/zh/docs/Installation/\344\275\277\347\224\250kickstart\350\207\252\345\212\250\345\214\226\345\256\211\350\243\205.md"
@@ -0,0 +1,3 @@
+# 使用kickstart自动化安装
+
+
diff --git "a/content/zh/docs/Installation/\345\205\250\350\207\252\345\212\250\345\214\226\345\256\211\350\243\205\346\214\207\345\257\274.md" "b/content/zh/docs/Installation/\345\205\250\350\207\252\345\212\250\345\214\226\345\256\211\350\243\205\346\214\207\345\257\274.md"
new file mode 100644
index 0000000000000000000000000000000000000000..f9299e485375b1d3820a210590a674613ed336a4
--- /dev/null
+++ "b/content/zh/docs/Installation/\345\205\250\350\207\252\345\212\250\345\214\226\345\256\211\350\243\205\346\214\207\345\257\274.md"
@@ -0,0 +1,176 @@
+# 全自动化安装指导
+
+## 环境要求
+
+使用kickstart进行openEuler系统的全自动化安装的环境要求如下:
+
+- 物理机/虚拟机(虚拟机创建可参考对应厂商的资料)。包括使用kickstart工具进行自动化安装的计算机和被安装的计算机。
+- httpd:存放kickstart文件。
+- tftp:提供vmlinuz和initrd文件。
+- dhcpd/pxe:提供DHCP服务。
+- ISO:openEuler-1.0-aarch64-dvd.iso。
+
+## 操作步骤
+
+使用kickstart进行openEuler系统的全自动化安装的操作步骤如下:
+
+**环境准备**
+
+>![](public_sys-resources/icon-note.gif) **说明:**
+>安装之前,请确保http服务器的防火墙处于关闭状态。关闭防火墙可参照如下命令:
+>```
+>iptables -F
+>```
+
+1. httpd的安装与服务启动。
+
+ ```
+ # dnf install httpd -y
+ # systemctl start httpd
+ # systemctl enable httpd
+ ```
+
+2. tftp的安装与配置。
+
+ ```
+ # dnf install tftp-server -y
+ # vim /etc/xinetd.d/tftp
+ service tftp
+ {
+ socket_type = dgram
+ protocol = udp
+ wait = yes
+ user = root
+ server = /usr/sbin/in.tftpd
+ server_args = -s /var/lib/tftpboot
+ disable = no
+ per_source = 11
+ cps = 100 2
+ flags = IPv4
+ }
+ # systemctl start tftp
+ # systemctl enable tftp
+ # systemctl start xinetd
+ # systemctl status xinetd
+ # systemctl enable xinetd
+ ```
+
+3. 安装源的制作。
+
+ ```
+ # mount openEuler-1.0-aarch64-dvd.iso /mnt
+ # cp -r /mnt/* /var/www/html/openEuler/
+ ```
+
+4. 设置和修改kickstart配置文件 openEuler-ks.cfg,参考步骤[3](#zh-cn_topic_0187280630_zh-cn_topic_0151920754_l1692f6b9284e493683ffa2ef804bc7ca)安装源的目录,此处选择http安装源。
+
+ ```
+ #vim /var/www/html/ks/openEuler-ks.cfg
+ ====================================
+ ***以下内容根据实际需求进行修改***
+ #version=DEVEL
+ ignoredisk --only-use=sda
+ autopart --type=lvm
+ # Partition clearing information
+ clearpart --none --initlabel
+ # Use text mode install
+ text
+ # Keyboard layouts
+ keyboard --vckeymap=cn --xlayouts='cn'
+ # System language
+ lang zh_CN.UTF-8
+ #Use http installation source
+ url --url=//192.168.122.1/openEuler/
+ %post
+ #enable kdump
+ sed -i "s/ ro / ro crashkernel=1024M,high /" /boot/efi/EFI/openEuler/grub.cfg
+ %end
+ ...
+ ```
+
+5. 修改pxe配置文件grub.cfg, 可参考如下内容。
+
+ ```
+ # cp -r /mnt/images/pxeboot/* /var/lib/tftpboot/
+ # cp /mnt/EFI/BOOT/grubaa64.efi /var/lib/tftpboot/
+ # cp /mnt/EFI/BOOT/grub.cfg /var/lib/tftpboot/
+ # ls /var/lib/tftpboot/
+ grubaa64.efi grub.cfg initrd.img TRANS.TBL vmlinuz
+ # vim /var/lib/tftpboot/grub.cfg
+ set default="1"
+
+ function load_video {
+ if [ x$feature_all_video_module = xy ]; then
+ insmod all_video
+ else
+ insmod efi_gop
+ insmod efi_uga
+ insmod ieee1275_fb
+ insmod vbe
+ insmod vga
+ insmod video_bochs
+ insmod video_cirrus
+ fi
+ }
+
+ load_video
+ set gfxpayload=keep
+ insmod gzio
+ insmod part_gpt
+ insmod ext2
+
+ set timeout=60
+ ### END /etc/grub.d/00_header ###
+
+ search --no-floppy --set=root -l 'openEuler-1.0-aarch64'
+
+ ### BEGIN /etc/grub.d/10_linux ###
+ menuentry 'Install openEuler 1.0 with text mode' --class red --class gnu-linux --class gnu --class os {
+ set root=(tftp,192.168.1.1)
+ linux /vmlinuz inst.stage2=hd:LABEL=openEuler-1.0-aarch64 ro inst.text inst.geoloc=0 console=ttyAMA0 console=tty0 inst.ks=http://192.168.122.1/ks/openEuler-ks.cfg
+ initrd /initrd.img
+ }
+ ```
+
+6. DHCP的配置(可以使用dnsmasq代替 )。
+
+ ```
+ # dnf install dhcp -y
+ #
+ # DHCP Server Configuration file.
+ # see /usr/share/doc/dhcp-server/dhcpd.conf.example
+ # see dhcpd.conf(5) man page
+ #
+ # vim /etc/dhcp/dhcpd.conf
+ ddns-update-style interim;
+ ignore client-updates;
+ filename "grubaa64.efi"; # pxelinux 启动文件位置;
+ next-server 192.168.122.1; # (重要)TFTP Server 的IP地址;
+ subnet 192.168.122.0 netmask 255.255.255.0 {
+ option routers 192.168.111.1; # 网关地址
+ option subnet-mask 255.255.255.0; # 子网掩码
+ range dynamic-bootp 192.168.122.50 192.168.122.200; # 动态ip范围
+ default-lease-time 21600;
+ max-lease-time 43200;
+ }
+ # systemctl start dhcpd
+ # systemctl enable dhcpd
+ ```
+
+
+**安装系统**
+
+1. 在【Start boot option】界面按下【F2】选择从网络pxe启动,开始自动化安装。
+
+ ![](figures/zh-cn_image_0187511784.png)
+
+ ![](figures/zh-cn_image_0187511378.png)
+
+ ![](figures/zh-cn_image_0187511561.png)
+
+2. 进入系统全自动化安装界面。
+3. 确认系统安装完毕。
+
+ ![](figures/zh-cn_image_0187510754.png)
+
+
diff --git "a/content/zh/docs/Installation/\345\210\233\345\273\272\347\224\250\346\210\267.md" "b/content/zh/docs/Installation/\345\210\233\345\273\272\347\224\250\346\210\267.md"
index da7f2845215fe91e9d512f859af544424f1808a4..b76e7036d9c1a807316bed7d1a831fecf52c4d76 100644
--- "a/content/zh/docs/Installation/\345\210\233\345\273\272\347\224\250\346\210\267.md"
+++ "b/content/zh/docs/Installation/\345\210\233\345\273\272\347\224\250\346\210\267.md"
@@ -1,4 +1,4 @@
-# 创建用户
+# 创建用户
在“安装概览”页面中输入“8”,然后按“Enter”,按照界面提示,创建用户、设置用户全名/用户名、用户密码、是否管理员、属组等信息。
diff --git "a/content/zh/docs/Installation/\345\211\215\350\250\200.md" "b/content/zh/docs/Installation/\345\211\215\350\250\200.md"
index e97e34d5aed3519d13ed42fed1cb8b4373649cbc..5a6810eb455f9db16e9eaf66285aba7716d3e4e3 100644
--- "a/content/zh/docs/Installation/\345\211\215\350\250\200.md"
+++ "b/content/zh/docs/Installation/\345\211\215\350\250\200.md"
@@ -1,4 +1,4 @@
-# 前言
+# 前言
## 概述
@@ -19,13 +19,13 @@
|
-