diff --git a/content/zh/docs/Administration/FAQ-4.md b/content/zh/docs/Administration/FAQ-4.md new file mode 100644 index 0000000000000000000000000000000000000000..de80aae12aa31f6f17817d7ca9c0f3cbdf634f77 --- /dev/null +++ b/content/zh/docs/Administration/FAQ-4.md @@ -0,0 +1 @@ +# FAQ \ No newline at end of file diff --git a/content/zh/docs/Administration/figures/zh-cn_image_0182317354.png b/content/zh/docs/Administration/figures/zh-cn_image_0182317354.png deleted file mode 100644 index 8d5a343524e14d11a3e2a94be4066fbb2d20599e..0000000000000000000000000000000000000000 Binary files a/content/zh/docs/Administration/figures/zh-cn_image_0182317354.png and /dev/null differ diff --git "a/content/zh/docs/Administration/iscsi-initiator-utils\344\270\215\346\224\257\346\214\201\347\231\273\345\275\225fe80-IPv6\345\234\260\345\235\200.md" "b/content/zh/docs/Administration/iscsi-initiator-utils\344\270\215\346\224\257\346\214\201\347\231\273\345\275\225fe80-IPv6\345\234\260\345\235\200.md" index e9a407381826ae30c6117b1b54832ff0ad6eeaf0..1ac3e73b84ac3353ce0f808f4a024a8a4579e908 100644 --- "a/content/zh/docs/Administration/iscsi-initiator-utils\344\270\215\346\224\257\346\214\201\347\231\273\345\275\225fe80-IPv6\345\234\260\345\235\200.md" +++ "b/content/zh/docs/Administration/iscsi-initiator-utils\344\270\215\346\224\257\346\214\201\347\231\273\345\275\225fe80-IPv6\345\234\260\345\235\200.md" @@ -8,7 +8,7 @@ 如果使用格式如“iscsiadm -m node -p fe80::xxxx -l”登录,会登录超时返回,这是因为使用链路本地地址必须指定接口,否则使用iscsi\_io\_tcp\_connect函数调用connect函数会失败,并且产生标准错误码22。 -如果使用格式如“iscsiadm -m node -p fe80::xxxx%enp3s0 -l”登录时,iscsi\_addr\_match函数会将地址“fe80::xxxx%enp3s0”与服务端返回的node信息中的地址“fe80::xxxx”对比,对比结果不匹配,导致登录失败。 +如果使用格式如“iscsiadm -m node -p fe80::xxxx%enp3s0 -l”登录时,iscsi\_addr\_match函数会将地址“fe80::xxxx%enp3s0”与服务端返回的node信息中的地址“fe80::xxxx”对比,对比结果不匹配,导致登录失败。 因此,**iscsi-initiator-utils目前机制还不支持用链路本地地址(link-local address)地址登录iscsi服务端**。 diff --git a/content/zh/docs/Administration/zh-cn_bookmap_0182172876.md b/content/zh/docs/Administration/zh-cn_bookmap_0182172876.md deleted file mode 100644 index 72797f4d989879826310ac94f252ae59e7df8a8b..0000000000000000000000000000000000000000 --- a/content/zh/docs/Administration/zh-cn_bookmap_0182172876.md +++ /dev/null @@ -1,145 +0,0 @@ -# openEuler 1.0 管理员指南 - -- [法律声明](法律声明.md) -- [前言](前言.md) -- [基础配置](基础配置.md) - - [通过命令设置](通过命令设置.md) - - [设置语言环境](设置语言环境.md) - - [设置键盘](设置键盘.md) - - [设置日期和时间](设置日期和时间.md) - - [使用timedatectl命令设置](使用timedatectl命令设置.md) - - [使用date命令设置](使用date命令设置.md) - - [使用hwclock命令设置](使用hwclock命令设置.md) - - - -- [查看系统信息](查看系统信息.md) -- [管理用户](管理用户.md) - - [增加用户](增加用户.md) - - [修改用户账号](修改用户账号.md) - - [删除用户](删除用户.md) - - [管理员账户授权](管理员账户授权.md) - - [为普通用户分配特权](为普通用户分配特权.md) - - -- [使用DNF管理软件包](使用DNF管理软件包.md) - - [配置DNF](配置DNF.md) - - [修改配置文件](修改配置文件.md) - - [创建本地软件源仓库](创建本地软件源仓库.md) - - [添加、启用和禁用软件源](添加-启用和禁用软件源.md) - - - [管理软件包](管理软件包.md) - - [管理软件包组](管理软件包组.md) - - [检查并更新](检查并更新.md) - -- [管理服务](管理服务.md) - - [简介](简介.md) - - [特性说明](特性说明.md) - - [管理系统服务](管理系统服务.md) - - [改变运行级别](改变运行级别.md) - - [关闭、暂停和休眠系统](关闭-暂停和休眠系统.md) - -- [管理进程](管理进程.md) - - [管理系统进程](管理系统进程.md) - - [调度启动进程](调度启动进程.md) - - [定时运行一批程序(at)](定时运行一批程序(at).md) - - [周期性运行一批程序(cron)](周期性运行一批程序(cron).md) - - - [挂起/恢复进程](挂起-恢复进程.md) - - - [查看进程](查看进程.md) - -- [配置网络](配置网络.md) - - [配置 IP](配置-IP.md) - - [使用nmcli](使用nmcli.md) - - [nmcli介绍](nmcli介绍.md) - - [设置网络连接](设置网络连接.md) - - [配置动态IP连接](配置动态IP连接.md) - - [配置静态IP连接](配置静态IP连接.md) - - [添加 Wi-Fi 连接](添加-Wi-Fi-连接.md) - - [更改属性](更改属性.md) - - - [配置静态路由](配置静态路由.md) - - - [使用命令行](使用命令行.md) - - [通过ifcfg文件配置网络](通过ifcfg文件配置网络.md) - - [使用 ip 命令配置网络](使用-ip-命令配置网络.md) - - [静态路由及默认网关](静态路由及默认网关.md) - - - - [配置主机名](配置主机名.md) - - [简介](简介-0.md) - - [使用hostnamectl配置主机名](使用hostnamectl配置主机名.md) - - [使用nmcli配置主机名](使用nmcli配置主机名.md) - - - [配置网络绑定](配置网络绑定.md) - - [使用nmcli](使用nmcli-1.md) - - [使用命令行](使用命令行-2.md) - - [检查是否已安装Bonding内核模块](检查是否已安装Bonding内核模块.md) - - [创建频道绑定接口](创建频道绑定接口.md) - - [创建从属接口](创建从属接口.md) - - [激活频道绑定](激活频道绑定.md) - - [创建多个绑定](创建多个绑定.md) - - - - [IPv6使用差异说明(vs IPv4)](IPv6使用差异说明(vs-IPv4).md) - - [约束限制](约束限制.md) - - [配置说明](配置说明.md) - - [设置接口设备MTU值](设置接口设备MTU值.md) - - [有状态自动配置IPv6地址](有状态自动配置IPv6地址.md) - - [内核支持socket相关系统调用](内核支持socket相关系统调用.md) - - [IPv4的dhclient守护进程持久化配置](IPv4的dhclient守护进程持久化配置.md) - - [iproute相关命令配置IPv4与IPv6时的差异说明](iproute相关命令配置IPv4与IPv6时的差异说明.md) - - [NetworkManager服务配置差异说明](NetworkManager服务配置差异说明.md) - - - [FAQ](FAQ.md) - - [iscsi-initiator-utils不支持登录fe80 IPv6地址](iscsi-initiator-utils不支持登录fe80-IPv6地址.md) - - [网卡down掉之后,IPv6地址丢失](网卡down掉之后-IPv6地址丢失.md) - - [bond口已具有多个IPv6地址时,添加或删除IPv6地址耗时过久](bond口已具有多个IPv6地址时-添加或删除IPv6地址耗时过久.md) - - [Rsyslog在IPv4和IPv6混合使用场景中日志传输延迟](Rsyslog在IPv4和IPv6混合使用场景中日志传输延迟.md) - - - -- [搭建服务](搭建服务.md) - - [搭建repo服务器](搭建repo服务器.md) - - [概述](概述.md) - - [创建/更新本地repo源](创建-更新本地repo源.md) - - [获取ISO镜像](获取ISO镜像.md) - - [挂载ISO创建repo源](挂载ISO创建repo源.md) - - [创建本地repo源](创建本地repo源.md) - - [更新repo源](更新repo源.md) - - - [部署远端repo源](部署远端repo源.md) - - [nginx安装与配置](nginx安装与配置.md) - - [启动nginx服务](启动nginx服务.md) - - [repo源部署](repo源部署.md) - - - [使用repo源](使用repo源.md) - - [repo配置为yum源](repo配置为yum源.md) - - [repo优先级](repo优先级.md) - - [dnf相关命令](dnf相关命令.md) - - - - [搭建FTP服务器](搭建FTP服务器.md) - - [总体介绍](总体介绍.md) - - [使用vsftpd](使用vsftpd.md) - - [配置vsftpd](配置vsftpd.md) - - [vsftpd配置文件介绍](vsftpd配置文件介绍.md) - - [默认配置说明](默认配置说明.md) - - [配置本地时间](配置本地时间.md) - - [配置欢迎信息](配置欢迎信息.md) - - [配置系统帐号登录权限](配置系统帐号登录权限.md) - - - [验证FTP服务是否搭建成功](验证FTP服务是否搭建成功.md) - - [配置防火墙](配置防火墙.md) - - [传输文件](传输文件.md) - - - [搭建web服务器](搭建web服务器.md) - - [概述](概述-3.md) - - [管理httpd](管理httpd.md) - - [配置文件说明](配置文件说明.md) - - [管理模块和SSL](管理模块和SSL.md) - - [验证web服务是否搭建成功](验证web服务是否搭建成功.md) - - - diff --git "a/content/zh/docs/Administration/\344\270\272\346\231\256\351\200\232\347\224\250\346\210\267\345\210\206\351\205\215\347\211\271\346\235\203.md" "b/content/zh/docs/Administration/\344\270\272\346\231\256\351\200\232\347\224\250\346\210\267\345\210\206\351\205\215\347\211\271\346\235\203.md" index bd3245408aa79cbc6860f39605241c2110705fd8..3dbc70ecb94b11b3b06ffacba3cb729653bcd5ff 100644 --- "a/content/zh/docs/Administration/\344\270\272\346\231\256\351\200\232\347\224\250\346\210\267\345\210\206\351\205\215\347\211\271\346\235\203.md" +++ "b/content/zh/docs/Administration/\344\270\272\346\231\256\351\200\232\347\224\250\346\210\267\345\210\206\351\205\215\347\211\271\346\235\203.md" @@ -66,9 +66,10 @@ POWERUSER ALL=ALL,!/bin/su - ADMIN ALL=ALL - 说明在所有主机上,ADMIN都可以以root身份执行所有命令 + 说明在所有主机上,ADMIN用户都可以以root身份执行所有命令 - POWERUSER ALL=ALL,!/bin/su - 给POWERUSER除了运行su命令外等同ADMIN的权限 + 给POWERUSER用户除了运行su命令外等同ADMIN的权限 + diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250-hostnamectl-\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250-hostnamectl-\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" deleted file mode 100644 index d1f6bf412efc32ba840570208d1cde85cdb51d20..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250-hostnamectl-\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" +++ /dev/null @@ -1,59 +0,0 @@ -# 使用 hostnamectl 配置主机名 - -## 查看所有主机名 - -查看当前的主机名,使用如下命令: - -``` -# hostnamectl status -``` - ->![](public_sys-resources/icon-note.gif) **说明:** ->如果命令未指定任何选项,则默认使用 status 选项。 - -## 设定所有主机名 - -在root权限下,设定系统中的所有主机名,使用如下命令: - -``` -# hostnamectl set-hostname name -``` - -## 设定特定主机名 - -在root权限下,通过不同的参数来设定特定主机名,使用如下命令: - -``` -# hostnamectl set-hostname name [option...] -``` - -其中 option 可以是 --pretty、--static、 --transient 中的一个或多个选项。 - -如果 --static 或 --transient 与 --pretty 选项一同使用时,则会将 static 和 transient 主机名简化为 pretty 主机名格式,使用 “-” 替换空格,并删除特殊字符。 - -当设定 pretty 主机名时,如果主机名中包含空格或单引号,需要使用引号。命令示例如下: - -``` -# hostnamectl set-hostname "Stephen's notebook" --pretty -``` - -## 清除特定主机名 - -要清除特定主机名,并将其还原为默认形式,在root权限下,使用如下命令: - -``` -# hostnamectl set-hostname "" [option...] -``` - -其中 "" 是空白字符串,option 是 --pretty、--static 和 --transient 中的一个或多个选项。 - -## 远程更改主机名 - -在远程系统中运行 hostnamectl 命令时,要使用 -H, --host 选项,使用如下命令: - -``` -# hostnamectl set-hostname -H [username]@hostname -``` - -其中 hostname 是要配置的远程主机,username 为自选项,hostnamectl 会通过 SSH 连接到远程系统。 - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250-ip-\345\221\275\344\273\244\351\205\215\347\275\256\347\275\221\347\273\234.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250-ip-\345\221\275\344\273\244\351\205\215\347\275\256\347\275\221\347\273\234.md" index 19886149017abb166d651bb21c932daf5f44f8f8..79b8d37114889f3dcbbc739b172fb1ca3d94d214 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250-ip-\345\221\275\344\273\244\351\205\215\347\275\256\347\275\221\347\273\234.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250-ip-\345\221\275\344\273\244\351\205\215\347\275\256\347\275\221\347\273\234.md" @@ -36,6 +36,7 @@ ip 命令支持为同一接口分配多个地址,可重复多次使用 ip 命 # ip address add 192.168.2.223/24 dev enp4s0 # ip address add 192.168.4.223/24 dev enp4s0 # ip addr + 3: enp4s0: mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 52:54:00:aa:da:e2 brd ff:ff:ff:ff:ff:ff inet 192.168.203.12/16 brd 192.168.255.255 scope global dynamic noprefixroute enp4s0 diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250-nmcli-\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250-nmcli-\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" deleted file mode 100644 index 5287cf12876735668eb163e124354726217d02ef..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250-nmcli-\351\205\215\347\275\256\344\270\273\346\234\272\345\220\215.md" +++ /dev/null @@ -1,20 +0,0 @@ -# 使用 nmcli 配置主机名 - -查询 static 主机名,使用如下命令: - -``` -# nmcli general hostname -``` - -在root权限下,将 static 主机名设定为 host-server,使用如下命令: - -``` -# nmcli general hostname host-server -``` - -要让系统 hostnamectl 感知到 static 主机名的更改,在root权限下,重启 hostnamed服务,使用如下命令: - -``` -# systemctl restart systemd-hostnamed -``` - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" index d43509094d15f9715cdba29d507461dc79ae3d5e..7834db12a8e0667a227cabe37aaa6ad65da324e0 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250DNF\347\256\241\347\220\206\350\275\257\344\273\266\345\214\205.md" @@ -5,6 +5,3 @@ DNF是一款Linux软件包管理工具,用于管理RPM软件包。DNF可以查 >![](public_sys-resources/icon-note.gif) **说明:** >- DNF与YUM完全兼容,提供了YUM兼容的命令行以及为扩展和插件提供的API。 >- 使用DNF需要管理员权限,本章所有命令需要在管理员权限下执行。 - - - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250date\345\221\275\344\273\244\350\256\276\347\275\256.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250date\345\221\275\344\273\244\350\256\276\347\275\256.md" index 2ddf2dccb9cbc6e5f8f5c29759c8b67977b739c0..c0f8a3312440fb689903fa6ea4096c177208c8ee 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250date\345\221\275\344\273\244\350\256\276\347\275\256.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250date\345\221\275\344\273\244\350\256\276\347\275\256.md" @@ -56,7 +56,7 @@ date +"format"

%Y

-

年份以YYYY格式(例如 2019)。

+

年份以YYYY格式(例如 2019)。

%Z

@@ -66,7 +66,7 @@ date +"format"

%F

-

日期整体格式为YYYY-MM-DD(例如 2019-7-15),等同%Y-%m-%d。

+

日期整体格式为YYYY-MM-DD(例如 2019-7-15),等同%Y-%m-%d。

%T

diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250nmcli.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250nmcli.md" index 3446d98d0ce56fbab7062da1ecda026197d3e2de..cf924ca07f3af2ff19f93f0859f20db1bb88d1db 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250nmcli.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250nmcli.md" @@ -1,2 +1 @@ # 使用nmcli - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250repo\346\272\220.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250repo\346\272\220.md" index 0a3457b3349e28dcc75123905a4c5d64471babcd..af0b256e45150b08603d5f3efd1db38a7a318b47 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250repo\346\272\220.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250repo\346\272\220.md" @@ -2,5 +2,3 @@ repo可配置为yum源,yum(全称为 Yellow dog Updater, Modified)是一个Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载和安装。 - - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250timedatectl\345\221\275\344\273\244\350\256\276\347\275\256.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250timedatectl\345\221\275\344\273\244\350\256\276\347\275\256.md" index 9ba35a5c771ce3d49d857fadd63fdc30507b7407..c0ac329af868a4a5d4ff706ac5721964177636b8 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250timedatectl\345\221\275\344\273\244\350\256\276\347\275\256.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250timedatectl\345\221\275\344\273\244\350\256\276\347\275\256.md" @@ -21,21 +21,21 @@ System clock synchronized: no RTC in local TZ: no ``` -## 修改时间 +## 通过远程服务器进行时间同步 -修改当前的时间,在root权限下执行如下命令,其中_HH_代表小时,_MM_代表分钟,_SS_代表秒,请根据实际情况修改: +您可以启用NTP远程服务器进行系统时钟的自动同步。是否启用NTP,可在root权限下执行如下命令进行设置。其中_boolean_ 可取值yes和no,分别表示启用和不启用NTP进行系统时钟自动同步,请根据实际情况修改: ``` -timedatectl set-time HH:MM:SS +timedatectl set-ntp boolean ``` -例如修改当前的时间为15点57分24秒,命令如下: +例如启用自动远程时间同步,命令如下: ``` -# timedatectl set-time 15:57:24 +# timedatectl set-ntp yes ``` -## 修改日期 +## 修改日期 修改当前的日期,在root权限下执行如下命令,其中_YYYY_代表年份_,MM_代表月份,_DD_代表某天,请根据实际情况修改: @@ -49,6 +49,26 @@ timedatectl set-time YYYY-MM-DD # timedatectl set-time '2019-08-14' ``` +## 修改时间 + +>![](public_sys-resources/icon-note.gif) **说明:** +>修改时间前,需确保已经关闭NTP系统时钟自动同步。命令如下: +>``` +>timedatectl set-ntp no +>``` + +修改当前的时间,在root权限下执行如下命令,其中_HH_代表小时,_MM_代表分钟,_SS_代表秒,请根据实际情况修改: + +``` +timedatectl set-time HH:MM:SS +``` + +例如修改当前的时间为15点57分24秒,命令如下: + +``` +# timedatectl set-time 15:57:24 +``` + ## 修改时区 显示当前可用时区,命令如下: @@ -96,17 +116,3 @@ Asia/Tokyo # timedatectl set-timezone Asia/Shanghai ``` -## 通过远程服务器进行时间同步 - -您可以启用NTP远程服务器进行系统时钟的自动同步。是否启用NTP,可在root权限下执行如下命令进行设置。其中 _boolean_ 可取值yes和no,分别表示启用和不启用NTP进行系统时钟自动同步,请根据实际情况修改: - -``` -timedatectl set-ntp boolean -``` - -例如启用自动远程时间同步,命令如下: - -``` -# timedatectl set-ntp yes -``` - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214-2.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214-2.md" index 07734e2274f79e554fbef54440d05e9695a549e4..7a3c59ab6604b73cb93e1194d1e8ea07e28d4438 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214-2.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214-2.md" @@ -1,2 +1 @@ # 使用命令行 - diff --git "a/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214.md" "b/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214.md" index 5fd3be348995749b6541cf437528433df7306e58..0463cf7b66abd1cb99768585cbf3f0e6a3760e95 100644 --- "a/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214.md" +++ "b/content/zh/docs/Administration/\344\275\277\347\224\250\345\221\275\344\273\244\350\241\214.md" @@ -1,3 +1 @@ # 使用命令行 - - diff --git "a/content/zh/docs/Administration/\344\277\256\346\224\271\347\224\250\346\210\267\350\264\246\345\217\267.md" "b/content/zh/docs/Administration/\344\277\256\346\224\271\347\224\250\346\210\267\350\264\246\345\217\267.md" index 322e859bb2fc141a8e042dc7d7a6f7520625848e..e77e06e84ef1dc6383e024e495332da2902f23f3 100644 --- "a/content/zh/docs/Administration/\344\277\256\346\224\271\347\224\250\346\210\267\350\264\246\345\217\267.md" +++ "b/content/zh/docs/Administration/\344\277\256\346\224\271\347\224\250\346\210\267\350\264\246\345\217\267.md" @@ -2,11 +2,11 @@ ## 修改密码 -普通用户可以用passwd修改自己的密码,只有管理员才能用passwd username为其他用户修改密码。 +普通用户可以用passwd修改自己的密码,只有管理员才能用passwd username为其他用户修改密码。 ## 修改用户shell设置 -使用chsh命令可以修改自己的shell,只有管理员才能用chsh username为其他用户修改shell设置。 +使用chsh命令可以修改自己的shell,只有管理员才能用chsh username为其他用户修改shell设置。 用户也可以使用usermod命令修改shell信息,在root权限下执行如下命令,其中_new\_shell\_path_为目标shell路径,_username_为要修改用户的用户名,请根据实际情况修改: @@ -28,12 +28,6 @@ usermod -s new_shell_path username usermod -d new_home_directory username ``` - 例如,将用户user\_example的主目录更改为/home/user\_example,命令如下: - - ``` - # usermod -d /home/user_example user_example - ``` - - 如果想将现有主目录的内容转移到新的目录,应该使用-m选项,命令如下: ``` diff --git "a/content/zh/docs/Administration/\344\277\256\346\224\271\351\205\215\347\275\256\346\226\207\344\273\266.md" "b/content/zh/docs/Administration/\344\277\256\346\224\271\351\205\215\347\275\256\346\226\207\344\273\266.md" index 651afc1c52a1b6069d23ee54364a1c8aceaa769f..98080e18d6c364343c143f860cef13fcb066d517 100644 --- "a/content/zh/docs/Administration/\344\277\256\346\224\271\351\205\215\347\275\256\346\226\207\344\273\266.md" +++ "b/content/zh/docs/Administration/\344\277\256\346\224\271\351\205\215\347\275\256\346\226\207\344\273\266.md" @@ -51,7 +51,7 @@ best=True

best

-

升级包时,总是尝试安装其最高版本,如果最高版本无法安装,则提示无法安装的原因并停止安装。 默认值为True

+

升级包时,总是尝试安装其最高版本,如果最高版本无法安装,则提示无法安装的原因并停止安装。 默认值为True。

obsoletes

diff --git "a/content/zh/docs/Administration/\345\210\233\345\273\272-\346\233\264\346\226\260\346\234\254\345\234\260repo\346\272\220.md" "b/content/zh/docs/Administration/\345\210\233\345\273\272-\346\233\264\346\226\260\346\234\254\345\234\260repo\346\272\220.md" index 35d73e4ec6d9cc8aa1587745755572619a64ab34..a33905d4c6a66b989bc51e9dfa4da5ed91755d5b 100644 --- "a/content/zh/docs/Administration/\345\210\233\345\273\272-\346\233\264\346\226\260\346\234\254\345\234\260repo\346\272\220.md" +++ "b/content/zh/docs/Administration/\345\210\233\345\273\272-\346\233\264\346\226\260\346\234\254\345\234\260repo\346\272\220.md" @@ -1,3 +1,3 @@ # 创建/更新本地repo源 -使用mount挂载,将openEuler的镜像openEuler-1.0-aarch64-dvd.iso创建为repo源,并能够对repo源进行更新。 +使用mount挂载,将openEuler的镜像openEuler-1.0-aarch64-dvd.iso创建为repo源,并能够对repo源进行更新。 \ No newline at end of file diff --git "a/content/zh/docs/Administration/\345\210\233\345\273\272\344\273\216\345\261\236\346\216\245\345\217\243.md" "b/content/zh/docs/Administration/\345\210\233\345\273\272\344\273\216\345\261\236\346\216\245\345\217\243.md" index a4f706cb5f15bcafc906a3239afd3ccbd76ad0fd..d9405cc9bbe0cf0b2bc1c35140aef5d17ffb0ebd 100644 --- "a/content/zh/docs/Administration/\345\210\233\345\273\272\344\273\216\345\261\236\346\216\245\345\217\243.md" +++ "b/content/zh/docs/Administration/\345\210\233\345\273\272\344\273\216\345\261\236\346\216\245\345\217\243.md" @@ -2,7 +2,7 @@ 创建频道绑定接口后,必须在从属接口的配置文件中添加 MASTER 和 SLAVE 指令。 -例如将两个网络接口enp3s0 和 enp4s0 以频道方式绑定,其配置文件示例分别如下: +例如将两个网络接口enp3s0 和 enp4s0 以频道方式绑定,其配置文件示例分别如下: ``` diff --git "a/content/zh/docs/Administration/\345\210\233\345\273\272\345\244\232\344\270\252\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267.md" "b/content/zh/docs/Administration/\345\210\233\345\273\272\345\244\232\344\270\252\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267.md" deleted file mode 100644 index b49c3c1de972ab0918a1434bde9c3d5fb9928fa7..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Administration/\345\210\233\345\273\272\345\244\232\344\270\252\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267.md" +++ /dev/null @@ -1,17 +0,0 @@ -# 创建多个管理员账户 - -大多数新系统管理员认为root用户是唯一的管理员账户,其实root只是系统默认的管理员账户。例如,一个/etc/passwd文件包含如下内容: - -``` -root:x:0:0:root: /root:/bin/bash -bin:x:1:1:bin: /bin: /sbin/nologin -daemon:x:2:2:daemon: /sbin: /sbin/nologin -adm:x:3:4:acim: /var/adm:/sbin/nologin -lp:x:4:7:lp: /va r/spool/ lpd: /sbin/nologin -sync:x:5:0:sync: /sbin: /bin/sync -shutdown:x:6:0:shutdown: /sbin: /sbin/shutdown -Test:x:0:0::/home/j ianCJzhonghua: /bin/bash -``` - -从上面的内容可以发现,root的UID和GID都为0。实际上,管理员账户的充要条件就是UID和GID都等于0,也就是说,只要UID和GID都为0的用户,就与root管理员账户一样。例如从上述内容可知,Test也是一个管理员账户。 - diff --git "a/content/zh/docs/Administration/\345\210\240\351\231\244\347\224\250\346\210\267.md" "b/content/zh/docs/Administration/\345\210\240\351\231\244\347\224\250\346\210\267.md" index ec78007658a185e10556bd26817e3ce72de0b2cc..a8b2bd30fbd8e0e0eb9ba8d349779157a66fe722 100644 --- "a/content/zh/docs/Administration/\345\210\240\351\231\244\347\224\250\346\210\267.md" +++ "b/content/zh/docs/Administration/\345\210\240\351\231\244\347\224\250\346\210\267.md" @@ -11,5 +11,5 @@ 如果想同时删除该用户的主目录以及其中所有内容,要使用-r参数递归删除。 >![](public_sys-resources/icon-note.gif) **说明:** ->不建议直接删除已经进入系统的用户,如果需要强制删除,请使用 userdel -f _Test_命令。 +>不建议直接删除已经进入系统的用户,如果需要强制删除,请使用 userdel -f _Test_命令_。_ diff --git "a/content/zh/docs/Administration/\345\237\272\347\241\200\351\205\215\347\275\256.md" "b/content/zh/docs/Administration/\345\237\272\347\241\200\351\205\215\347\275\256.md" index 822db8624e5042f3e45a9cc7c9b4b98a4600f78f..ab8b3340e97b7a996f3b3f48fbc6eaa5b6d1686d 100644 --- "a/content/zh/docs/Administration/\345\237\272\347\241\200\351\205\215\347\275\256.md" +++ "b/content/zh/docs/Administration/\345\237\272\347\241\200\351\205\215\347\275\256.md" @@ -1,3 +1 @@ # 基础配置 - - diff --git "a/content/zh/docs/Administration/\345\242\236\345\212\240\347\224\250\346\210\267.md" "b/content/zh/docs/Administration/\345\242\236\345\212\240\347\224\250\346\210\267.md" index 72965ad4b94a08efd4570137249210a895228215..4357e799aec9ce773e07233c18723a49f138b05f 100644 --- "a/content/zh/docs/Administration/\345\242\236\345\212\240\347\224\250\346\210\267.md" +++ "b/content/zh/docs/Administration/\345\242\236\345\212\240\347\224\250\346\210\267.md" @@ -54,5 +54,5 @@ passwd: all authentication tokens updated successfully. ``` >![](public_sys-resources/icon-note.gif) **说明:** ->若打印信息中出现“BAD PASSWORD: The password fails the dictionary check - it is too simplistic/sytematic”,表示设置的密码过于简单,需要重新设置。 +>若打印信息中出现“BAD PASSWORD: The password fails the dictionary check - it is too simplistic/sytematic”,表示设置的密码过于简单,建议设置复杂度较高的密码。 diff --git "a/content/zh/docs/Administration/\346\220\255\345\273\272FTP\346\234\215\345\212\241\345\231\250.md" "b/content/zh/docs/Administration/\346\220\255\345\273\272FTP\346\234\215\345\212\241\345\231\250.md" index f075f8292d6ab93cc85447766e3b056d36b7a6ae..f952e04e17e369417c8b250ee1daffe20f9710c1 100644 --- "a/content/zh/docs/Administration/\346\220\255\345\273\272FTP\346\234\215\345\212\241\345\231\250.md" +++ "b/content/zh/docs/Administration/\346\220\255\345\273\272FTP\346\234\215\345\212\241\345\231\250.md" @@ -1,2 +1 @@ -# 搭建FTP服务器 - +# 搭建FTP服务器 \ No newline at end of file diff --git "a/content/zh/docs/Administration/\346\220\255\345\273\272web\346\234\215\345\212\241\345\231\250.md" "b/content/zh/docs/Administration/\346\220\255\345\273\272web\346\234\215\345\212\241\345\231\250.md" index 166363da2ba1ef21b45594dd3d12fd17bfbebd9f..7478f21a428d1918bc7566ea877a5266aaa7fbe3 100644 --- "a/content/zh/docs/Administration/\346\220\255\345\273\272web\346\234\215\345\212\241\345\231\250.md" +++ "b/content/zh/docs/Administration/\346\220\255\345\273\272web\346\234\215\345\212\241\345\231\250.md" @@ -1,4 +1 @@ # 搭建web服务器 - - - diff --git "a/content/zh/docs/Administration/\346\220\255\345\273\272\346\234\215\345\212\241.md" "b/content/zh/docs/Administration/\346\220\255\345\273\272\346\234\215\345\212\241.md" index 88ed23e1a8e9b6573219c5dfcd7696689c4fbf63..5060d08857552838b9a96b60e92dad7973ad6ae0 100644 --- "a/content/zh/docs/Administration/\346\220\255\345\273\272\346\234\215\345\212\241.md" +++ "b/content/zh/docs/Administration/\346\220\255\345\273\272\346\234\215\345\212\241.md" @@ -1,3 +1 @@ -# 搭建服务 - - +# 搭建服务 \ No newline at end of file diff --git "a/content/zh/docs/Administration/\346\224\271\345\217\230\350\277\220\350\241\214\347\272\247\345\210\253.md" "b/content/zh/docs/Administration/\346\224\271\345\217\230\350\277\220\350\241\214\347\272\247\345\210\253.md" index 4170151e3e2fd2958060649d1596d2efec064b5b..c4bca64ac700890e0d1967a3c6b53b08240f30f9 100644 --- "a/content/zh/docs/Administration/\346\224\271\345\217\230\350\277\220\350\241\214\347\272\247\345\210\253.md" +++ "b/content/zh/docs/Administration/\346\224\271\345\217\230\350\277\220\350\241\214\347\272\247\345\210\253.md" @@ -67,20 +67,20 @@ systemd用目标(target)替代了运行级别的概念,提供了更大的 -## 查看系统默认目标 +## 查看系统默认启动目标 -查看当前系统默认的启动级别,命令如下: +查看当前系统默认的启动目标,命令如下: ``` systemctl get-default ``` -## 查看当前系统的目标 +## 查看当前系统所有的启动目标 -查看当前系统默认的启动级别,命令如下: +查看当前系统所有的启动目标,命令如下: ``` -systemctl list-units --type target +systemctl list-units --type=target ``` ## 改变默认目标 diff --git "a/content/zh/docs/Administration/\346\234\211\347\212\266\346\200\201\350\207\252\345\212\250\351\205\215\347\275\256IPv6\345\234\260\345\235\200.md" "b/content/zh/docs/Administration/\346\234\211\347\212\266\346\200\201\350\207\252\345\212\250\351\205\215\347\275\256IPv6\345\234\260\345\235\200.md" index aba5bbe57d4e2dd0a0d4b5251d5db3b3eaa5dd97..fbb5a6e5688a9f026d6fb90c1ef853130c8590a2 100644 --- "a/content/zh/docs/Administration/\346\234\211\347\212\266\346\200\201\350\207\252\345\212\250\351\205\215\347\275\256IPv6\345\234\260\345\235\200.md" +++ "b/content/zh/docs/Administration/\346\234\211\347\212\266\346\200\201\350\207\252\345\212\250\351\205\215\347\275\256IPv6\345\234\260\345\235\200.md" @@ -57,11 +57,11 @@ IPv6与IPv4都可以通过DHCP的方式获得IP地址。IPv6地址有两种配 } pool6 { allow members of "hw"; - range6 fc00:4:12:ffff::ff10 2019:4:12:ffff::ff20; + range6 fc00:4:12:ffff::ff10 fc00:4:12:ffff::ff20; } pool6 { allow unknown clients; - range6 fc00:4:12:ffff::100 2019:4:12:ffff::120; + range6 fc00:4:12:ffff::100 fc00:4:12:ffff::120; } } ``` diff --git "a/content/zh/docs/Administration/\346\277\200\346\264\273\351\242\221\351\201\223\347\273\221\345\256\232.md" "b/content/zh/docs/Administration/\346\277\200\346\264\273\351\242\221\351\201\223\347\273\221\345\256\232.md" index f1117d574f83e2a3cfef651ae5380774b1828e46..cc5c26916eb8873837efe28238947a3f172f2f5f 100644 --- "a/content/zh/docs/Administration/\346\277\200\346\264\273\351\242\221\351\201\223\347\273\221\345\256\232.md" +++ "b/content/zh/docs/Administration/\346\277\200\346\264\273\351\242\221\351\201\223\347\273\221\345\256\232.md" @@ -13,7 +13,7 @@ Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkMa ``` >![](public_sys-resources/icon-note.gif) **说明:** ->对于已经处于“up”状态的接口,请首先使用“ifdown _enp3s0”_命令修改状态为down,其中_enp3s0_ 为实际网卡名称。 +>对于已经处于“up”状态的接口,请首先使用“ifdown _enp3s0”_命令修改状态为down,其中_enp3s0_ 为实际网卡名称。 完成后,启动所有从属接口以便启动绑定(不将其设定为 “down”)。 @@ -27,6 +27,7 @@ Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkMa ``` # ip link show + 1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp3s0: mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 diff --git "a/content/zh/docs/Administration/\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267\346\216\210\346\235\203.md" "b/content/zh/docs/Administration/\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267\346\216\210\346\235\203.md" index cd4c1169546e059fa044f83e427dd33b9279eca1..7eaeddc46ca91ed8d2c70cc46fb317c02d1645e2 100644 --- "a/content/zh/docs/Administration/\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267\346\216\210\346\235\203.md" +++ "b/content/zh/docs/Administration/\347\256\241\347\220\206\345\221\230\350\264\246\346\210\267\346\216\210\346\235\203.md" @@ -1,4 +1 @@ # 管理员账户授权 - - - diff --git "a/content/zh/docs/Administration/\347\256\241\347\220\206\346\234\215\345\212\241.md" "b/content/zh/docs/Administration/\347\256\241\347\220\206\346\234\215\345\212\241.md" index e85dd6823397c6f36ab87ca61fa8d7ee5fc048eb..726172db204d1d4ed867db36386870c662ec1a9f 100644 --- "a/content/zh/docs/Administration/\347\256\241\347\220\206\346\234\215\345\212\241.md" +++ "b/content/zh/docs/Administration/\347\256\241\347\220\206\346\234\215\345\212\241.md" @@ -1,6 +1,3 @@ # 管理服务 -本章介绍如何使用systemd进行系统和服务管理。 - - - +本章介绍如何使用systemd进行系统和服务管理。 \ No newline at end of file diff --git "a/content/zh/docs/Administration/\347\256\241\347\220\206\347\224\250\346\210\267.md" "b/content/zh/docs/Administration/\347\256\241\347\220\206\347\224\250\346\210\267.md" index cb6e0f0f6bbd91891ca55586f7a8cf13a27898d5..a53f1a09efc7c90c69fbe4578237e95731bfa2dc 100644 --- "a/content/zh/docs/Administration/\347\256\241\347\220\206\347\224\250\346\210\267.md" +++ "b/content/zh/docs/Administration/\347\256\241\347\220\206\347\224\250\346\210\267.md" @@ -3,6 +3,3 @@ 在Linux中,每个普通用户都有一个账户,包括用户名、密码和主目录等信息。除此之外,还有一些系统本身创建的特殊用户,它们具有特殊的意义,其中最重要的是管理员账户,默认用户名是root。同时Linux也提供了用户组,使每一个用户至少属于一个组,从而便于权限管理。 用户和用户组管理是系统安全管理的重要组成部分,本章主要介绍openEuler提供的用户管理和组管理命令,以及为普通用户分配特权的方法。 - - - diff --git "a/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\346\234\215\345\212\241.md" "b/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\346\234\215\345\212\241.md" index 26246c2484d4d1211ca7b62c3fa28e0a6f39193d..a2f8961e31071c8efc2bea5756d0311fd42b59b4 100644 --- "a/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\346\234\215\345\212\241.md" +++ "b/content/zh/docs/Administration/\347\256\241\347\220\206\347\263\273\347\273\237\346\234\215\345\212\241.md" @@ -17,65 +17,65 @@ systemd提供systemctl命令与sysvinit命令的功能类似。当前版本中 -

service sshd start

+

service sshd start

-

systemctl start sshd.service

+

systemctl start sshd.service

用来启动一个服务 (并不会重启现有的)。

-

service sshd stop

+

service sshd stop

-

systemctl stop sshd.service

+

systemctl stop sshd.service

用来停止一个服务 (并不会重启现有的)。

-

service sshd restart

+

service sshd restart

-

systemctl restart sshd.service

+

systemctl restart sshd.service

用来停止并启动一个服务。

-

service sshd reload

+

service sshd reload

-

systemctl reload sshd.service

+

systemctl reload sshd.service

当支持时,重新装载配置文件而不中断等待操作。

-

service sshd condrestart

+

service sshd condrestart

-

systemctl condrestart sshd.service

+

systemctl condrestart sshd.service

如果服务正在运行那么重启它。

-

service sshd status

+

service sshd status

-

systemctl status sshd.service

+

systemctl status sshd.service

汇报服务是否正在运行。

-

chkconfig sshd on

+

chkconfig sshd on

-

systemctl enable sshd.service

+

systemctl enable sshd.service

在下次启动时或满足其他触发条件时设置服务为启用。

-

chkconfig sshd off

+

chkconfig sshd off

-

systemctl disable sshd.service

+

systemctl disable sshd.service

在下次启动时或满足其他触发条件时设置服务为禁用。

-

chkconfig sshd

+

chkconfig sshd

-

systemctl is-enabled sshd.service

+

systemctl is-enabled sshd.service

用来检查一个服务在当前环境下被配置为启用还是禁用。

@@ -87,14 +87,14 @@ systemd提供systemctl命令与sysvinit命令的功能类似。当前版本中

输出在各个运行级别下服务的启用和禁用情况。

-

chkconfig sshd --list

+

chkconfig sshd --list

-

ls /etc/systemd/system/*.wants/sshd.service

+

ls /etc/systemd/system/*.wants/sshd.service

用来列出该服务在哪些运行级别下启用和禁用。

-

chkconfig sshd --add

+

chkconfig sshd --add

systemctl daemon-reload

@@ -122,20 +122,19 @@ systemctl list-units --type service --all ``` $ systemctl list-units --type service -UNIT LOAD ACTIVE SUB DESCRIPTION -abrt-ccpp.service loaded active exited Install ABRT coredump hook -abrt-oops.service loaded active running ABRT kernel log watcher -abrt-vmcore.service loaded active exited Harvest vmcores for ABRT -abrt-xorg.service loaded active running ABRT Xorg log watcher -abrtd.service loaded active running ABRT Automated Bug Reporting Tool -...systemd-vconsole-setup.service loaded active exited Setup Virtual Consoletog-pegasus.service loaded active running OpenPegasus CIM Server - -LOAD = Reflects whether the unit definition was properly loaded. -ACTIVE = The high-level unit activation state, i.e. generalization of SUB. -SUB = The low-level unit activation state, values depend on unit type. - -46 loaded units listed. Pass --all to see loaded but inactive units, too. -To show all installed unit files use 'systemctl list-unit-files' +UNIT LOAD ACTIVE SUB JOB DESCRIPTION +atd.service loaded active running Deferred execution scheduler +auditd.service loaded active running Security Auditing Service +avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack +chronyd.service loaded active running NTP client/server +crond.service loaded active running Command Scheduler +dbus.service loaded active running D-Bus System Message Bus +dracut-shutdown.service loaded active exited Restore /run/initramfs on shutdown +firewalld.service loaded active running firewalld - dynamic firewall daemon +getty@tty1.service loaded active running Getty on tty1 +gssproxy.service loaded active running GSSAPI Proxy Daemon +irqbalance.service loaded active running irqbalance daemon +iscsid.service loaded activating start start Open-iSCSI ``` ## 显示服务状态 @@ -159,7 +158,7 @@ systemctl status name.service

Loaded

-

说明服务是否被加载,并显示服务对应的绝度路径以及是否启用。

+

说明服务是否被加载,并显示服务对应的绝路径以及是否启用。

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 @@ -

+

用于传递设备或环境安全警示信息。如不避免则可能会导致设备损坏、数据丢失、设备性能降低或其它不可预知的结果。

“须知”不涉及人身伤害。

-

+

对正文中重点信息的补充说明。

“说明”不是安全警示信息,不涉及人身、设备及环境伤害信息。

diff --git "a/content/zh/docs/Installation/\345\215\212\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\215\212\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..f6e9812cea638f738c80cff9f3a6e6d9d29b2560 --- /dev/null +++ "b/content/zh/docs/Installation/\345\215\212\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,117 @@ +# 半自动化安装指导 + +## 环境要求 + +使用kickstart进行openEuler系统的半自动化安装的环境要求如下: + +- 物理机/虚拟机(虚拟机创建可参考对应厂商的资料)。包括使用kickstart工具进行自动化安装的计算机和被安装的计算机。 +- httpd:存放kickstart文件。 +- 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. kickstart文件的准备。 + + ``` + # mkdir /var/www/html/ks + # vim /var/www/html/ks/openEuler-ks.cfg ===>根据已安装openEuler系统自动生成的anaconda-ks.cfg修改得到,也可以使用system-config-kickstart工具做成 + ==================================== + ***以下内容需要根据实际需求进行修改*** + #version=DEVEL + ignoredisk --only-use=sda + autopart --type=lvm + # Partition clearing information + clearpart --none --initlabel + # Use text mode install + text + # Use CDROM installation media + cdrom + # Keyboard layouts + keyboard --vckeymap=cn --xlayouts='cn' + # System language + lang zh_CN.UTF-8 + + # Network information + network --bootproto=dhcp --device=enp4s0 --ipv6=auto --activate + network --hostname=openeuler.com + # Root password + rootpw --iscrypted $6$fQE83lxEZ48Or4zc$j7/PlUMHn29yTjCD4Fi44WTZL/RzVGxJ/7MGsZMl6QfE3KjIVT7M4UrhFXbafvRq2lUddAFcyWHd5WRmXfEK20 + # Run the Setup Agent on first boot + firstboot --enable + # Do not configure the X Window System + skipx + # System services + services --disabled="chronyd" + # System timezone + timezone Asia/Shanghai --isUtc--nontp + + %packages + @^minimal-environment + @standard + + %end + + %anaconda + pwpolicy root --minlen=8 --minquality=1 --notstrict --nochanges --notempty + pwpolicy user --minlen=8 --minquality=1 --notstrict --nochanges --emptyok + pwpolicy luks --minlen=8 --minquality=1 --notstrict --nochanges --notempty + %end + + %post + #enable kdump + sed -i "s/ ro / ro crashkernel=1024M,high /" /boot/efi/EFI/openEuler/grub.cfg + %end + ===================================== + ``` + + >![](public_sys-resources/icon-note.gif) **说明:** + >密码密文生成方式: + >\# python3 + >Python 3.7.0 \(default, Apr 1 2019, 00:00:00\) + >\[GCC 7.3.0\] on linux + >Type "help", "copyright", "credits" or "license" for more information. + >\>\>\> import crypt + >\>\>\> passwd = crypt.crypt\("myPasswd"\) + >\>\>\> print\(passwd\) + >$6$63c4tDmQGn5SDayV$mZoZC4pa9Jdt6/ALgaaDq6mIExiOO2EjzomB.Rf6V1BkEMJDcMddZeGdp17cMyc9l9ML9ldthytBEPVcnboR/0 + +3. 将ISO镜像文件挂载到需要安装openEuler计算机的光驱上。 + + 另外,也可以选择NFS等网络安装,kickstart文件中需要指定安装源位置(默认是cdrom)。 + + +**安装系统** + +1. 启动系统进入安装选择界面。 + 1. 在[启动安装](zh-cn_topic_0187280593.md),选择【Install openEuler 1.0 with text mode】,并按下【e】键。 + 2. 启动参数中追加“inst.ks=http://server ip/ks/openEuler-ks.cfg”。 + + ![](figures/19.png) + + 3. 按【Ctrl+x】,开始系统的自动安装。 + +2. 确认系统安装完毕。 + + 系统安装完毕以后会自动重启,然后再次进入到安装界面,此时关闭计算机,调整启动顺序(优先从硬盘启动)。 + + ![](figures/zh-cn_image_0187471756.png) + + diff --git "a/content/zh/docs/Installation/\345\217\221\345\270\203\345\214\205\345\256\214\346\225\264\346\200\247\346\240\241\351\252\214.md" "b/content/zh/docs/Installation/\345\217\221\345\270\203\345\214\205\345\256\214\346\225\264\346\200\247\346\240\241\351\252\214.md" index 928d14cea3b13c5da408c49117f761b47153c13c..ac03c1800d170d1ffce562382fffd670d3d1dcee 100644 --- "a/content/zh/docs/Installation/\345\217\221\345\270\203\345\214\205\345\256\214\346\225\264\346\200\247\346\240\241\351\252\214.md" +++ "b/content/zh/docs/Installation/\345\217\221\345\270\203\345\214\205\345\256\214\346\225\264\346\200\247\346\240\241\351\252\214.md" @@ -1,4 +1,4 @@ -# 发布包完整性校验 +# 发布包完整性校验 ## 简介 diff --git "a/content/zh/docs/Installation/\345\220\257\345\212\250\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\345\220\257\345\212\250\345\256\211\350\243\205.md" index 30fe272a203f891d1b55125d7b590e3f48ea1e23..bb88db0fde9db1167ee0596f7dbfe8990a6ba37d 100644 --- "a/content/zh/docs/Installation/\345\220\257\345\212\250\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Installation/\345\220\257\345\212\250\345\256\211\350\243\205.md" @@ -1,4 +1,4 @@ -# 启动安装 +# 启动安装 在服务器的光驱中加载openEuler 1.0安装镜像,重启服务器,具体步骤如下。 @@ -22,21 +22,21 @@ **图 3** 重启图标 ![](figures/重启图标.png "重启图标") -5. 系统使用引导介质完成引导后会显示引导菜单。该引导菜单除启动安装程序外还提供一些选项。安装系统时,默认采用“Install openEuler 1.0 with text mode”方式进行安装。如果要选择默认选项之外的选项,请使用键盘中的“↑”和“↓”方向键进行选择,并在选项为高亮状态时按“Enter”。 +5. 系统使用引导介质完成引导后会显示引导菜单。该引导菜单除启动安装程序外还提供一些选项。安装系统时,默认采用“Test this media & install openEuler 1.0 with GUI mode”方式进行安装。如果要选择默认选项之外的选项,请使用键盘中的“↑”和“↓”方向键进行选择,并在选项为高亮状态时按“Enter”。 >![](public_sys-resources/icon-note.gif) **说明:** - >- 如果60秒内未按任何键,系统将从默认选项“Install openEuler 1.0 with text mode”自动进入安装界面。 - >- 安装物理机时,如果使用键盘上下键无法选择启动选项,按“Enter”键无响应,可以单击BMC界面上的鼠标控制图标“![](figures/zh-cn_image_0214071107.png)”,设置“键鼠复位”。 + >- 如果60秒内未按任何键,系统将从默认选项“Test this media & install openEuler 1.0 with GUI mode”自动进入安装界面。 + >- 安装物理机时,如果使用键盘上下键无法选择启动选项,按“Enter”键无响应,可以单击BMC界面上的鼠标控制图标“![](figures/zh-cn_image_0220373199.png)”,设置“键鼠复位”。 **图 4** 安装引导界面 ![](figures/安装引导界面.png "安装引导界面") 安装引导选项说明如下: - - Install openEuler 1.0 with GUI mode —— 在您的服务器上使用图形模式安装。详见“安装指导 \> 通过图形化模式安装”章节。 - - Install openEuler 1.0 with text mode ——默认选项,在您的服务器上使用文本模式安装。安装的过程默认在系统的串口tty0中完成。详见“安装指导 \> 通过文本模式安装”章节。 + - Install openEuler 1.0 with GUI mode —— 在您的服务器上使用图形用户界面模式安装。详见“安装指导 \> 通过图形化模式安装”章节。 + - Install openEuler 1.0 with text mode ——在您的服务器上使用文本模式安装。安装的过程默认在系统的串口tty0中完成。详见“安装指导 \> 通过文本模式安装”章节。 - - Test this media & install openEuler 1.0 —— 在您的服务器上使用图形安装程序安装,但在启动安装程序前会进行安装介质的完整性检查。 + - Test this media & install openEuler 1.0 with GUI mode —— 默认选项,在您的服务器上使用图形用户界面模式安装,但在启动安装程序前会进行安装介质的完整性检查。 - Trubleshooting —— 问题定位模式,系统无法正常安装时使用。进入问题定位模式后,有如下两个选项。 - Install openEuler 1.0 in basic graphics mode —— 简单图形安装模式,该模式下在系统启动并运行之前不启动视频驱动程序。 diff --git "a/content/zh/docs/Installation/\345\246\202\344\275\225\346\211\213\345\212\250\345\274\200\345\220\257kdump\346\234\215\345\212\241.md" "b/content/zh/docs/Installation/\345\246\202\344\275\225\346\211\213\345\212\250\345\274\200\345\220\257kdump\346\234\215\345\212\241.md" index c6ac1e2f92368a2bc84fd969019a915c243afe24..24f1e973ac6366cea3cc09922a7c0fa630d6197d 100644 --- "a/content/zh/docs/Installation/\345\246\202\344\275\225\346\211\213\345\212\250\345\274\200\345\220\257kdump\346\234\215\345\212\241.md" +++ "b/content/zh/docs/Installation/\345\246\202\344\275\225\346\211\213\345\212\250\345\274\200\345\220\257kdump\346\234\215\345\212\241.md" @@ -1,10 +1,10 @@ -# 如何手动开启kdump服务 +# 如何手动开启kdump服务 ## 问题现象 执行systemctl status kdump命令,显示状态信息如下,提示无预留内存。 -![](figures/zh-cn_image_0216604776.png) +![](figures/zh-cn_image_0220373206.png) ## 原因分析 @@ -16,7 +16,7 @@ kdump服务需要系统预留一段内存用于运行kdump内核,而当前系 1. 修改/boot/efi/EFI/openEuler/grub.cfg,添加crashkernel=1024M,high。 2. 重启系统使配置生效。 -3. 执行如下命令,检查kdump状态, +3. 执行如下命令,检查kdump状态: ``` systemctl status kdump @@ -24,7 +24,7 @@ kdump服务需要系统预留一段内存用于运行kdump内核,而当前系 若回显如下,即kdump的状态为active,说明kdump已使能,操作结束。 - ![](figures/zh-cn_image_0216604777.png) + ![](figures/zh-cn_image_0220373224.png) ## 参数说明 diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205openEuler\346\227\266\351\200\211\346\213\251\347\254\254\344\272\214\347\233\230\344\275\215\344\270\272\345\256\211\350\243\205\347\233\256\346\240\207-\346\223\215\344\275\234\347\263\273\347\273\237\346\227\240\346\263\225\345\220\257\345\212\250.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205openEuler\346\227\266\351\200\211\346\213\251\347\254\254\344\272\214\347\233\230\344\275\215\344\270\272\345\256\211\350\243\205\347\233\256\346\240\207-\346\223\215\344\275\234\347\263\273\347\273\237\346\227\240\346\263\225\345\220\257\345\212\250.md" index b9124278f4a7255c358248dcde2407d72835ae1d..1e8d857b2259b94f616f764c4b65d4608a21b9f0 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205openEuler\346\227\266\351\200\211\346\213\251\347\254\254\344\272\214\347\233\230\344\275\215\344\270\272\345\256\211\350\243\205\347\233\256\346\240\207-\346\223\215\344\275\234\347\263\273\347\273\237\346\227\240\346\263\225\345\220\257\345\212\250.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205openEuler\346\227\266\351\200\211\346\213\251\347\254\254\344\272\214\347\233\230\344\275\215\344\270\272\345\256\211\350\243\205\347\233\256\346\240\207-\346\223\215\344\275\234\347\263\273\347\273\237\346\227\240\346\263\225\345\220\257\345\212\250.md" @@ -1,4 +1,4 @@ -# 安装openEuler时选择第二盘位为安装目标,操作系统无法启动 +# 安装openEuler时选择第二盘位为安装目标,操作系统无法启动 ## 问题现象 diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205\345\207\206\345\244\207.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205\345\207\206\345\244\207.md" index 52edbd9755c5b5a66671f43d94a557fe1b69c8c5..accca637546d6be7da8b54b67c9555f9469f3d4a 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205\345\207\206\345\244\207.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205\345\207\206\345\244\207.md" @@ -1,3 +1,3 @@ -# 安装准备 +# 安装准备 -介绍安装前需要考虑软硬件兼容性状况,以及相关的配置和准备工作。 +介绍安装前需要考虑软硬件兼容性状况,以及相关的配置和准备工作。 \ No newline at end of file diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205\345\256\214\346\210\220.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205\345\256\214\346\210\220.md" index 47b0de197cbb73e1399ad5f09cc9e274444847fb..8475891a071c732f0729d4d808000e2e67e8f820 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205\345\256\214\346\210\220.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205\345\256\214\346\210\220.md" @@ -1,12 +1,10 @@ -# 安装完成 +# 安装完成 此刻,openEuler已完成安装,如[图1](#zh-cn_topic_0186390267_zh-cn_topic_0122145917_fig1429512116338)所示。单击“重启”后,系统将重新启动。 **图 1** 完成安装 ![](figures/完成安装.png "完成安装") ->![](public_sys-resources/icon-note.gif) **说明:** ->如果在重启过程中安装光盘没有自动弹出,则请手动取出。 - -重启完成后,则可以直接进入openEuler命令行登录界面。 +- 如果当前使用物理光盘安装操作系统,且在重启过程中安装光盘没有自动弹出,请手动取出光盘,则可以直接进入openEuler命令行登录界面。 +- 如果当前使用虚拟光驱安装操作系统,则需要修改服务器的启动项为“硬盘”,然后重启服务器,则可以直接进入openEuler命令行登录界面。 diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" index 3f9f0cc3b3e98cc68bd9ed940a1c6a5d18904b92..8527efd03817f676ab3660f204e29e30167c2a8a 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205\346\214\207\345\257\274.md" @@ -1,3 +1,3 @@ -# 安装指导 +# 安装指导 本章介绍如何通过光盘安装openEuler 1.0。 diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205\346\226\271\345\274\217\344\273\213\347\273\215.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205\346\226\271\345\274\217\344\273\213\347\273\215.md" index 8d226561c397182341c666c8706134c80f380dd2..ab44cc5699ddeb29e35896487624218bbeb94a09 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205\346\226\271\345\274\217\344\273\213\347\273\215.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205\346\226\271\345\274\217\344\273\213\347\273\215.md" @@ -1,8 +1,4 @@ -# 安装方式介绍 +# 安装方式介绍 >![](public_sys-resources/icon-notice.gif) **须知:** ->仅支持在TaiShan 200服务器上安装,具体支持的服务器型号可参考“安装准备 \> 硬件兼容支持”章节,且仅支持通过光盘安装。 - -- **[通过光盘安装](通过光盘安装.md)** - - +>仅支持在TaiShan 200服务器上安装,具体支持的服务器型号可参考“安装准备 \> 硬件兼容支持”章节,且仅支持通过光盘安装。 \ No newline at end of file diff --git "a/content/zh/docs/Installation/\345\256\211\350\243\205\350\277\207\347\250\213\351\205\215\347\275\256.md" "b/content/zh/docs/Installation/\345\256\211\350\243\205\350\277\207\347\250\213\351\205\215\347\275\256.md" index e20b2849233b5ab3ea1ad5a7068871e66befa360..01dd7592753b39fc2ea63152088407bcad7a676f 100644 --- "a/content/zh/docs/Installation/\345\256\211\350\243\205\350\277\207\347\250\213\351\205\215\347\275\256.md" +++ "b/content/zh/docs/Installation/\345\256\211\350\243\205\350\277\207\347\250\213\351\205\215\347\275\256.md" @@ -1,11 +1,11 @@ -# 安装过程配置 +# 安装过程配置 开始安装后会出现进度页面,显示安装进度及所选软件包写入系统的进度。 **图 1** 安装过程 ![](figures/安装过程.png "安装过程") -安装软件包的过程中,需要用户配置root密码、创建用户。 +安装软件包的过程中,需要用户配置root密码、根据个人需求可以创建用户。 ## 密码复杂度 @@ -41,7 +41,7 @@ ## 设置root密码 -单击“root密码”,弹出设置密码界面如[图2](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1323165793018)所示,输入密码并重新输入确认。 +单击“root密码”,弹出设置密码界面如[图2](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1323165793018)所示,输入密码并再次输入密码进行确认。 >![](public_sys-resources/icon-note.gif) **说明:** >root密码需要在安装软件包的同时进行配置,如果不配置该密码则无法完成安装。root账户是用来执行关键系统管理任务,不建议您在日常工作及系统访问时使用root账户。 @@ -63,3 +63,7 @@ 完成设置后,单击左上角的“完成”返回安装过程界面。 +单击“结束配置”,完成openEuler的相关配置。 + +![](figures/zh-cn_image_0220924538.png) + diff --git "a/content/zh/docs/Installation/\345\256\214\346\210\220\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\345\256\214\346\210\220\345\256\211\350\243\205.md" index 47acac71e57e1cddb0eb8f14e4ce39db03f3d045..9834d9ac6277618934711fd6dc014cc42a473a9c 100644 --- "a/content/zh/docs/Installation/\345\256\214\346\210\220\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Installation/\345\256\214\346\210\220\345\256\211\350\243\205.md" @@ -1,6 +1,6 @@ -# 完成安装 +# 完成安装 -在“安装概览”页面上完成所有必填选项的配置后,界面上的警告\[!\]会消失。此时,在界面输入“b”,进行系统安装。 +在“安装概览”页面上完成所有必填选项的配置(安装位置和Root密码设置)后,界面上的警告\[!\]会消失。此时,在界面输入“b”,进行系统安装。 **图 1** 开始安装 ![](figures/开始安装-5.png "开始安装-5") @@ -8,8 +8,8 @@ **图 2** 安装完成后按Enter键重启 ![](figures/安装完成后按Enter键重启.png "安装完成后按Enter键重启") -**图 3** 安装完成,进入登录界面 -![](figures/安装完成-进入登录界面.png "安装完成-进入登录界面") +- 如果当前使用物理光盘安装操作系统,且在重启过程中安装光盘没有自动弹出,请手动取出光盘,则可以直接进入openEuler命令行登录界面。 +- 如果当前使用虚拟光驱安装操作系统,则需要修改服务器的启动项为“硬盘”,然后重启服务器,则可以直接进入openEuler命令行登录界面。 >![](public_sys-resources/icon-note.gif) **说明:** >- 由于BIOS预留内存,系统重启前后总内存(MemTotal )不一致,会有少量差异。 diff --git "a/content/zh/docs/Installation/\345\274\200\345\247\213\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\345\274\200\345\247\213\345\256\211\350\243\205.md" index 7de1ba84dfe48f2e938e33d81fb6910059709d1f..2321d8c17283467b1640d51c2378d50445b33272 100644 --- "a/content/zh/docs/Installation/\345\274\200\345\247\213\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Installation/\345\274\200\345\247\213\345\256\211\350\243\205.md" @@ -1,4 +1,4 @@ -# 开始安装 +# 开始安装 在安装界面上完成所有必填选项的配置后,界面上的警告会消失。此时,用户可以单击“开始安装”进行系统安装。 diff --git "a/content/zh/docs/Installation/\346\200\273\344\275\223\344\273\213\347\273\215.md" "b/content/zh/docs/Installation/\346\200\273\344\275\223\344\273\213\347\273\215.md" new file mode 100644 index 0000000000000000000000000000000000000000..b087f598cb41e7bcf3d451e1960d324aac42cf69 --- /dev/null +++ "b/content/zh/docs/Installation/\346\200\273\344\275\223\344\273\213\347\273\215.md" @@ -0,0 +1,57 @@ +# 总体介绍 + +## 概述 + +用户可以使用kickstart工具进行openEuler系统的自动化安装,包括如下两种方式: + +- 半自动化安装:安装人员不需要手动设定操作系统的键盘、语言、分区等具体属性(通过kickstart实现自动化),但是需要手动指定kickstart文件的位置。 +- 全自动化安装:实现操作系统的安装过程全自动化。 + +## 优缺点对比 + +使用kickstart工具进行半自动化安装和全自动化安装的优缺点对比如[表1](#zh-cn_topic_0187280621_table1388812373315)所示,用户可以自行选择安装方式。 + +**表 1** 优缺点对比 + + + + + + + + + + + + + + + + +

安装方式

+

优点

+

缺点

+

半自动化安装

+

不需要准备tftp,pxe,dhcp等服务

+

需要手动指定kickstart文件的位置

+

全自动化安装

+

操作系统的全自动化安装

+

需要配置tftp,dhcpd,pxe等服务

+
+ +## 背景知识 + +**kickstart** + +kickstart是一种无人值守的安装方式。它的工作原理是在安装过程中记录典型的需要人工干预填写的各种参数,并生成一个配置文件(ks.cfg),在安装过程中,安装程序首先会去查找ks配置文件,如果找到合适的参数,就采用所找到的参数;如果没有找到合适的参数,便需要安装者手工设定。所以,如果kickstart文件涵盖了安装过程中需要设定的所有参数,安装者只需要告诉安装程序从何处取ks.cfg文件,就能实现系统安装的自动化。 + +kickstart 安装提供一个安装过程自动化的方法,可以是部分自动化,也可以是完全自动化。 + +**PXE** + +PXE(Pre-boot Execution Environment,预启动执行环境),工作于Client/Server的网络模式,支持PXE的客户端在启动过程中,能够从DHCP服务器获取IP结合TFTP(trivial file transfer protocol)等协议可以实现客户端的网络引导和安装。 + +**TFTP** + +TFTP(Trivial File Transfer Protocol,简单文件传输协议),该协议用来实现客户机与服务器之间的简单文件传输,它提供不复杂、开销不大的文件传输服务。 + diff --git "a/content/zh/docs/Installation/\346\234\200\345\260\217\347\241\254\344\273\266\350\246\201\346\261\202.md" "b/content/zh/docs/Installation/\346\234\200\345\260\217\347\241\254\344\273\266\350\246\201\346\261\202.md" index 8781e42e8a29747763c6e3e9fc9f45c9a8e30559..7f2970f992e3f5fa426d09f6865512087b979bbf 100644 --- "a/content/zh/docs/Installation/\346\234\200\345\260\217\347\241\254\344\273\266\350\246\201\346\261\202.md" +++ "b/content/zh/docs/Installation/\346\234\200\345\260\217\347\241\254\344\273\266\350\246\201\346\261\202.md" @@ -1,4 +1,4 @@ -# 最小硬件要求 +# 最小硬件要求 openEuler所需的最小硬件要求如[表1](#tff48b99c9bf24b84bb602c53229e2541)所示。 @@ -17,7 +17,7 @@ openEuler所需的最小硬件要求如[表1](#tff48b99c9bf24b84bb602c53229e2541

AArch64

-

仅支持ARM的64位架构。

+

仅支持Arm的64位架构。

CPU

diff --git "a/content/zh/docs/Installation/\346\263\225\345\276\213\345\243\260\346\230\216.md" "b/content/zh/docs/Installation/\346\263\225\345\276\213\345\243\260\346\230\216.md" index 9b359e495cda93f94be4c3324052c61002aff8b1..69bf8aee0072b9d6a6bd9f4954f6066684e679fe 100644 --- "a/content/zh/docs/Installation/\346\263\225\345\276\213\345\243\260\346\230\216.md" +++ "b/content/zh/docs/Installation/\346\263\225\345\276\213\345\243\260\346\230\216.md" @@ -1,4 +1,4 @@ -# 法律声明 +# 法律声明 **版权所有 © 2020 华为技术有限公司。** diff --git "a/content/zh/docs/Installation/\347\241\254\344\273\266\345\205\274\345\256\271\346\224\257\346\214\201.md" "b/content/zh/docs/Installation/\347\241\254\344\273\266\345\205\274\345\256\271\346\224\257\346\214\201.md" index b8bfa90519224665b96dbdc56ce6e82f4005a82c..62b70aa93a11da599c469e1bd9cad73bbee4c650 100644 --- "a/content/zh/docs/Installation/\347\241\254\344\273\266\345\205\274\345\256\271\346\224\257\346\214\201.md" +++ "b/content/zh/docs/Installation/\347\241\254\344\273\266\345\205\274\345\256\271\346\224\257\346\214\201.md" @@ -1,4 +1,4 @@ -# 硬件兼容支持 +# 硬件兼容支持 openEuler安装时,应注意硬件兼容性方面的问题,当前已支持的服务器类型如[表1](#table14948632047)所示。 @@ -19,7 +19,7 @@ openEuler安装时,应注意硬件兼容性方面的问题,当前已支持

机架服务器

-

Taishan 200

+

TaiShan 200

2280均衡型

diff --git "a/content/zh/docs/Installation/\347\263\273\347\273\237\344\270\255\345\255\230\345\234\250\346\227\240\346\263\225\346\277\200\346\264\273\347\232\204\351\200\273\350\276\221\345\215\267\347\273\204\346\227\266-\351\207\215\350\243\205\347\263\273\347\273\237\345\244\261\350\264\245.md" "b/content/zh/docs/Installation/\347\263\273\347\273\237\344\270\255\345\255\230\345\234\250\346\227\240\346\263\225\346\277\200\346\264\273\347\232\204\351\200\273\350\276\221\345\215\267\347\273\204\346\227\266-\351\207\215\350\243\205\347\263\273\347\273\237\345\244\261\350\264\245.md" index edd72d063fd9005ab3078da3bdc6292b5fccf7b5..dcce8813a7795a472b78a89ab10be961ed6d57c4 100644 --- "a/content/zh/docs/Installation/\347\263\273\347\273\237\344\270\255\345\255\230\345\234\250\346\227\240\346\263\225\346\277\200\346\264\273\347\232\204\351\200\273\350\276\221\345\215\267\347\273\204\346\227\266-\351\207\215\350\243\205\347\263\273\347\273\237\345\244\261\350\264\245.md" +++ "b/content/zh/docs/Installation/\347\263\273\347\273\237\344\270\255\345\255\230\345\234\250\346\227\240\346\263\225\346\277\200\346\264\273\347\232\204\351\200\273\350\276\221\345\215\267\347\273\204\346\227\266-\351\207\215\350\243\205\347\263\273\347\273\237\345\244\261\350\264\245.md" @@ -1,4 +1,4 @@ -# 系统中存在无法激活的逻辑卷组时,重装系统失败 +# 系统中存在无法激活的逻辑卷组时,重装系统失败 ## 问题现象 diff --git "a/content/zh/docs/Installation/\347\275\221\347\273\234\351\205\215\347\275\256\347\272\246\346\235\237\351\231\220\345\210\266.md" "b/content/zh/docs/Installation/\347\275\221\347\273\234\351\205\215\347\275\256\347\272\246\346\235\237\351\231\220\345\210\266.md" index ea71ea5922a581021dddaa2b0e72be8ae45a4ce5..2a0073f120e9ffa5d346792a48d8bce6a2113412 100644 --- "a/content/zh/docs/Installation/\347\275\221\347\273\234\351\205\215\347\275\256\347\272\246\346\235\237\351\231\220\345\210\266.md" +++ "b/content/zh/docs/Installation/\347\275\221\347\273\234\351\205\215\347\275\256\347\272\246\346\235\237\351\231\220\345\210\266.md" @@ -1,6 +1,6 @@ -# 网络配置约束限制 +# 网络配置约束限制 -NetworkManager、network两个服务均是网络服务管理包,两个服务之间存在部分功能重叠。 +NetworkManager两个服务均是网络服务管理包,两个服务之间存在部分功能重叠。 - 如果使用NetworkManager管理服务,则必须使用nmcli命令或修改配置文件来配置网络(如IP、路由等),而不能使用ip/ifconfig/route命令来配置。 diff --git "a/content/zh/docs/Installation/\350\216\267\345\217\226\345\256\211\350\243\205\346\272\220.md" "b/content/zh/docs/Installation/\350\216\267\345\217\226\345\256\211\350\243\205\346\272\220.md" index 04ee87a3586c02be4e115e66275448a0785269ba..0f2049752aef2d92238507fe127a2f4ff036c381 100644 --- "a/content/zh/docs/Installation/\350\216\267\345\217\226\345\256\211\350\243\205\346\272\220.md" +++ "b/content/zh/docs/Installation/\350\216\267\345\217\226\345\256\211\350\243\205\346\272\220.md" @@ -1,4 +1,4 @@ -# 获取安装源 +# 获取安装源 在安装开始前,您需要获取openEuler的发布包和校验文件。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256root\345\257\206\347\240\201.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256root\345\257\206\347\240\201.md" index 451dea025f6646a1bcecb8946b22a5f62480cb45..180e527eb93c2eea522ebf7c2f289ae31311de44 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256root\345\257\206\347\240\201.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256root\345\257\206\347\240\201.md" @@ -1,4 +1,4 @@ -# 设置root密码 +# 设置root密码 在“安装概览”页面中输入“7”,然后按“Enter”,设置root密码。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256-5.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256-5.md" index 7932db464802b0a475877a8298080788a6154b89..072439e12677884b81c1b7b134c462b436d77629 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256-5.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256-5.md" @@ -1,10 +1,12 @@ -# 设置安装位置 +# 设置安装位置 -在“安装概览”页面中输入“5”,然后按“Enter”,设置操作系统的安装位置。安装程序会自动探测并显示可用安装位置信息,通常情况下,用户直接使用默认配置即可。 +在“安装概览”页面中输入“5”,然后按“Enter”,设置操作系统的安装位置。安装程序会自动探测并显示可用安装位置信息,根据实际情况选择安装位置。 **图 1** 安装位置 ![](figures/安装位置.png "安装位置") +输入“2”选择使用所有空间,然后输入“c”进入分区方案选择,输入“1”选择标准分区。参数说明如下: + - **分区选项** 1. Replace Existing Linux system(s):替换已有系统。只使用已有系统占用的空间,已有系统数据将会被覆盖掉。 2. Use All Space:使用所有空间。清理系统盘所有数据,安装的系统会占用所有的系统盘空间。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256.md" index 0fc1aaa394d7fbee727de2f490746edff2965f2a..3d52e9ef23b517fc1e1d5514f8284f93580ad0a0 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\344\275\215\347\275\256.md" @@ -1,4 +1,4 @@ -# 设置安装位置 +# 设置安装位置 在“安装概览”页面中选择“安装位置”,设置操作系统的安装磁盘及分区。 @@ -30,7 +30,7 @@ 在“手动分区”界面可以通过如下两种方式进行分区。 - 自动创建:在界面单击“点击这里自动创建它们”,系统会根据可用的存储空间,自动分出4个挂载点:/boot 、/、/boot/efi、swap。 -- 手动创建:单击“![](figures/zh-cn_image_0216566635.png)”添加新挂载点,建议每个挂载点的期望容量不超过可用空间。 +- 手动创建:单击“![](figures/zh-cn_image_0220373240.png)”添加新挂载点,建议每个挂载点的期望容量不超过可用空间。 >![](public_sys-resources/icon-note.gif) **说明:** >若设置的挂载点期望容量超过了可用空间,系统将剩余的可用空间全部分配给该挂载点。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260-1.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260-1.md" index 2ddaaaf721bdc2079f467325530c77e55d6065fc..a5575420d4c666944ec8e9cb26c76943281e44a5 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260-1.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260-1.md" @@ -1 +1,3 @@ -# 设置安装参数 +# 设置安装参数 + + diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260.md" index 20011e0ce767950f3ef10b4a55fecbc495de53e9..1b83f03fed97b3d969b8bc4728eaf58783c4e57d 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\345\217\202\346\225\260.md" @@ -1 +1 @@ -# 设置安装参数 +# 设置安装参数 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220-3.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220-3.md" index 5f58374c20fbaffd8b2e990696ff0cb68a2a86c1..24f759607ee29cf22f6967019d53d528bcd2efcd 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220-3.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220-3.md" @@ -1,4 +1,4 @@ -# 设置安装源 +# 设置安装源 在“安装概览”页面中输入“3”,然后按“Enter”,指定安装源的位置。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220.md" index 54add7e6efba41983551c2ae8a43ef272e4e94d1..0877df8298b6aaf706165fc02ac90073a2d68a1a 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\346\272\220.md" @@ -1,4 +1,4 @@ -# 设置安装源 +# 设置安装源 在“安装概览”页面中选择“安装源”,指定安装源的位置。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\347\250\213\345\272\217\350\257\255\350\250\200.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\347\250\213\345\272\217\350\257\255\350\250\200.md" index ae43674a3b671ced036f8d6cedb0680e5c9e1d09..1a08721ef7c5c4e55171235d0cdbabe0a755627e 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\347\250\213\345\272\217\350\257\255\350\250\200.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\345\256\211\350\243\205\347\250\213\345\272\217\350\257\255\350\250\200.md" @@ -1,4 +1,4 @@ -# 设置安装程序语言 +# 设置安装程序语言 启动安装后,在进入安装程序主界面之前,系统会提示用户设置安装过程中使用的语言。当前默认为英语,用户可根据实际情况进行调整,如[图1](#zh-cn_topic_0186390093_zh-cn_topic_0122145864_fig144630179151)所示,选择“中文”。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\345\214\272-NTP\346\234\215\345\212\241.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\345\214\272-NTP\346\234\215\345\212\241.md" index 14a5ff111adea710cc90a6baa33860a661f96ab1..9fc0ca6e13397fbdd98750991322f1ebadbf462f 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\345\214\272-NTP\346\234\215\345\212\241.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\345\214\272-NTP\346\234\215\345\212\241.md" @@ -1,4 +1,4 @@ -# 设置时区、NTP服务 +# 设置时区、NTP服务 设置系统的时区(时间/日期)、配置NTP服务。 @@ -13,16 +13,13 @@ 选择城市时,由于城市数量较多将会分页显示。在出现“Press ENTER to continue”提示时,可以按“Enter”键以显示全部的城市信息。 -**图 2** 城市 -![](figures/城市.png "城市") - ## 设置NTP服务 设置时区完成之后,回到系统安装主界面(如“安装概览”页面所示),输入“2”并按“Enter”,进入配置时区和NTP服务界面。 输入“2”并按“Enter”,配置NTP服务。 -**图 3** NTP服务器 +**图 2** NTP服务器 ![](figures/NTP服务器.png "NTP服务器") 设置完成后,在界面输入“c”,返回“安装概览”页面。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\351\227\264\345\222\214\346\227\245\346\234\237.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\351\227\264\345\222\214\346\227\245\346\234\237.md" index c934e090f8b0ae14e20db2b6de30a917c9be846e..95a4b51cf8c97defd876ba90ac2d0544adb7d8d5 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\351\227\264\345\222\214\346\227\245\346\234\237.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\346\227\266\351\227\264\345\222\214\346\227\245\346\234\237.md" @@ -1,4 +1,4 @@ -# 设置时间和日期 +# 设置时间和日期 在“安装概览”页面中选择“时间和日期”,设置系统的时区、日期、时间等。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200-2.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200-2.md" index 4cd514f9d320075b6bfb05a216b0cd385164c736..722fab34550d74321ed584c22fcb0038c27ed5f8 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200-2.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200-2.md" @@ -1,4 +1,4 @@ -# 设置系统语言 +# 设置系统语言 在“安装概览”页面中输入“1”,然后按“Enter”,设置系统的语言。用户可根据实际情况进行调整,如下图所示。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200.md" index 6e59cd84b0bec8c89a70fc692d86cb39b221b6c9..c4c3d7353ab96d5a390355178fdac20338d28613 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\263\273\347\273\237\350\257\255\350\250\200.md" @@ -1,7 +1,11 @@ -# 设置系统语言 +# 设置系统语言 在“安装概览”页面中选择“语言支持”,设置系统的语言。如[图1](#zh-cn_topic_0186390098_zh-cn_topic_0122145772_fig187301927172619)所示,用户也可根据实际情况进行调整,选择“中文”。 +>![](public_sys-resources/icon-note.gif) **说明:** +>- 若选择“中文”,系统安装完成后,使用VNC登录不支持中文显示,使用串口或者SSH等方式登录支持中文显示。 +>- 若选择“English”,则无影响。 + **图 1** 语言支持 ![](figures/语言支持.png "语言支持") diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234.md" index a6c25971951995569da97d9463d46d55aa762675..98b37061538f4bde41c822d35d1d62a0942b98fc 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234.md" @@ -1,4 +1,4 @@ -# 设置网络 +# 设置网络 在“安装概览”页面中输入“6”,然后按“Enter”,设置系统的网络功能。用户可以设置主机名,以及配置网络设备。安装阶段可以不用配置,系统启动之后再进行配置。 @@ -15,7 +15,7 @@ ![](figures/22.png) -网卡配置说明 +网卡配置说明: 1. IPv4 address or "dhcp" for DHCP:配置IPv4的地址,默认值为dhcp,有dhcp服务器分配ip地址。 2. IPv4 netmask:配置IPv4的掩码 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234\345\222\214\344\270\273\346\234\272\345\220\215.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234\345\222\214\344\270\273\346\234\272\345\220\215.md" index 1e426c33d744e5f7bd4c7b1e9db4e4843b4cdfda..248fb04a4e8748891e45a0ac0b3379c38ed9feda 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234\345\222\214\344\270\273\346\234\272\345\220\215.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\347\275\221\347\273\234\345\222\214\344\270\273\346\234\272\345\220\215.md" @@ -1,4 +1,4 @@ -# 设置网络和主机名 +# 设置网络和主机名 在“安装概览”页面中选择“网络和主机名”,设置系统的网络功能。 diff --git "a/content/zh/docs/Installation/\350\256\276\347\275\256\351\224\256\347\233\230.md" "b/content/zh/docs/Installation/\350\256\276\347\275\256\351\224\256\347\233\230.md" index 50f520458078598003dc2c94bc5c30f0b5a2e6e8..66d8ad3b2620db9a3b8929b2a0ed44355bf4c928 100644 --- "a/content/zh/docs/Installation/\350\256\276\347\275\256\351\224\256\347\233\230.md" +++ "b/content/zh/docs/Installation/\350\256\276\347\275\256\351\224\256\347\233\230.md" @@ -1,4 +1,4 @@ -# 设置键盘 +# 设置键盘 在“安装概览”页面中选择“键盘”,用户可以在系统中添加或者删除多个键盘布局。 diff --git "a/content/zh/docs/Installation/\350\275\257\344\273\266\345\214\205\344\276\235\350\265\226.md" "b/content/zh/docs/Installation/\350\275\257\344\273\266\345\214\205\344\276\235\350\265\226.md" index a1dc97ded41811be63d493e32277387953d1e5a0..108c800dc85a66d373cd181c8a2d11ad5a09be90 100644 --- "a/content/zh/docs/Installation/\350\275\257\344\273\266\345\214\205\344\276\235\350\265\226.md" +++ "b/content/zh/docs/Installation/\350\275\257\344\273\266\345\214\205\344\276\235\350\265\226.md" @@ -1,4 +1,4 @@ -# 软件包依赖 +# 软件包依赖 ## 问题现象 diff --git "a/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242-0.md" "b/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242-0.md" index bb4b5b54d375933cd00e7c7054ee2ca15fd54e3a..f98fa4cc10e821f591888da990a2b7fd19139004 100644 --- "a/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242-0.md" +++ "b/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242-0.md" @@ -1,8 +1,8 @@ -# 进入安装界面 +# 进入安装界面 在“安装引导界面”中选择“Install openEuler 1.0 with text mode”进入文本模式安装。 -系统安装程序正常启动后,输入“2”会进入[图1](#zh-cn_topic_0155778949_zh-cn_topic_0151920777_fcabdc4c637504f26ac19e9c99f288111)所示的安装配置主界面。用户可以进行时间、语言、安装源、网络、存储等相关设置。 +系统安装程序正常启动后,输入“2”会进入[图1](#zh-cn_topic_0155778949_zh-cn_topic_0151920777_fcabdc4c637504f26ac19e9c99f288111)所示的安装配置主界面。用户可以进行时间、语言、安装源、网络、安装位置等相关设置。 >![](public_sys-resources/icon-note.gif) **说明:** >\[x\]表示此项已配置(或者系统默认已配置),可以根据需要进行设置;\[!\]表示此项未配置,在启动安装前必须完成配置。 diff --git "a/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242.md" "b/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242.md" index 23137230e205da5684780f2704eda8c957cb5e6a..5e7c0d74a5d7ec18421871e6b4c50c2a8a3080bb 100644 --- "a/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242.md" +++ "b/content/zh/docs/Installation/\350\277\233\345\205\245\345\256\211\350\243\205\347\225\214\351\235\242.md" @@ -1,6 +1,6 @@ -# 进入安装界面 +# 进入安装界面 -系统安装程序正常启动后,会进入[图1](#zh-cn_topic_0186390094_zh-cn_topic_0122145883_fig5969171592212)所示的安装设置主界面。用户可以进行时间、语言、安装源、网络、存储等相关设置。 +系统安装程序正常启动后,会进入[图1](#zh-cn_topic_0186390094_zh-cn_topic_0122145883_fig5969171592212)所示的安装设置主界面。用户可以进行时间、语言、安装源、网络、安装位置等相关设置。 部分配置项会有告警符号,用户完成该选项配置后,告警符号消失。当界面上不存在告警符号时,用户才能单击“开始安装”进行系统安装。 diff --git "a/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\346\272\220\345\207\272\347\216\260\345\274\202\345\270\270.md" "b/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\346\272\220\345\207\272\347\216\260\345\274\202\345\270\270.md" index 8ddc63a606844a9734d0f158e6513ad411c7bf25..691c4ba7550dd275bed882ec49eeb85e122752ca 100644 --- "a/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\346\272\220\345\207\272\347\216\260\345\274\202\345\270\270.md" +++ "b/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\346\272\220\345\207\272\347\216\260\345\274\202\345\270\270.md" @@ -1,5 +1 @@ -# 选择安装源出现异常 - -- **[软件包依赖](软件包依赖.md)** - - +# 选择安装源出现异常 \ No newline at end of file diff --git "a/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266-4.md" "b/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266-4.md" index dc058aba03f7c47cf148539819f6cf4456d16f90..fd65f55c2f7bb83260b7e42b8d51f7100f5ae023 100644 --- "a/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266-4.md" +++ "b/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266-4.md" @@ -1,14 +1,16 @@ -# 选择安装软件 +# 选择安装软件 在“安装概览”页面中输入“4”,然后按“Enter”,指定需要安装的软件包。 - Minimal Install:最小环境。提供openEuler基本功能,默认为最小环境安装。 -用户需要根据实际的业务需求选择合适的安装环境,在安装环境界面输入”c“后,可以通过附加选项“Add-ons”来选择需要安装的软件包,如下图所示。 +在安装环境界面输入”c“后,可以通过附加选项“Add-ons”来选择需要安装的软件包,如下图所示。 **图 1** 安装软件 ![](figures/安装软件.png "安装软件") +输入“1”,选择标准安装后输入”c“。 + 不同安装环境的可选附加包会有差异: - Standard:标准。openEuler标准安装。 diff --git "a/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266.md" "b/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266.md" index 978eda54b34a429b342b55754e7a6dd039e316a4..6cfa7eef6b37d41a544cb953dbf21efe291ab8de 100644 --- "a/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266.md" +++ "b/content/zh/docs/Installation/\351\200\211\346\213\251\345\256\211\350\243\205\350\275\257\344\273\266.md" @@ -1,4 +1,4 @@ -# 选择安装软件 +# 选择安装软件 在“安装概览”页面中选择“软件选择”,指定需要安装的软件包。 diff --git "a/content/zh/docs/Installation/\351\200\232\350\277\207\345\205\211\347\233\230\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\351\200\232\350\277\207\345\205\211\347\233\230\345\256\211\350\243\205.md" index 307a8e23817e587d954d02b10b8fbda8d3ef49fa..727acd632bb06f6d407133d3eee0cb4bb3380cb0 100644 --- "a/content/zh/docs/Installation/\351\200\232\350\277\207\345\205\211\347\233\230\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Installation/\351\200\232\350\277\207\345\205\211\347\233\230\345\256\211\350\243\205.md" @@ -1,4 +1,4 @@ -# 通过光盘安装 +# 通过光盘安装 本节介绍如何使用或者制作光盘安装源,并介绍相应的操作步骤,指导用户进行安装。 diff --git "a/content/zh/docs/Installation/\351\200\232\350\277\207\346\226\207\346\234\254\346\250\241\345\274\217\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\351\200\232\350\277\207\346\226\207\346\234\254\346\250\241\345\274\217\345\256\211\350\243\205.md" index 90aebd96679baf891055bda91f7e0a3be24270bd..f232c8eca357f34362e3e5ad82ede41ab9caa923 100644 --- "a/content/zh/docs/Installation/\351\200\232\350\277\207\346\226\207\346\234\254\346\250\241\345\274\217\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Installation/\351\200\232\350\277\207\346\226\207\346\234\254\346\250\241\345\274\217\345\256\211\350\243\205.md" @@ -1 +1 @@ -# 通过文本模式安装 +# 通过文本模式安装 diff --git "a/content/zh/docs/Installation/\351\200\232\350\277\207\345\233\276\345\275\242\345\214\226\346\250\241\345\274\217\345\256\211\350\243\205.md" "b/content/zh/docs/Installation/\357\274\210\346\216\250\350\215\220\357\274\211\351\200\232\350\277\207\345\233\276\345\275\242\345\214\226\346\250\241\345\274\217\345\256\211\350\243\205.md" similarity index 88% rename from "content/zh/docs/Installation/\351\200\232\350\277\207\345\233\276\345\275\242\345\214\226\346\250\241\345\274\217\345\256\211\350\243\205.md" rename to "content/zh/docs/Installation/\357\274\210\346\216\250\350\215\220\357\274\211\351\200\232\350\277\207\345\233\276\345\275\242\345\214\226\346\250\241\345\274\217\345\256\211\350\243\205.md" index b7abb1e81a4172f32a1594824accdd81bec52a1e..2a624078e87264abd0998ed85c5bb2e75b89381d 100644 --- "a/content/zh/docs/Installation/\351\200\232\350\277\207\345\233\276\345\275\242\345\214\226\346\250\241\345\274\217\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Installation/\357\274\210\346\216\250\350\215\220\357\274\211\351\200\232\350\277\207\345\233\276\345\275\242\345\214\226\346\250\241\345\274\217\345\256\211\350\243\205.md" @@ -1,11 +1,11 @@ -# 通过图形化模式安装 - -在“安装引导界面”中选择“Install openEuler 1.0 with GUI mode”进入图形化模式安装。 - -可以通过键盘操作图形化安装程序。 - -- “Tab”、“shift Tab”:界面控件(按钮、区域框、复选框等)间的移动。 -- “↑”、“↓”方向键:列表里的移动。 -- “←”、“→”方向键:水平工具条和表条间移动。 -- “空格”、“Enter”:选择或删除高亮显示的选项、展开或折叠下拉菜单。 -- “Alt”+“快捷键”:选择快捷键所在的控件,其中快捷键可通过按住Alt高亮(加下划线)显示。 +# (推荐)通过图形化模式安装 + +在“安装引导界面”中选择“Install openEuler 1.0 with GUI mode”进入图形化模式安装。 + +可以通过键盘操作图形化安装程序。 + +- “Tab”、“shift Tab”:界面控件(按钮、区域框、复选框等)间的移动。 +- “↑”、“↓”方向键:列表里的移动。 +- “←”、“→”方向键:水平工具条和表条间移动。 +- “空格”、“Enter”:选择或删除高亮显示的选项、展开或折叠下拉菜单。 +- “Alt”+“快捷键”:选择快捷键所在的控件,其中快捷键可通过按住Alt高亮(加下划线)显示。 \ No newline at end of file diff --git "a/content/zh/docs/Releasenotes/OpenSSL\345\212\240\351\200\237\345\231\250.md" "b/content/zh/docs/Releasenotes/OpenSSL\345\212\240\351\200\237\345\231\250.md" deleted file mode 100644 index d35de9ad36b9f7590ff4e723c670d39775329cd7..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Releasenotes/OpenSSL\345\212\240\351\200\237\345\231\250.md" +++ /dev/null @@ -1,19 +0,0 @@ -# OpenSSL加速器 - -OpenSSL加速器搭载在 Kunpeng 920 处理器上联合提供硬件加速引擎功能,可适用于大数据、数据加密、智能安防、Web服务及分布式存储等应用场景。 - -- 通过加速 SSL/TLS 应用和数据压缩,显著降低处理器消耗,提高处理器效率。 -- 通过 OpenSSL、zlib 标准接口实现业务快速迁移。 - -主要支持以下算法: - -- 摘要算法 SM3 -- 对称加密算法 SM4,支持CTR/XTS/CBC模式 - - >![](public_sys-resources/icon-note.gif) **说明:** - >SM4-XTS模式仅支持内核态使用。 - -- 对称加密算法 AES, 支持 ECB/CTR/XTS/CBC 模式 -- 非对称算法 RSA,支持异步模型,支持 Key Sizes 1024/2048/3072/4096 -- 压缩解压缩算法,支持 zlib/gzip - diff --git a/content/zh/docs/Releasenotes/zh-cn_bookmap_0182168853.md b/content/zh/docs/Releasenotes/zh-cn_bookmap_0182168853.md deleted file mode 100644 index cc6c35ebde798a94bd812ec7f76f8388f191cd55..0000000000000000000000000000000000000000 --- a/content/zh/docs/Releasenotes/zh-cn_bookmap_0182168853.md +++ /dev/null @@ -1,19 +0,0 @@ -# openEuler 1.0 版本发行说明 - -- [openEuler 1.0 版本发行说明](openEuler-1-0-版本发行说明.md) -- [简介](简介.md) -- [基础参数说明](基础参数说明.md) -- [技术特性](技术特性.md) - - [系统安装](系统安装.md) - - [定制/裁减](定制-裁减.md) - - [文件系统](文件系统.md) - - [内核](内核.md) - - [系统管理](系统管理.md) - - [编译器](编译器.md) - - [系统安全](系统安全.md) - - [系统调测](系统调测.md) - - [虚拟化](虚拟化.md) - - [容器](容器.md) - - [支持鲲鹏生态](支持鲲鹏生态.md) - - diff --git "a/content/zh/docs/Releasenotes/\345\256\232\345\210\266-\350\243\201\345\207\217.md" "b/content/zh/docs/Releasenotes/\345\256\232\345\210\266-\350\243\201\345\207\217.md" deleted file mode 100644 index e6ad2982445ff1b26842c288683226a5723ca3eb..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Releasenotes/\345\256\232\345\210\266-\350\243\201\345\207\217.md" +++ /dev/null @@ -1,6 +0,0 @@ -# 定制/裁减 - -openEuler 1.0 提供优化的 kiwi 工具对系统进行个性化的自定义修改。 - -使用 kiwi 时,支持用户根据自身需要个性化定制 OS,可以将 RPM 包、自定义文件、驱动、命令和文件打包至 OS 中,通过 kiwi 工具生成自己需要的操作系统。 - diff --git "a/content/zh/docs/Releasenotes/\346\212\200\346\234\257\347\211\271\346\200\247.md" "b/content/zh/docs/Releasenotes/\346\212\200\346\234\257\347\211\271\346\200\247.md" index f50700857577f2a91c8b482b50135b63e1688a01..166e2bab33525687c0cb3c159ee3266ded36071b 100644 --- "a/content/zh/docs/Releasenotes/\346\212\200\346\234\257\347\211\271\346\200\247.md" +++ "b/content/zh/docs/Releasenotes/\346\212\200\346\234\257\347\211\271\346\200\247.md" @@ -1,29 +1,3 @@ # 技术特性 -- **[系统安装](系统安装.md)** - -- **[系统定制](系统定制.md)** - -- **[文件系统](文件系统.md)** - -- **[内核](内核.md)** - -- **[系统管理](系统管理.md)** - -- **[编译器](编译器.md)** - -- **[OpenSSL加速器](OpenSSL加速器.md)** - -- **[系统安全](系统安全.md)** - -- **[系统调测](系统调测.md)** - -- **[虚拟化](虚拟化.md)** - -- **[容器](容器.md)** - -- **[支持鲲鹏生态](支持鲲鹏生态.md)** - -- **[写作摸板](写作摸板.md)** - diff --git "a/content/zh/docs/Releasenotes/\346\263\225\345\276\213\345\243\260\346\230\216.md" "b/content/zh/docs/Releasenotes/\346\263\225\345\276\213\345\243\260\346\230\216.md" index 684a9e13231179752383cfc6d48c27ba0725e21b..e1460dbbc5b5fd32c5bb62439f40c4df94046d22 100644 --- "a/content/zh/docs/Releasenotes/\346\263\225\345\276\213\345\243\260\346\230\216.md" +++ "b/content/zh/docs/Releasenotes/\346\263\225\345\276\213\345\243\260\346\230\216.md" @@ -4,10 +4,14 @@ 您对“本文档”的复制、使用、修改及分发受知识共享\(Creative Commons\)署名—相同方式共享4.0国际公共许可协议\(以下简称“CC BY-SA 4.0”\)的约束。为了方便用户理解,您可以通过访问[https://creativecommons.org/licenses/by-sa/4.0/](https://creativecommons.org/licenses/by-sa/4.0/) 了解CC BY-SA 4.0的概要 \(但不是替代\)。CC BY-SA 4.0的完整协议内容您可以访问如下网址获取:[https://creativecommons.org/licenses/by-sa/4.0/legalcode](https://creativecommons.org/licenses/by-sa/4.0/legalcode)。 +   + **商标声明** openEuler为华为技术有限公司的商标。本文档提及的其他所有商标或注册商标,由各自的所有人拥有。 +   + **免责声明** 本文档仅作为使用指导,除非适用法强制规定或者双方有明确书面约定, 华为技术有限公司对本文档中的所有陈述、信息和建议不做任何明示或默示的声明或保证,包括但不限于不侵权,时效性或满足特定目的的担保。 diff --git "a/content/zh/docs/Releasenotes/\347\256\200\344\273\213.md" "b/content/zh/docs/Releasenotes/\347\256\200\344\273\213.md" index ba1c3a4a501f12105a0e03fc6fe9e0f4235febbf..b85969594830e974004cc2a23ca4ec7117f9e93f 100644 --- "a/content/zh/docs/Releasenotes/\347\256\200\344\273\213.md" +++ "b/content/zh/docs/Releasenotes/\347\256\200\344\273\213.md" @@ -2,7 +2,7 @@ ## openEuler 1.0 介绍 -openEuler 1.0 版本是 openEuler 开源项目对外发布的第一个版本,是一款安全稳定的高性能 Linux 服务器操作系统。openEuler 1.0 基于 Linux 主线内核 4.19 版本,进行了 bug 修改、漏洞修复等工作,并加入一些具备创新性的功能特性。 +openEuler 1.0 版本是 openEuler 开源社区对外发布的第一个版本,是一款安全稳定的高性能 Linux 服务器操作系统。openEuler 1.0 基于 Linux 主线内核 4.19 版本,进行了 bug 修改、漏洞修复等工作,并加入一些具备创新性的功能特性。 ## 最小硬件要求 @@ -23,7 +23,7 @@ openEuler 1.0 版本是 openEuler 开源项目对外发布的第一个版本,

鲲鹏 920(架构为AArch64)

-

强烈建议同一集群计算节点物理服务器的CPU为同一系列。

+

-

内存

diff --git "a/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\232\345\210\266.md" "b/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\232\345\210\266.md" deleted file mode 100644 index 6f5027f21ec41925c927e22ef40f8a156af5b381..0000000000000000000000000000000000000000 --- "a/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\232\345\210\266.md" +++ /dev/null @@ -1,2 +0,0 @@ -# 系统定制 - diff --git "a/content/zh/docs/Releasenotes/\347\274\226\350\257\221\345\231\250.md" "b/content/zh/docs/Releasenotes/\347\274\226\350\257\221\345\231\250.md" index ea3f9d55d33f15c027e891305034a57914401a91..14d01af5ac4beea577493486d89f8e6f3edb3a5e 100644 --- "a/content/zh/docs/Releasenotes/\347\274\226\350\257\221\345\231\250.md" +++ "b/content/zh/docs/Releasenotes/\347\274\226\350\257\221\345\231\250.md" @@ -7,8 +7,6 @@ GCC 7.3.0 包括了 C、C++、Fortran 的前端,也包括了这些语言的库 **特性增强** - 针对鲲鹏920的 TaishanV110 核,支持该TaiShan核微架构下的流水线优化 -- 支持 softFDO(soft Feedback-Directed Optimization)反馈优化 -- 支持 FGO(Feature Guided Optimization)反馈优化 - 支持 AArch64 后端下的长跳转(Long Call)功能 - 支持循环优化 loop unroll and jam,将多层循环中的外层循环展开,并将展开后的多个内层循环合并 - 支持循环优化 loop interchange,将多层循环中的内外层循环进行交换 @@ -22,25 +20,5 @@ GCC 7.3.0 包括了 C、C++、Fortran 的前端,也包括了这些语言的库 ## OpenJDK -JDK(Java Development Kit)是 Java 开发者进行 Java 开发所必须的软件包,包含 JRE(Java Runtime Environment)和编译、调测工具。openEuler 1.0 配套 JDK 为 OpenJDK 8, 并在此基础上进行了 GC 优化、并发稳定性增强、安全性增强等,提高了 Java 应用程序在 ARM 上的性能和稳定性,其主要特性和更新如下: - -**特性** - -- 兼容Java SE 8 & JDK 8 - -**特性增强** - -- 删除 GC 中冗余的 read/write barrier -- 针对 ARM 弱内存模型进行了稳定性增强 - -**问题修复** - -- 在ARM v8.1上默认禁用UseLSE选项 -- 避免了因为没有提前加载ClassLoader.findLibrary和System.loadLibrary而导致的潜在的死锁问题 \(JDK-8231584\) -- 解决了一个容易遇到的javac检查超类时无限递归的bug(\(JDK-8214345) -- 修复了在heapdump时可能遇到的crash问题(JDK-8194246) -- 修复了getCanonicalPath在处理"//"时遇到的crash问题(JDK-8194154) -- 修复了一个AbstractQueuedSynchronizer可能存在的锁竞争问题(JDK-8191483) -- 修复创建一个NTLM连接抛空指针异常的问题(JDK-8151788) -- DateTimeFormatter支持"yyyyMMddHHmmssSSS"日期格式解析(JDK-8031085) +JDK(Java Development Kit)是 Java 开发者进行 Java 开发所必须的软件包,包含 JRE(Java Runtime Environment)和编译、调测工具。openEuler 1.0 配套 JDK 为 OpenJDK 8(兼容Java SE 8 & JDK 8), 并在此基础上进行了 GC 优化、并发稳定性增强、安全性增强等,提高了 Java 应用程序在 ARM 上的性能和稳定性。 diff --git "a/content/zh/docs/Releasenotes/\350\231\232\346\213\237\345\214\226.md" "b/content/zh/docs/Releasenotes/\350\231\232\346\213\237\345\214\226.md" index 66b4cb42385996c5e03badd958f6fe5889d38902..466aa2c64f230940acc68a802c1790d88c7b50d0 100644 --- "a/content/zh/docs/Releasenotes/\350\231\232\346\213\237\345\214\226.md" +++ "b/content/zh/docs/Releasenotes/\350\231\232\346\213\237\345\214\226.md" @@ -40,10 +40,6 @@ openEuler 1.0 通过修改 Stage2 页表的分级、布局,支持用户态配 支持命令“perf kvm stat record/report”,在虚拟机或 vCPU 粒度统计 exit、trap 的类型、次数和时间 -**iscsi kworker自适应IO性能提升** - -iscsi 默认创建的 order workqueue 调度范围是全 CPU,当其与对应网卡中断不在相同的 numa node 时会导致性能下降,通过新增 flag 控制其创建 workqueue 在指定对应的 NUMA node 运行,通过跟随对应的网卡中断保持同NUMA node,提升 IPSAN 访问 IO 性能。 - **IRQfd路径注入中断优化** 优化通过 IRQfd 路径注入的中断,降低 vhost-user、vhost-net、GICv3+ 直通设备(网卡、磁盘)等场景下 CPU 资源消耗。 diff --git "a/content/zh/docs/Releasenotes/\351\225\234\345\203\217\345\210\266\344\275\234.md" "b/content/zh/docs/Releasenotes/\351\225\234\345\203\217\345\210\266\344\275\234.md" new file mode 100644 index 0000000000000000000000000000000000000000..52f1cd6fba5584dfb352fce4f229ff7356d84186 --- /dev/null +++ "b/content/zh/docs/Releasenotes/\351\225\234\345\203\217\345\210\266\344\275\234.md" @@ -0,0 +1,9 @@ +# 镜像制作 + +openEuler 1.0 使用 Lorax 工具构建镜像。Lorax 包含了一系列工具,主要有以下两个: + +- livemedia-creator:使用 Anaconda 创建 openEuler 的 live CD 镜像。 +- lorax:使用 Anaconda 创建 openEuler 的安装镜像。 + +Lorax 使用指导请参见其[官方文档](https://weldr.io/lorax/)。 + diff --git a/content/zh/menu/index.md b/content/zh/menu/index.md index c311204314538dea3da7426512931119edc96cfb..b6b42b7b22cccf8316624b3b35cf981b7085e894 100644 --- a/content/zh/menu/index.md +++ b/content/zh/menu/index.md @@ -11,9 +11,10 @@ headless: true - [最小硬件要求]({{< relref "/docs/Installation/最小硬件要求.md" >}}) - [安装方式介绍]({{< relref "/docs/Installation/安装方式介绍.md" >}}) - [通过光盘安装]({{< relref "/docs/Installation/通过光盘安装.md" >}}) + - [使用PXE通过网络安装]({{< relref "/docs/Installation/使用PXE通过网络安装.md" >}}) - [安装指导]({{< relref "/docs/Installation/安装指导.md" >}}) - [启动安装]({{< relref "/docs/Installation/启动安装.md" >}}) - - [通过图形化模式安装]({{< relref "/docs/Installation/通过图形化模式安装.md" >}}) + - [(推荐)通过图形化模式安装]({{< relref "/docs/Installation/(推荐)通过图形化模式安装.md" >}}) - [设置安装程序语言]({{< relref "/docs/Installation/设置安装程序语言.md" >}}) - [进入安装界面]({{< relref "/docs/Installation/进入安装界面.md" >}}) - [设置安装参数]({{< relref "/docs/Installation/设置安装参数.md" >}}) @@ -39,6 +40,12 @@ headless: true - [设置root密码]({{< relref "/docs/Installation/设置root密码.md" >}}) - [创建用户]({{< relref "/docs/Installation/创建用户.md" >}}) - [完成安装]({{< relref "/docs/Installation/完成安装.md" >}}) + +- [使用kickstart自动化安装]({{< relref "/docs/Installation/使用kickstart自动化安装.md" >}}) + - [总体介绍]({{< relref "/docs/Installation/总体介绍.md" >}}) + - [半自动化安装指导]({{< relref "/docs/Installation/半自动化安装指导.md" >}}) + - [全自动化安装指导]({{< relref "/docs/Installation/全自动化安装指导.md" >}}) + - [FAQ]({{< relref "/docs/Installation/FAQ.md" >}}) - [安装openEuler时选择第二盘位为安装目标,操作系统无法启动]({{< relref "/docs/Installation/安装openEuler时选择第二盘位为安装目标-操作系统无法启动.md" >}}) - [网络配置约束限制]({{< relref "/docs/Installation/网络配置约束限制.md" >}}) @@ -161,7 +168,9 @@ headless: true - [配置文件说明]({{< relref "/docs/Administration/配置文件说明.md" >}}) - [管理模块和SSL]({{< relref "/docs/Administration/管理模块和SSL.md" >}}) - [验证web服务是否搭建成功]({{< relref "/docs/Administration/验证web服务是否搭建成功.md" >}}) - +- [FAQ]({{< relref "/docs/Administration/FAQ-4.md" >}}) + - [设置RAID0卷,参数stripsize设置为4时出错]({{< relref "/docs/Administration/设置RAID0卷-参数stripsize设置为4时出错.md.md" >}}) + - [虚拟化用户指南]({{< relref "/docs/Virtualization/virtualization.md" >}}) - [法律声明]({{< relref "/docs/Virtualization/法律声明.md" >}}) - [前言]({{< relref "/docs/Virtualization/前言.md" >}}) diff --git "a/rdocs/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" "b/rdocs/date20200101/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" similarity index 100% rename from "rdocs/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" rename to "rdocs/date20200101/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" diff --git "a/rdocs/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" "b/rdocs/date20200101/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" similarity index 100% rename from "rdocs/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" rename to "rdocs/date20200101/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" diff --git "a/rdocs/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" "b/rdocs/date20200101/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" similarity index 100% rename from "rdocs/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" rename to "rdocs/date20200101/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" diff --git "a/rdocs/date20200115/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" "b/rdocs/date20200115/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" new file mode 100644 index 0000000000000000000000000000000000000000..e5a6b662a2f8dea895d00f1b6dd1cb736ae0bacf Binary files /dev/null and "b/rdocs/date20200115/openEuler 1.0 \345\256\211\350\243\205\346\214\207\345\215\227.pdf" differ diff --git "a/rdocs/date20200115/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" "b/rdocs/date20200115/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" new file mode 100644 index 0000000000000000000000000000000000000000..094f95c07e3799cebc0c62d04141de16a56ac712 Binary files /dev/null and "b/rdocs/date20200115/openEuler 1.0 \347\256\241\347\220\206\345\221\230\346\214\207\345\215\227.pdf" differ diff --git "a/rdocs/date20200115/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" "b/rdocs/date20200115/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" new file mode 100644 index 0000000000000000000000000000000000000000..be501ab13eee41e6cba3070ab220c0e9a47cbfdf Binary files /dev/null and "b/rdocs/date20200115/openEuler 1.0 \350\231\232\346\213\237\345\214\226\347\224\250\346\210\267\346\214\207\345\215\227.pdf" differ