diff --git a/content/en/docs/Installation/installation-preparations.md b/content/en/docs/Installation/installation-preparations.md index 521cc59c0d3e803a9ac62249e4de23a9fd5e4df1..7e56f3712d9fb1edb22ad0981a0c5909ee1866b6 100644 --- a/content/en/docs/Installation/installation-preparations.md +++ b/content/en/docs/Installation/installation-preparations.md @@ -1,3 +1,236 @@ # Installation Preparations This section describes the compatibility of the hardware and software and the related configurations and preparations required for the installation. + +## Obtaining the Installation Source + +Obtain the openEuler release package and verification file before the installation. + +Perform the following operations to obtain the openEuler release package: + +1. Log in to the [openEuler Community](https://openeuler.org) website. +2. Click **Download**. +3. Click the link provided after **Download ISO**. The download list is displayed. +4. Click **openEuler-20.03-LTS**. The openEuler 20.03 LTS version download list is displayed. +5. Click **ISO**. The ISO download list is displayed. + - **aarch64**: ISO image file of the AArch64 architecture + - **x86\_64**: ISO image file of the x86\_64 architecture + - **source**: ISO image file of the openEuler source code + +6. Select the openEuler release package and verification file to be downloaded based on the architecture of the environment to be installed. + - If the AArch64 architecture is used: + 1. Click **aarch64**. + 2. Click **openEuler-20.03-LTS-aarch64-dvd.iso** to download the openEuler release package to the local host. + 3. Click **openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum** to download the openEuler verification file to the local host. + + - If the x86\_64 architecture is used: + 1. Click **x86\_64**. + 2. Click **openEuler-20.03-LTS-x86\_64-dvd.iso** to download the openEuler release package to the local host. + 3. Click **openEuler-20.03-LTS-x86\_64-dvd.iso.sha256sum** to download the openEuler verification file to the local host. + +## Release Package Integrity Check + +>![](C:/Users/Administrator/Downloads/20200413/content/en/docs/Installation/public_sys-resources/icon-note.gif) **NOTE:** +>This section describes how to verify the integrity of the release package in the AArch64 architecture. The procedure for verifying the integrity of the release package in the x86\_64 architecture is the same. + +### Introduction + +To prevent the software package from being incompletely downloaded due to network or storage device faults during transmission, you need to verify the integrity of the software package after obtaining it. Only the software packages that pass the verification can be installed. + +Compare the verification value recorded in the verification file with the .iso file verification value calculated manually to check whether the software package passes the verification. If the verification values are consistent, the .iso file is not damaged. If they are inconsistent, you can confirm that the file is damaged and you need to obtain the file again. + +### Prerequisites + +Before verifying the integrity of the release package, you need to prepare the following files: + +ISO file: **openEuler-20.03-LTS-aarch64-dvd.iso** + +Verification file: **openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum** + +### Procedure + +To verify the file integrity, perform the following operations: + +1. Obtain the verification value in the verification file. Run the following command: + + ``` + #cat openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum + ``` + +2. Calculate the SHA256 verification value of the file. Run the following command: + + ``` + #sha256sum openEuler-20.03-LTS-aarch64-dvd.iso + ``` + + After the command is run, the verification value is displayed. + +3. Check whether the values calculated in step 1 and step 2 are consistent. + + If the verification values are consistent, the .iso file is not damaged. If they are inconsistent, you can confirm that the file is damaged and you need to obtain the file again. + +## Installation Requirements for PMs + +To install the openEuler OS on a PM, the PM must meet the following hardware compatibility and minimum hardware requirements. + +### Hardware Compatibility + +You need to take hardware compatibility into account during openEuler installation. [Table 1](#table14948632047) describes the types of supported servers. + +>![](C:/Users/Administrator/Downloads/20200413/content/en/docs/Installation/public_sys-resources/icon-note.gif) **NOTE:** +> +>- TaiShan 200 servers are backed by Huawei Kunpeng 920 processors. +>- Currently, only Huawei TaiShan and FusionServer Pro servers are supported. More servers from other vendors will be supported in the future. + +**Table 1** Supported servers + + + + + + + + + + + + + + + + + +

Server Type

+

Server Name

+

Server Model

+

Rack server

+

TaiShan 200

+

2280 balanced model

+

Rack server

+

FusionServer Pro

+

FusionServer Pro 2288H V5

+
NOTE:

The server must be configured with the Avago SAS3508 RAID controller card and the LOM-X722 NIC.

+
+
+ + +### Minimum Hardware Specifications + +[Table 2](#tff48b99c9bf24b84bb602c53229e2541) lists the minimum hardware specifications supported by openEuler. + +**Table 2** Minimum hardware specifications + + + + + + + + + + + + + + + + + + + + + + + + + +

Component

+

Minimum Hardware Specifications

+

Description

+

Architecture

+
  • AArch64
  • x86_64
+
  • 64-bit Arm architecture
  • 64-bit Intel x86 architecture
+

CPU

+
  • Huawei Kunpeng 920 series
  • Intel ® Xeon® processor
+

-

+

Memory

+

≥ 4 GB (8 GB or higher recommended for better user experience)

+

-

+

Hard disk

+

≥ 120 GB (for better user experience)

+

The hard disk supports IDE, SATA, SAS interfaces.

+
+ +## Installation Requirements for VMs + +To install the openEuler OS on a VM, the VM must meet the following hardware compatibility and minimum hardware requirements. + +### Virtualization Platform Compatibility + +When installing openEuler, pay attention to the compatibility of the virtualization platform. Currently, the following virtualization platforms are supported: + +- A virtualization platform created by the virtualization components \(openEuler as the host OS and QEMU and KVM provided in the release package\) of openEuler +- x86 virtualization platform of Huawei public cloud + +### Minimum Virtualization Space + +[Table 3](#tff48b99c9bf24b84bb602c53229e2541) lists the minimum virtualization space required by openEuler. + +**Table 3** Minimum virtualization space + + + + + + + + + + + + + + + + + + + + + + + + + +

Component

+

Minimum Virtualization Space

+

Description

+

Architecture

+
  • AArch64
  • x86_64
+

-

+

CPU

+

Two CPUs

+

-

+

Memory

+

≥ 4 GB (8 GB or higher recommended for better user experience)

+

-

+

Hard disk

+

≥ 32 GB (120 GB or higher recommended for better user experience)

+

-

+
+ + + + + + + + + + + + + + + + diff --git a/content/en/docs/Quickstart/figures/completing-the-installation.png b/content/en/docs/Quickstart/figures/completing-the-installation.png index 0b97542c85336715d79e222e0487e0c51297003a..4f339374e1f2ce5d912625f2fc6c59c24a4a9dcc 100644 Binary files a/content/en/docs/Quickstart/figures/completing-the-installation.png and b/content/en/docs/Quickstart/figures/completing-the-installation.png differ diff --git a/content/en/docs/Quickstart/figures/creating-a-user.png b/content/en/docs/Quickstart/figures/creating-a-user.png index 53e4a6dbe4bba8315931d61a18a52d2c7f90742a..e62fa5b13359d2ffe926217dacd183a70a609cc5 100644 Binary files a/content/en/docs/Quickstart/figures/creating-a-user.png and b/content/en/docs/Quickstart/figures/creating-a-user.png differ diff --git a/content/en/docs/Quickstart/figures/installation-summary.png b/content/en/docs/Quickstart/figures/installation-summary.png index 694101f29e599a4f657e2e9ab9552d62f4d991c4..403b9a53202f2f62e97676aefb92924c263e1b14 100644 Binary files a/content/en/docs/Quickstart/figures/installation-summary.png and b/content/en/docs/Quickstart/figures/installation-summary.png differ diff --git a/content/en/docs/Quickstart/figures/installation-wizard.png b/content/en/docs/Quickstart/figures/installation-wizard.png index b147fa7ac745eb313ebe5a7a887d1c0f5d8efdb0..fa877dc25ad84e623449add69460a8b617ed9c60 100644 Binary files a/content/en/docs/Quickstart/figures/installation-wizard.png and b/content/en/docs/Quickstart/figures/installation-wizard.png differ diff --git a/content/en/docs/Quickstart/figures/password-of-the-root-account.png b/content/en/docs/Quickstart/figures/password-of-the-root-account.png index 795e029b249d88ed247f324c29d3f8aa862167e8..1b62043d52df903e9cd5221002d89b6d2e9cfefa 100644 Binary files a/content/en/docs/Quickstart/figures/password-of-the-root-account.png and b/content/en/docs/Quickstart/figures/password-of-the-root-account.png differ diff --git a/content/en/docs/Quickstart/figures/selecting-a-language.png b/content/en/docs/Quickstart/figures/selecting-a-language.png index 2d4a1ec57da34a14040401009e14fe9b7dc784f6..7230029ddd5c0fc0cbe5b9f220c5e380aed9927e 100644 Binary files a/content/en/docs/Quickstart/figures/selecting-a-language.png and b/content/en/docs/Quickstart/figures/selecting-a-language.png differ diff --git a/content/en/docs/Quickstart/figures/selecting-installation-software.png b/content/en/docs/Quickstart/figures/selecting-installation-software.png index 6f576232f22398de2a3565b8c4724e4635245211..72561ef0c81ff8041105bc27e45ddf1c57b7e0a1 100644 Binary files a/content/en/docs/Quickstart/figures/selecting-installation-software.png and b/content/en/docs/Quickstart/figures/selecting-installation-software.png differ diff --git a/content/en/docs/Quickstart/figures/setting-the-installation-destination.png b/content/en/docs/Quickstart/figures/setting-the-installation-destination.png index 65040062e56e7a69c4452beac53bbc56df2bf760..49a06b3f62da737a366e5b0da3b25ca66726bae2 100644 Binary files a/content/en/docs/Quickstart/figures/setting-the-installation-destination.png and b/content/en/docs/Quickstart/figures/setting-the-installation-destination.png differ diff --git a/content/en/docs/Quickstart/figures/starting-installation.png b/content/en/docs/Quickstart/figures/starting-installation.png index b8f028df0264a105666d03d875a8282c35dfd9d2..4bd779430c0dd891099dffbd7b65298eae0dea58 100644 Binary files a/content/en/docs/Quickstart/figures/starting-installation.png and b/content/en/docs/Quickstart/figures/starting-installation.png differ diff --git a/content/en/docs/Quickstart/quick-start.md b/content/en/docs/Quickstart/quick-start.md index d8ff24359d4f7487e1190585520b5c98ba93978b..b82a9ebbf24665c543478f653028b8b739965831 100644 --- a/content/en/docs/Quickstart/quick-start.md +++ b/content/en/docs/Quickstart/quick-start.md @@ -4,39 +4,40 @@ This document uses openEuler 20.03 LTS installed on the TaiShan 200 server as an ## Installation Preparations -- Hardware Compatibility - - [Table 1](#table14948632047) describes the types of supported servers. - - **Table 1** Supported servers - - - - - - - - - - - - - - - - -

Server Type

-

Server Name

-

Server Model

-

Rack server

-

TaiShan 200

-

2280 balanced model

-

Rack server

-

FusionServer Pro

-

FusionServer Pro 2288H V5

-
NOTE:

The server must be configured with the Avago SAS3508 RAID controller card and the LOM-X722 NIC.

-
-
+- Hardware Compatibility + + [Table 1](#table14948632047) describes the types of supported servers. + + **Table 1** Supported servers + + + + + + + + + + + + + + + + + +

Server Type

+

Server Name

+

Server Model

+

Rack server

+

TaiShan 200

+

2280 balanced model

+

Rack server

+

FusionServer Pro

+

FusionServer Pro 2288H V5

+
NOTE:

The server must be configured with the Avago SAS3508 RAID controller card and the LOM-X722 NIC.

+
+
- Minimum Hardware Specifications @@ -45,7 +46,8 @@ This document uses openEuler 20.03 LTS installed on the TaiShan 200 server as an **Table 2** Minimum hardware specifications -

Component

+ + @@ -53,28 +55,28 @@ This document uses openEuler 20.03 LTS installed on the TaiShan 200 server as an - - - - @@ -175,7 +177,7 @@ To prevent incomplete download of the software package due to network or storage >- During PM installation, if you cannot use the arrow keys to select boot options and the system does not respond after you press **Enter**, click ![](figures/en-us_image_0229420473.png) on the BMC page and configure **Key & Mouse Reset**. **Figure 5** Installation Wizard - + 9. On the installation wizard page, press **Enter** to select the default option **Test this media & install openEuler 20.03 LTS** to enter the GUI installation page. @@ -186,7 +188,7 @@ After entering the GUI installation page, perform the following operations to in 1. Set an installation language. The default language is English. You can change the language based on the site requirements, as shown in [Figure 6](#fig874344811484). **Figure 6** Selecting a language - + 2. On the **INSTALLATION SUMMARY** page, set configuration items based on the site requirements. @@ -195,14 +197,14 @@ After entering the GUI installation page, perform the following operations to in - You can click **Begin Installation** to install the system only when all alarms are cleared. **Figure 7** Installation summary - + 1. Select **Software Selection** to set configuration items. Based on the site requirements, select **Minimal Install** on the left box and select an add-on in the **Add-Ons for Selected Environment** area on the right, as shown in [Figure 8](#fig1133717611109). **Figure 8** Selecting installation software - + >![](public_sys-resources/icon-note.gif) **NOTE:** >- In **Minimal Install** mode, not all packages in the installation source will be installed. If the required package is not installed, you can mount the installation source to the local PC and configure a repo source, and use DNF to install the package. @@ -218,7 +220,7 @@ After entering the GUI installation page, perform the following operations to in >When selecting the device to be installed, you are advised not to use the NVMe SSD storage medium as the OS installation disk. **Figure 9** Setting the installation destination - + >![](public_sys-resources/icon-note.gif) **NOTE:** >- During partitioning, to ensure system security and performance, you are advised to divide the device into the following partitions: **/boot**, **/var**, **/var/log**, **/var/log/audit**, **/home**, and **/tmp**. @@ -232,7 +234,7 @@ After entering the GUI installation page, perform the following operations to in 3. Click **Begin Installation** to install the system, as shown in [Figure 10](#fig1717019357392). **Figure 10** Starting installation - + 4. Set the root user password. @@ -267,30 +269,28 @@ After entering the GUI installation page, perform the following operations to in ``` create-cracklib-dict dictionary.txt custom.txt ``` - - - + **Figure 11** Password of the **root** account - - -5. Create a user. + + +5. Create a user. - Click **User Creation**. [Figure 12](#en-us_topic_0186390266_en-us_topic_0122145909_fig1237715313319) shows the page for creating a user. Enter a username and set a password. The password complexity requirements are the same as those of the user **root**. By clicking **Advanced**, you can also configure a home directory and a user group, as shown in [Figure 13](#en-us_topic_0186390266_en-us_topic_0122145909_fig128716531312). + Click **User Creation**. [Figure 12](#en-us_topic_0186390266_en-us_topic_0122145909_fig1237715313319) shows the page for creating a user. Enter a username and set a password. The password complexity requirements are the same as those of the user **root**. By clicking **Advanced**, you can also configure a home directory and a user group, as shown in [Figure 13](#en-us_topic_0186390266_en-us_topic_0122145909_fig128716531312). - **Figure 12** Creating a user - + **Figure 12** Creating a user + - **Figure 13** Advanced user configuration - + **Figure 13** Advanced user configuration + - After configuration, click **Done** in the left-upper corner to switch back to the installation process page. + After configuration, click **Done** in the left-upper corner to switch back to the installation process page. -6. After the installation is complete, restart the system. +6. After the installation is complete, restart the system. - openEuler has been installed, as shown in [Figure 14](#en-us_topic_0186390267_en-us_topic_0122145917_fig1429512116338). Click **Reboot** to restart the system. + openEuler has been installed, as shown in [Figure 14](#en-us_topic_0186390267_en-us_topic_0122145917_fig1429512116338). Click **Reboot** to restart the system. - **Figure 14** Completing the installation - + **Figure 14** Completing the installation + ## Viewing System Information diff --git a/content/en/menu/index.md b/content/en/menu/index.md index 2bd5057dc80f41069ef976b427f7b5e77718660f..b11d483b6cad1efc3fe712ef62e74cea24afa067 100644 --- a/content/en/menu/index.md +++ b/content/en/menu/index.md @@ -22,14 +22,6 @@ headless: true - [Installation Guide]({{< relref "./docs/Installation/Installation.md" >}}) - [Preface]({{< relref "./docs/Installation/preface.md" >}}) - [Installation Preparations]({{< relref "./docs/Installation/installation-preparations.md" >}}) - - [Obtaining the Installation Source]({{< relref "./docs/Installation/obtaining-the-installation-source.md" >}}) - - [Release Package Integrity Check]({{< relref "./docs/Installation/release-package-integrity-check.md" >}}) - - [Installation Requirements for PMs]({{< relref "./docs/Installation/installation-requirements-for-pms.md" >}}) - - [Hardware Compatibility]({{< relref "./docs/Installation/hardware-compatibility.md" >}}) - - [Minimum Hardware Specifications]({{< relref "./docs/Installation/minimum-hardware-specifications.md" >}}) - - [Installation Requirements for VMs]({{< relref "./docs/Installation/installation-requirements-for-vms.md" >}}) - - [Virtualization Platform Compatibility]({{< relref "./docs/Installation/virtualization-platform-compatibility.md" >}}) - - [Minimum Virtualization Space]({{< relref "./docs/Installation/minimum-virtualization-space.md" >}}) - [Installation Mode]({{< relref "./docs/Installation/installation-mode.md" >}}) - [Installation Through a CD/DVD-ROM]({{< relref "./docs/Installation/installation-through-a-cd-dvd-rom.md" >}}) - [Installation Through a USB Flash Drive]({{< relref "./docs/Installation/installation-through-a-usb-flash-drive.md" >}}) 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 88e59f548ccfa85cda5ec677444227883cdc6e5d..27f1c21bb173bdf60b27175e579f95ea404828d9 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" @@ -2,4 +2,230 @@ 介绍安装前需要考虑软硬件兼容性状况,以及相关的配置和准备工作。 +## 获取安装源 + +在安装开始前,您需要获取openEuler的发布包和校验文件。 + +请按以下步骤获取openEuler的发布包和校验文件: + +1. 登录[openEuler社区](https://openeuler.org)网站。 +2. 单击“下载”。 +3. 单击“获取ISO:”后面的“Link”,显示版本列表。 +4. 单击“openEuler-20.03-LTS”,进入openEuler 20.03 LTS版本下载列表。 +5. 单击“ISO”,进入ISO下载列表。 + - aarch64:AArch64架构的ISO。 + - x86\_64:x86\_64架构的ISO。 + - source:openEuler源码ISO。 + +6. 根据实际待安装环境的架构选择需要下载的openEuler的发布包和校验文件。 + - 若为AArch64架构。 + 1. 单击“aarch64”。 + 2. 单击“openEuler-20.03-LTS-aarch64-dvd.iso”,将openEuler发布包下载到本地。 + 3. 单击“openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum”,将openEuler校验文件下载到本地。 + + - 若为x86\_64架构。 + 1. 单击“x86\_64”。 + 2. 单击“openEuler-20.03-LTS-x86\_64-dvd.iso”,将openEuler发布包下载到本地。 + 3. 单击“openEuler-20.03-LTS-x86\_64-dvd.iso.sha256sum”,将openEuler校验文件下载到本地。 + +## 发布包完整性校验 + +>![](C:/Users/Administrator/Downloads/20200413/content/zh/docs/Installation/public_sys-resources/icon-note.gif) **说明:** +>本章节以AArch64架构的发布包完整性校验为例,x86\_64架构的发布包完整性校验的操作方法相同。 + +### 简介 + +为了防止软件包在传输过程中由于网络原因或者存储设备原因出现下载不完整的问题,在获取到软件包后,需要对软件包的完整性进行校验,通过了校验的软件包才能部署。 + +这里通过对比校验文件中记录的校验值和手动方式计算的iso文件校验值,判断软件包是否完成。若两个值相同,说明iso文件完整,否则,iso完整性被破坏,请重新获取iso发布包。 + +### 前提条件 + +在校验发布包完整性之前,需要准备如下文件: + +iso文件:openEuler-20.03-LTS-aarch64-dvd.iso + +校验文件:openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum + +### 操作指导 + +文件完整性校验操作步骤如下: + +1. 获取校验文件中的校验值。执行命令如下: + + ``` + #cat openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum + ``` + +2. 计算文件的sha256校验值。执行命令如下: + + ``` + #sha256sum openEuler-20.03-LTS-aarch64-dvd.iso + ``` + + 命令执行完成后,输出校验值。 + +3. 对比步骤1和步骤2计算的校验值是否一致。 + + 如果校验值一致说明iso文件完整性没有破坏,如果校验值不一致则可以确认文件完整性已被破坏,需要重新获取。 + +## 物理机的安装要求 + +若需要在物理机环境上安装openEuler操作系统,则物理机需要满足如下的硬件兼容性和最小硬件要求。 + +### 硬件兼容支持 + +openEuler安装时,应注意硬件兼容性方面的问题,当前已支持的服务器类型如[表1](#table14948632047)所示。 + +>![](C:/Users/Administrator/Downloads/20200413/content/zh/docs/Installation/public_sys-resources/icon-note.gif) **说明:** +> +>- TaiShan 200服务器基于华为鲲鹏920处理器。 +>- 当前仅支持华为TaiShan服务器和FusionServer Pro 机架服务器,后续将逐步增加对其他厂商服务器的支持。 + +**表 1** 支持的服务器类型 + + + +

Component

Minimum Hardware Specifications

Architecture

+

Architecture

  • AArch64
  • x86_64
  • 64-bit Arm architecture
  • 64-bit Intel x86 architecture

CPU

+

CPU

  • Huawei Kunpeng 920 series
  • Intel ® Xeon® processor

-

Memory

+

Memory

≥ 4 GB (8 GB or higher recommended for better user experience)

-

Hard disk

+

Hard disk

≥ 120 GB (for better user experience)

+ + + + + + + + + + + + + +

服务器形态

+

服务器名称

+

服务器型号

+

机架服务器

+

TaiShan 200

+

2280均衡型

+

机架服务器

+

FusionServer Pro 机架服务器

+

FusionServer Pro 2288H V5

+
说明:

服务器要求配置Avago 3508 RAID控制卡和启用LOM-X722网卡。

+
+
+ + + +### 最小硬件要求 + +openEuler所需的最小硬件要求如[表2](#tff48b99c9bf24b84bb602c53229e2541)所示。 + +**表 2** 最小硬件要求 + + + + + + + + + + + + + + + + + + + + + + + + + +

部件名称

+

最小硬件要求

+

说明

+

架构

+
  • AArch64
  • x86_64
+
  • 支持Arm的64位架构。
  • 支持Intel的x86 64位架构。
+

CPU

+
  • 华为鲲鹏920系列CPU
  • Intel® Xeon®处理器
+

-

+

内存

+

不小于4GB(为了获得更好的应用体验,建议不小于8GB)

+

-

+

硬盘

+

为了获得更好的应用体验,建议不小于120GB)

+

支持IDE、SATA、SAS等接口的硬盘。

+
+ +## 虚拟机的安装要求 + +若需要在虚拟机环境上安装openEuler操作系统,则虚拟机需要满足如下的虚拟化平台兼容性和最小虚拟化要求。 + +### 虚拟化平台兼容性 + +openEuler安装时,应注意虚拟化平台兼容性的问题,当前已支持的虚拟化平台为: + +- openEuler自有的虚拟化组件(HostOS为openEuler,虚拟化组件为发布包中的qemu、KVM)创建的虚拟化平台。 +- 华为公有云的x86虚拟化平台。 + +### 最小虚拟化空间要求 + +openEuler所需的最小虚拟化空间要求如[表3](#tff48b99c9bf24b84bb602c53229e2541)所示。 + +**表 3** 最小虚拟化空间要求 + + + + + + + + + + + + + + + + + + + + + + + + + +

部件名称

+

最小虚拟化空间要求

+

说明

+

架构

+
  • AArch64
  • x86_64
+

-

+

CPU

+

2个CPU

+

-

+

内存

+

不小于4GB(为了获得更好的应用体验,建议不小于8GB)

+

-

+

硬盘

+

不小于32GB(为了获得更好的应用体验,建议不小于120GB)

+

-

+
+ + + + + + + + + diff --git "a/content/zh/docs/Quickstart/figures/root\345\257\206\347\240\201.png" "b/content/zh/docs/Quickstart/figures/root\345\257\206\347\240\201.png" index 6ae130ee76bee0b37f385642926978ea65849b2c..131863338be6ea5925cadd75483c08c34ec9856c 100644 Binary files "a/content/zh/docs/Quickstart/figures/root\345\257\206\347\240\201.png" and "b/content/zh/docs/Quickstart/figures/root\345\257\206\347\240\201.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\345\210\233\345\273\272\347\224\250\346\210\267.png" "b/content/zh/docs/Quickstart/figures/\345\210\233\345\273\272\347\224\250\346\210\267.png" index 9514c2e87a8c3b12022a87ee79fd27d9313f7f65..3650c7ed70883500b636ae2acecee78d5724f7d8 100644 Binary files "a/content/zh/docs/Quickstart/figures/\345\210\233\345\273\272\347\224\250\346\210\267.png" and "b/content/zh/docs/Quickstart/figures/\345\210\233\345\273\272\347\224\250\346\210\267.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\345\274\225\345\257\274\347\225\214\351\235\242.png" "b/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\345\274\225\345\257\274\347\225\214\351\235\242.png" index b147fa7ac745eb313ebe5a7a887d1c0f5d8efdb0..c4a6f41ef2ba73946e78d6cd422193b87edd90c8 100644 Binary files "a/content/zh/docs/Quickstart/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/Quickstart/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/Quickstart/figures/\345\256\211\350\243\205\346\246\202\350\247\210.png" "b/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\346\246\202\350\247\210.png" index 39bf1e8413cf056a0693c99f797dac1979f0dae5..e30f776c50915918005be529363b2e15de9fe432 100644 Binary files "a/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\346\246\202\350\247\210.png" and "b/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\346\246\202\350\247\210.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\347\233\256\346\240\207\344\275\215\347\275\256.png" "b/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\347\233\256\346\240\207\344\275\215\347\275\256.png" index 8dafee6a6f1f52455addd1deedd52717dc3fc72e..af0980e3a8e2d2510d00b6012e4aef70936b584e 100644 Binary files "a/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\347\233\256\346\240\207\344\275\215\347\275\256.png" and "b/content/zh/docs/Quickstart/figures/\345\256\211\350\243\205\347\233\256\346\240\207\344\275\215\347\275\256.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\345\256\214\346\210\220\345\256\211\350\243\205.png" "b/content/zh/docs/Quickstart/figures/\345\256\214\346\210\220\345\256\211\350\243\205.png" index 29cfdd44c67ceb18e2768e8c88d74c5d4d352bf1..91d38b80cf2310a7427788feb089da8d106b97b5 100644 Binary files "a/content/zh/docs/Quickstart/figures/\345\256\214\346\210\220\345\256\211\350\243\205.png" and "b/content/zh/docs/Quickstart/figures/\345\256\214\346\210\220\345\256\211\350\243\205.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\345\274\200\345\247\213\345\256\211\350\243\205.png" "b/content/zh/docs/Quickstart/figures/\345\274\200\345\247\213\345\256\211\350\243\205.png" index bafb8a9ed591a448f984d81729e4eab5af688c6b..227ec876dc1b0d6cbe6991c1bce1fc0837a344c0 100644 Binary files "a/content/zh/docs/Quickstart/figures/\345\274\200\345\247\213\345\256\211\350\243\205.png" and "b/content/zh/docs/Quickstart/figures/\345\274\200\345\247\213\345\256\211\350\243\205.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\350\275\257\344\273\266\351\200\211\346\213\251.png" "b/content/zh/docs/Quickstart/figures/\350\275\257\344\273\266\351\200\211\346\213\251.png" index 1050fcd44d7f93dde37c7bcea2a3a98f99a5923f..8330bf28b910ab88420e0ba1fb43a49b21a3374f 100644 Binary files "a/content/zh/docs/Quickstart/figures/\350\275\257\344\273\266\351\200\211\346\213\251.png" and "b/content/zh/docs/Quickstart/figures/\350\275\257\344\273\266\351\200\211\346\213\251.png" differ diff --git "a/content/zh/docs/Quickstart/figures/\351\200\211\346\213\251\350\257\255\350\250\200.png" "b/content/zh/docs/Quickstart/figures/\351\200\211\346\213\251\350\257\255\350\250\200.png" index 672e19fcb06ce563fdd11d28f71cfd4ff72081ab..44e736d20c86098b0e69e0a7027103871d19032b 100644 Binary files "a/content/zh/docs/Quickstart/figures/\351\200\211\346\213\251\350\257\255\350\250\200.png" and "b/content/zh/docs/Quickstart/figures/\351\200\211\346\213\251\350\257\255\350\250\200.png" differ diff --git "a/content/zh/docs/Quickstart/\345\277\253\351\200\237\345\205\245\351\227\250\346\214\207\345\215\227.md" "b/content/zh/docs/Quickstart/\345\277\253\351\200\237\345\205\245\351\227\250.md" similarity index 92% rename from "content/zh/docs/Quickstart/\345\277\253\351\200\237\345\205\245\351\227\250\346\214\207\345\215\227.md" rename to "content/zh/docs/Quickstart/\345\277\253\351\200\237\345\205\245\351\227\250.md" index 55547672bcc112b30cb13a6540de7776ce6e9b94..e326d6d0abbd4c1fb30f573b3d57f34f20272322 100644 --- "a/content/zh/docs/Quickstart/\345\277\253\351\200\237\345\205\245\351\227\250\346\214\207\345\215\227.md" +++ "b/content/zh/docs/Quickstart/\345\277\253\351\200\237\345\205\245\351\227\250.md" @@ -1,341 +1,344 @@ -# 快速入门 - -本文档以TaiShan 200服务器上安装openEuler 20.03 LTS为例,旨在指导用户快速地安装和使用openEuler操作系统,更详细的安装要求和安装方法请参考《[openEuler 20.03 LTS 安装指南](https://openeuler.org/zh/docs/20.03_LTS/docs/Installation/installation.html)》。 - -## 安装要求 - -- 硬件兼容支持 - - 支持的服务器类型如[表1](#table14948632047)所示。 - - **表 1** 支持的服务器类型 - - - - - - - - - - - - - - - - -

服务器形态

-

服务器名称

-

服务器型号

-

机架服务器

-

TaiShan 200

-

2280均衡型

-

机架服务器

-

FusionServer Pro 机架服务器

-

FusionServer Pro 2288H V5

-
说明:

服务器要求配置Avago 3508 RAID控制卡和启用LOM-X722网卡。

-
-
- -- 最小硬件要求 - - 最小硬件要求如[表2](#tff48b99c9bf24b84bb602c53229e2541)所示。 - - **表 2** 最小硬件要求 - - - - - - - - - - - - - - - - - - - - - - - - -

部件名称

-

最小硬件要求

-

说明

-

架构

-
  • AArch64
  • x86_64
-
  • 支持Arm的64位架构。
  • 支持Intel的x86 64位架构。
-

CPU

-
  • 华为鲲鹏920系列CPU
  • Intel® Xeon®处理器
-

-

-

内存

-

不小于4GB(为了获得更好的应用体验,建议不小于8GB)

-

-

-

硬盘

-

为了获得更好的应用体验,建议不小于120GB)

-

支持IDE、SATA、SAS等接口的硬盘。

-
- - -## 获取安装源 - -请按以下步骤获取openEuler的发布包和校验文件: - -1. 登录[openEuler社区](https://openeuler.org)网站。 -2. 单击“下载”。 -3. 单击“获取ISO:”后面的“Link”,显示版本列表。 -4. 单击“openEuler-20.03-LTS”,进入openEuler 20.03 LTS版本下载列表。 -5. 单击“ISO”,进入ISO下载列表。 - - aarch64:AArch64架构的ISO。 - - x86\_64:x86\_64架构的ISO。 - - source:openEuler源码ISO。 - -6. 根据实际待安装环境的架构选择需要下载的openEuler的发布包和校验文件。 - - 若为AArch64架构。 - 1. 单击“aarch64”。 - 2. 单击“openEuler-20.03-LTS-aarch64-dvd.iso”,将openEuler发布包下载到本地。 - 3. 单击“openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum”,将openEuler校验文件下载到本地。 - - - 若为x86\_64架构。 - 1. 单击“x86\_64”。 - 2. 单击“openEuler-20.03-LTS-x86\_64-dvd.iso”,将openEuler发布包下载到本地。 - 3. 单击“openEuler-20.03-LTS-x86\_64-dvd.iso.sha256sum”,将openEuler校验文件下载到本地。 - - - -## 发布包完整性校验 - -为了防止软件包在传输过程中由于网络原因或者存储设备原因出现下载不完整的问题,在获取到软件包后,可按以下步骤将获取到的openEuler的软件包进行完整性校验。 - -1. 获取校验文件中的校验值。执行命令如下: - - ``` - #cat openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum - ``` - -2. 计算文件的sha256校验值。执行命令如下: - - ``` - #sha256sum openEuler-20.03-LTS-aarch64-dvd.iso - ``` - - 命令执行完成后,输出校验值。 - -3. 对比步骤1和步骤2计算的校验值是否一致。 - - 如果校验值一致说明iso文件完整性没有破坏,如果校验值不一致则可以确认文件完整性已被破坏,需要重新获取。 - - -## 启动安装 - -1. 登录服务器iBMC Web界面。具体方法请参考《[TaiShan 200 服务器 用户指南 \(型号 2280\) ](https://support.huawei.com/enterprise/zh/doc/EDOC1100088652)》。 -2. 在上方标题栏中,选择“配置”,在左侧导航树中选择“系统启动项”,显示“系统启动项”界面。 - - 将“引导介质有效期”和“引导介质”分别设置为“单次有效”和“光驱”,并单击“保存”以保存配置。如[图1](#fig1011938131018)所示。 - - **图 1** 设置系统启动项 - ![](figures/设置系统启动项.png "设置系统启动项") - -3. 在上方标题栏中,选择“远程控制”,在左侧导航树中选择“远程控制”,显示“远程控制”界面。 - - 根据实际情况选择一个集成远程控制台以进入远程虚拟控制台,如选择“Java集成远程控制台\(共享\)”。 - -4. 在虚拟界面工具栏中,单击虚拟光驱工具如下图所示。 - - **图 2** 光驱图标 - ![](figures/光驱图标.png "光驱图标") - - 弹出镜像对话框,如下图所示。 - - **图 3** 镜像对话框 - ![](figures/镜像对话框.png "镜像对话框") - -5. 在镜像对话框中,选择“镜像文件”, 并单击“浏览”。弹出“打开”对话框。 -6. 选择镜像文件,单击“打开”。然后在镜像对话框中,单击“连接”。当“连接”显示为“断开”后,表示虚拟光驱已连接到服务器。 -7. 在工具栏中,单击重启工具重启设备,如下图所示。 - - **图 4** 重启图标 - ![](figures/重启图标.png "重启图标") - -8. 设备重启后进入到openEuler操作系统安装引导界面,如[图5](#fig1648754873314)所示。 - - >![](public_sys-resources/icon-note.gif) **说明:** - >- 如果60秒内未按任何键,系统将从默认选项“Test this media & install openEuler 20.03 LTS”自动进入安装界面。 - >- 安装物理机时,如果使用键盘上下键无法选择启动选项,按“Enter”键无响应,可以单击BMC界面上的鼠标控制图标“![](figures/zh-cn_image_0229420473.png)”,设置“键鼠复位”。 - - **图 5** 安装引导界面 - - -9. 在安装引导界面,按“Enter”,进入默认选项“Test this media & install openEuler 20.03 LTS”的图形化安装界面。 - -## 安装 - -进入图形化安装界面后,按如下步骤进行安装。 - -1. 设置安装语言,默认为英语,用户可根据实际情况进行调整,如[图6](#fig874344811484)所示,选择“中文”。 - - **图 6** 选择语言 - - -2. 在安装概览界面,根据实际情况设置各配置项。 - - - 配置项有告警符号的,表示用户必须完成该选项配置后,告警符号消失,才能进行下一步操作。 - - 配置项无告警符号的,表示该配置项已有默认配置。 - - 所有配置项均无告警符号时用户才能单击“开始安装”进行系统安装。 - - **图 7** 安装概览 - - - 1. 选择“软件选择”,设置“软件选择”配置项。 - - 用户需要根据实际的业务需求,在左侧选择一个“最小安装”,在右侧选择安装环境的附加选项,如[图8](#fig1133717611109)所示。 - - **图 8** 软件选择 - - - >![](public_sys-resources/icon-note.gif) **说明:** - >- 在最小安装的环境下,并非安装源中所有的包都会安装。如果用户需要使用的包未安装,可将安装源挂载到本地制作repo源,通过DNF工具单独安装。 - >- 选择“虚拟化主机”时会默认安装虚拟化组件qemu、libvirt、edk2,且可在附件选项处选择是否安装ovs等组件。 - - 设置完成后,请单击左上角“完成”返回“安装概览”页面。 - - 2. 选择“安装位置”,设置“安装位置”配置项。 - - 在安装位置页面中,您可以选择计算机中的本地可用存储设备,也可以通过单击“添加磁盘”,添加指定的附加设备或者网络设备。您还需要进行存储配置以便对系统分区。您可以手动配置分区,也可以选择让安装程序自动分区。如果是在未使用过的存储设备中执行全新安装,或者不需要保留该存储设备中任何数据,建议选择“自动”进行自动分区。如[图9](#fig153381468101)所示。 - - >![](public_sys-resources/icon-notice.gif) **须知:** - >在选择您需要安装的设备时,建议不要选择NVMe SSD存储介质作为操作系统的安装磁盘。 - - **图 9** 安装目标位置 - - - >![](public_sys-resources/icon-note.gif) **说明:** - >- 在进行分区时,出于系统性能和安全的考虑,建议您划分如下单独分区:/boot、/var、/var/log 、/var/log/audit、/home、/tmp。 - >- 系统如果配置了swap分区,当系统的物理内存不够用时,会使用swap分区。虽然 swap分区可以增大物理内存大小的限制,但是如果由于内存不足使用到swap分区,会增加系统的响应时间,性能变差。因此在物理内存充足或者性能敏感的系统中,不建议配置swap分区。 - >- 如果需要拆分逻辑卷组则需要选择“自定义”进行手动分区,并在“手动分区”界面单击“卷组”区域中的“修改”按钮重新配置卷组。 - - 设置完成后,请单击左上角“完成”返回“安装概览”页面。 - - 3. 设置其他配置项,其他配置项可以使用默认配置。 - -3. 单击“开始安装”进行系统安装,如[图10](#fig1717019357392)所示。 - - **图 10** 开始安装 - - -4. 设置root密码。 - - 单击“root密码”,弹出设置密码界面如[图11](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1323165793018)所示,输入密码并再次输入密码进行确认。 - - >![](public_sys-resources/icon-note.gif) **说明:** - >root密码需要在安装软件包的同时进行配置,如果不配置该密码则无法完成安装。root账户是用来执行关键系统管理任务,不建议您在日常工作及系统访问时使用root账户。 - - 用户设置的root密码需要满足如下密码复杂度要求,否则会导致密码设置或用户创建失败。 - - - 口令长度至少8个字符。 - - 口令至少包含大写字母、小写字母、数字和特殊字符中的任意3种。 - - 口令不能和账号一样。 - - 口令不能使用字典词汇。 - - 查询字典 - - 在已装好的openEuler环境中,可以通过如下命令导出字典库文件dictionary.txt,用户可以查询密码是否在该字典中。 - - ``` - cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt - ``` - - - 修改字典 - - 修改上面导出的字典文件,执行如下命令更新系统字典库。 - - ``` - create-cracklib-dict dictionary.txt - ``` - - - 在原字典库基础上新增其他字典内容custom.txt。 - - ``` - create-cracklib-dict dictionary.txt custom.txt - ``` - - - - **图 11** root密码 - - -5. 创建用户。 - - 单击“创建用户”,弹出创建用户的界面如[图12](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1237715313319)所示。输入用户名,并设置密码,其中密码复杂度要求与root密码复杂度要求一致。另外您还可以通过“高级”选项设置用户主目录、用户组等,如[图13](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig128716531312)所示。 - - **图 12** 创建用户 - - - **图 13** 高级用户配置 - ![](figures/高级用户配置.png "高级用户配置") - - 完成设置后,单击左上角的“完成”返回安装过程界面。 - -6. 安装完成后重启系统。 - - openEuler完成安装,如[图14](#zh-cn_topic_0186390267_zh-cn_topic_0122145917_fig1429512116338)所示。单击“重启”后,系统将重新启动。 - - **图 14** 完成安装 - - - -## 查看系统信息 - -系统安装完成并重启后直接进入系统命令行登录界面,输入安装过程中设置的用户和密码,进入openEuler操作系统,查看如下系统信息。若需要进行系统管理和配置操作,请参考《[openEuler 20.03 LTS 管理员指南](https://openeuler.org/zh/docs/20.03_LTS/docs/Administration/administration.html)》。 - -- 查看系统信息,命令如下: - - ``` - cat /etc/os-release - ``` - - 例如,命令和输出如下: - - ``` - # cat /etc/os-release - NAME="openEuler" - VERSION="20.03 (LTS)" - ID="openEuler" - VERSION_ID="20.03" - PRETTY_NAME="openEuler 20.03 (LTS)" - ANSI_COLOR="0;31" - ``` - -- 查看系统相关的资源信息。 - - 查看CPU信息,命令如下: - - ``` - lscpu - ``` - - 查看内存信息,命令如下: - - ``` - free - ``` - - 查看磁盘信息,命令如下: - - ``` - fdisk -l - ``` - -- 查看IP地址,命令如下: - - ``` - ip addr - ``` - - +# 快速入门 + +本文档以TaiShan 200服务器上安装openEuler 20.03 LTS为例,旨在指导用户快速地安装和使用openEuler操作系统,更详细的安装要求和安装方法请参考《[openEuler 20.03 LTS 安装指南](https://openeuler.org/zh/docs/20.03_LTS/docs/Installation/installation.html)》。 + +## 安装要求 + +- 硬件兼容支持 + + 支持的服务器类型如[表1](#table14948632047)所示。 + + **表 1** 支持的服务器类型 + + + + + + + + + + + + + + + + +

服务器形态

+

服务器名称

+

服务器型号

+

机架服务器

+

TaiShan 200

+

2280均衡型

+

机架服务器

+

FusionServer Pro 机架服务器

+

FusionServer Pro 2288H V5

+
说明:

服务器要求配置Avago 3508 RAID控制卡和启用LOM-X722网卡。

+
+
+ +- 最小硬件要求 + + 最小硬件要求如[表2](#tff48b99c9bf24b84bb602c53229e2541)所示。 + + **表 2** 最小硬件要求 + + + + + + + + + + + + + + + + + + + + + + + + +

部件名称

+

最小硬件要求

+

说明

+

架构

+
  • AArch64
  • x86_64
+
  • 支持Arm的64位架构。
  • 支持Intel的x86 64位架构。
+

CPU

+
  • 华为鲲鹏920系列CPU
  • Intel® Xeon®处理器
+

-

+

内存

+

不小于4GB(为了获得更好的应用体验,建议不小于8GB)

+

-

+

硬盘

+

为了获得更好的应用体验,建议不小于120GB)

+

支持IDE、SATA、SAS等接口的硬盘。

+
+ + +## 获取安装源 + +请按以下步骤获取openEuler的发布包和校验文件: + +1. 登录[openEuler社区](https://openeuler.org)网站。 +2. 单击“下载”。 +3. 单击“获取ISO:”后面的“Link”,显示版本列表。 +4. 单击“openEuler-20.03-LTS”,进入openEuler 20.03 LTS版本下载列表。 +5. 单击“ISO”,进入ISO下载列表。 + - aarch64:AArch64架构的ISO。 + - x86\_64:x86\_64架构的ISO。 + - source:openEuler源码ISO。 + +6. 根据实际待安装环境的架构选择需要下载的openEuler的发布包和校验文件。 + - 若为AArch64架构。 + 1. 单击“aarch64”。 + 2. 单击“openEuler-20.03-LTS-aarch64-dvd.iso”,将openEuler发布包下载到本地。 + 3. 单击“openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum”,将openEuler校验文件下载到本地。 + + - 若为x86\_64架构。 + 1. 单击“x86\_64”。 + 2. 单击“openEuler-20.03-LTS-x86\_64-dvd.iso”,将openEuler发布包下载到本地。 + 3. 单击“openEuler-20.03-LTS-x86\_64-dvd.iso.sha256sum”,将openEuler校验文件下载到本地。 + + + +## 发布包完整性校验 + +为了防止软件包在传输过程中由于网络原因或者存储设备原因出现下载不完整的问题,在获取到软件包后,可按以下步骤将获取到的openEuler的软件包进行完整性校验。 + +1. 获取校验文件中的校验值。执行命令如下: + + ``` + #cat openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum + ``` + +2. 计算文件的sha256校验值。执行命令如下: + + ``` + #sha256sum openEuler-20.03-LTS-aarch64-dvd.iso + ``` + + 命令执行完成后,输出校验值。 + +3. 对比步骤1和步骤2计算的校验值是否一致。 + + 如果校验值一致说明iso文件完整性没有破坏,如果校验值不一致则可以确认文件完整性已被破坏,需要重新获取。 + + +## 启动安装 + +1. 登录服务器iBMC Web界面。具体方法请参考《[TaiShan 200 服务器 用户指南 \(型号 2280\) ](https://support.huawei.com/enterprise/zh/doc/EDOC1100088652)》。 +2. 在上方标题栏中,选择“配置”,在左侧导航树中选择“系统启动项”,显示“系统启动项”界面。 + + 将“引导介质有效期”和“引导介质”分别设置为“单次有效”和“光驱”,并单击“保存”以保存配置。如[图1](#fig1011938131018)所示。 + + **图 1** 设置系统启动项 + ![](figures/设置系统启动项.png "设置系统启动项") + +3. 在上方标题栏中,选择“远程控制”,在左侧导航树中选择“远程控制”,显示“远程控制”界面。 + + 根据实际情况选择一个集成远程控制台以进入远程虚拟控制台,如选择“Java集成远程控制台\(共享\)”。 + +4. 在虚拟界面工具栏中,单击虚拟光驱工具如下图所示。 + + **图 2** 光驱图标 + ![](figures/光驱图标.png "光驱图标") + + 弹出镜像对话框,如下图所示。 + + **图 3** 镜像对话框 + ![](figures/镜像对话框.png "镜像对话框") + +5. 在镜像对话框中,选择“镜像文件”, 并单击“浏览”。弹出“打开”对话框。 +6. 选择镜像文件,单击“打开”。然后在镜像对话框中,单击“连接”。当“连接”显示为“断开”后,表示虚拟光驱已连接到服务器。 +7. 在工具栏中,单击重启工具重启设备,如下图所示。 + + **图 4** 重启图标 + ![](figures/重启图标.png "重启图标") + +8. 设备重启后进入到openEuler操作系统安装引导界面,如[图5](#fig1648754873314)所示。 + + >![](public_sys-resources/icon-note.gif) **说明:** + >- 如果60秒内未按任何键,系统将从默认选项“Test this media & install openEuler 20.03 LTS”自动进入安装界面。 + >- 安装物理机时,如果使用键盘上下键无法选择启动选项,按“Enter”键无响应,可以单击BMC界面上的鼠标控制图标“![](figures/zh-cn_image_0229420473.png)”,设置“键鼠复位”。 + + **图 5** 安装引导界面 + + +9. 在安装引导界面,按“Enter”,进入默认选项“Test this media & install openEuler 20.03 LTS”的图形化安装界面。 + +## 安装 + +进入图形化安装界面后,按如下步骤进行安装。 + +1. 设置安装语言,默认为英语,用户可根据实际情况进行调整,如[图6](#fig874344811484)所示,选择“中文”。 + + **图 6** 选择语言 + + +2. 在安装概览界面,根据实际情况设置各配置项。 + + - 配置项有告警符号的,表示用户必须完成该选项配置后,告警符号消失,才能进行下一步操作。 + - 配置项无告警符号的,表示该配置项已有默认配置。 + - 所有配置项均无告警符号时用户才能单击“开始安装”进行系统安装。 + + **图 7** 安装概览 + + + 1. 选择“软件选择”,设置“软件选择”配置项。 + + 用户需要根据实际的业务需求,在左侧选择一个“最小安装”,在右侧选择安装环境的附加选项,如[图8](#fig1133717611109)所示。 + + **图 8** 软件选择 + + + >![](public_sys-resources/icon-note.gif) **说明:** + >- 在最小安装的环境下,并非安装源中所有的包都会安装。如果用户需要使用的包未安装,可将安装源挂载到本地制作repo源,通过DNF工具单独安装。 + >- 选择“虚拟化主机”时会默认安装虚拟化组件qemu、libvirt、edk2,且可在附件选项处选择是否安装ovs等组件。 + + 设置完成后,请单击左上角“完成”返回“安装概览”页面。 + + 2. 选择“安装位置”,设置“安装位置”配置项。 + + 在安装位置页面中,您可以选择计算机中的本地可用存储设备,也可以通过单击“添加磁盘”,添加指定的附加设备或者网络设备。您还需要进行存储配置以便对系统分区。您可以手动配置分区,也可以选择让安装程序自动分区。如果是在未使用过的存储设备中执行全新安装,或者不需要保留该存储设备中任何数据,建议选择“自动”进行自动分区。如[图9](#fig153381468101)所示。 + + >![](public_sys-resources/icon-notice.gif) **须知:** + >在选择您需要安装的设备时,建议不要选择NVMe SSD存储介质作为操作系统的安装磁盘。 + + **图 9** 安装目标位置 + + + >![](public_sys-resources/icon-note.gif) **说明:** + >- 在进行分区时,出于系统性能和安全的考虑,建议您划分如下单独分区:/boot、/var、/var/log 、/var/log/audit、/home、/tmp。 + >- 系统如果配置了swap分区,当系统的物理内存不够用时,会使用swap分区。虽然 swap分区可以增大物理内存大小的限制,但是如果由于内存不足使用到swap分区,会增加系统的响应时间,性能变差。因此在物理内存充足或者性能敏感的系统中,不建议配置swap分区。 + >- 如果需要拆分逻辑卷组则需要选择“自定义”进行手动分区,并在“手动分区”界面单击“卷组”区域中的“修改”按钮重新配置卷组。 + + 设置完成后,请单击左上角“完成”返回“安装概览”页面。 + + 3. 设置其他配置项,其他配置项可以使用默认配置。 + +3. 单击“开始安装”进行系统安装,如[图10](#fig1717019357392)所示。 + + **图 10** 开始安装 + + +4. 设置root密码。 + + 单击“root密码”,弹出设置密码界面如[图11](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1323165793018)所示,输入密码并再次输入密码进行确认。 + + >![](public_sys-resources/icon-note.gif) **说明:** + >root密码需要在安装软件包的同时进行配置,如果不配置该密码则无法完成安装。root账户是用来执行关键系统管理任务,不建议您在日常工作及系统访问时使用root账户。 + + 用户设置的root密码需要满足如下密码复杂度要求,否则会导致密码设置或用户创建失败。 + + - 口令长度至少8个字符。 + + - 口令至少包含大写字母、小写字母、数字和特殊字符中的任意3种。 + + - 口令不能和账号一样。 + + - 口令不能使用字典词汇。 + + - 查询字典 + + 在已装好的openEuler环境中,可以通过如下命令导出字典库文件dictionary.txt,用户可以查询密码是否在该字典中。 + + ``` + cracklib-unpacker /usr/share/cracklib/pw_dict > dictionary.txt + ``` + + - 修改字典 + + - 修改上面导出的字典文件,执行如下命令更新系统字典库。 + + ``` + create-cracklib-dict dictionary.txt + ``` + + - 在原字典库基础上新增其他字典内容custom.txt。 + + ``` + create-cracklib-dict dictionary.txt custom.txt + ``` + + **图 11** root密码 + + +5. 创建用户。 + + 单击“创建用户”,弹出创建用户的界面如[图12](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig1237715313319)所示。输入用户名,并设置密码,其中密码复杂度要求与root密码复杂度要求一致。另外您还可以通过“高级”选项设置用户主目录、用户组等,如[图13](#zh-cn_topic_0186390266_zh-cn_topic_0122145909_fig128716531312)所示。 + + **图 12** 创建用户 + + + **图 13** 高级用户配置 + ![](figures/高级用户配置.png "高级用户配置") + + 完成设置后,单击左上角的“完成”返回安装过程界面。 + +6. 安装完成后重启系统。 + + openEuler完成安装,如[图14](#zh-cn_topic_0186390267_zh-cn_topic_0122145917_fig1429512116338)所示。单击“重启”后,系统将重新启动。 + + **图 14** 完成安装 + + + +## 查看系统信息 + +系统安装完成并重启后直接进入系统命令行登录界面,输入安装过程中设置的用户和密码,进入openEuler操作系统,查看如下系统信息。若需要进行系统管理和配置操作,请参考《[openEuler 20.03 LTS 管理员指南](https://openeuler.org/zh/docs/20.03_LTS/docs/Administration/administration.html)》。 + +- 查看系统信息,命令如下: + + ``` + cat /etc/os-release + ``` + + 例如,命令和输出如下: + + ``` + # cat /etc/os-release + NAME="openEuler" + VERSION="20.03 (LTS)" + ID="openEuler" + VERSION_ID="20.03" + PRETTY_NAME="openEuler 20.03 (LTS)" + ANSI_COLOR="0;31" + ``` + +- 查看系统相关的资源信息。 + + 查看CPU信息,命令如下: + + ``` + lscpu + ``` + + 查看内存信息,命令如下: + + ``` + free + ``` + + 查看磁盘信息,命令如下: + + ``` + fdisk -l + ``` + +- 查看IP地址,命令如下: + + ``` + ip addr + ``` + + diff --git a/content/zh/menu/index.md b/content/zh/menu/index.md index 5aabfc6d6312e0bf5587b6d9bd23535cd77ac0f4..662caa60481e7e1c9c1cf2a72172c856bbd6dce4 100644 --- a/content/zh/menu/index.md +++ b/content/zh/menu/index.md @@ -14,19 +14,11 @@ headless: true - [参与贡献]({{< relref "./docs/Releasenotes/参与贡献.md" >}}) - [致谢]({{< relref "./docs/Releasenotes/致谢.md" >}}) -- [快速入门]({{< relref "./docs/Quickstart/快速入门指南.md" >}}) +- [快速入门]({{< relref "./docs/Quickstart/快速入门.md" >}}) - [安装指南]({{< relref "./docs/Installation/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" >}}) - - [最小硬件要求]({{< relref "./docs/Installation/最小硬件要求.md" >}}) - - [虚拟机的安装要求]({{< relref "./docs/Installation/虚拟机的安装要求.md" >}}) - - [虚拟化平台兼容性]({{< relref "./docs/Installation/虚拟化平台兼容性.md" >}}) - - [最小虚拟化空间要求]({{< relref "./docs/Installation/最小虚拟化空间要求.md" >}}) - [安装方式介绍]({{< relref "./docs/Installation/安装方式介绍.md" >}}) - [通过光盘安装]({{< relref "./docs/Installation/通过光盘安装.md" >}}) - [通过USB盘安装]({{< relref "./docs/Installation/通过USB盘安装.md" >}}) @@ -401,13 +393,13 @@ headless: true - [应用场景]({{< relref "./docs/Virtualization/应用场景.md" >}}) - [注意事项和约束限制]({{< relref "./docs/Virtualization/注意事项和约束限制.md" >}}) - [热迁移操作]({{< relref "./docs/Virtualization/热迁移操作.md" >}}) - + - [管理系统资源]({{< relref "./docs/Virtualization/管理系统资源.md" >}}) - [管理虚拟CPU]({{< relref "./docs/Virtualization/管理虚拟CPU.md" >}}) - [CPU份额]({{< relref "./docs/Virtualization/CPU份额.md" >}}) - [绑定QEMU进程至物理CPU]({{< relref "./docs/Virtualization/绑定QEMU进程至物理CPU.md" >}}) - [调整虚拟CPU绑定关系]({{< relref "./docs/Virtualization/调整虚拟CPU绑定关系.md" >}}) - + - [管理虚拟内存]({{< relref "./docs/Virtualization/管理虚拟内存.md" >}}) - [NUMA简介]({{< relref "./docs/Virtualization/NUMA简介.md" >}}) - [配置Host NUMA]({{< relref "./docs/Virtualization/配置Host-NUMA.md" >}}) @@ -422,13 +414,13 @@ headless: true - [管理设备直通]({{< relref "./docs/Virtualization/管理设备直通.md" >}}) - [PCI直通]({{< relref "./docs/Virtualization/PCI直通.md" >}}) - [SR-IOV直通]({{< relref "./docs/Virtualization/SR-IOV直通.md" >}}) - + - [管理虚拟机USB]({{< relref "./docs/Virtualization/管理虚拟机USB.md" >}}) - [配置USB控制器]({{< relref "./docs/Virtualization/配置USB控制器.md" >}}) - [配置USB直通设备]({{< relref "./docs/Virtualization/配置USB直通设备.md" >}}) - + - [存储快照]({{< relref "./docs/Virtualization/存储快照.md" >}}) - + - [最佳实践]({{< relref "./docs/Virtualization/最佳实践.md" >}}) - [性能最佳实践]({{< relref "./docs/Virtualization/性能最佳实践.md" >}}) - [halt-polling]({{< relref "./docs/Virtualization/halt-polling.md" >}}) @@ -436,7 +428,7 @@ headless: true - [裸设备映射]({{< relref "./docs/Virtualization/裸设备映射.md" >}}) - [kworker隔离绑定]({{< relref "./docs/Virtualization/kworker隔离绑定.md" >}}) - [内存大页]({{< relref "./docs/Virtualization/内存大页.md" >}}) - + - [安全最佳实践]({{< relref "./docs/Virtualization/安全最佳实践.md" >}}) - [Libvirt鉴权]({{< relref "./docs/Virtualization/Libvirt鉴权.md" >}}) - [qemu-ga]({{< relref "./docs/Virtualization/qemu-ga.md" >}}) @@ -545,7 +537,7 @@ headless: true - [约束]({{< relref "./docs/Container/约束.md" >}}) - + - [镜像管理]({{< relref "./docs/Container/镜像管理.md" >}}) - [docker镜像管理]({{< relref "./docs/Container/docker镜像管理.md" >}}) - [登录到镜像仓库]({{< relref "./docs/Container/登录到镜像仓库.md" >}}) @@ -556,7 +548,7 @@ headless: true - [列出镜像]({{< relref "./docs/Container/列出镜像.md" >}}) - [检视镜像]({{< relref "./docs/Container/检视镜像.md" >}}) - [双向认证]({{< relref "./docs/Container/双向认证.md" >}}) - + - [embedded镜像管理]({{< relref "./docs/Container/embedded镜像管理.md" >}}) - [加载镜像]({{< relref "./docs/Container/加载镜像-3.md" >}}) - [列出镜像]({{< relref "./docs/Container/列出镜像-4.md" >}}) @@ -569,22 +561,22 @@ headless: true - [配置方法]({{< relref "./docs/Container/配置方法.md" >}}) - [检查规则]({{< relref "./docs/Container/检查规则.md" >}}) - [使用限制]({{< relref "./docs/Container/使用限制-8.md" >}}) - + - [查询信息]({{< relref "./docs/Container/查询信息.md" >}}) - [查询服务版本信息]({{< relref "./docs/Container/查询服务版本信息.md" >}}) - [查询系统级信息]({{< relref "./docs/Container/查询系统级信息.md" >}}) - + - [安全特性]({{< relref "./docs/Container/安全特性.md" >}}) - [seccomp安全配置场景]({{< relref "./docs/Container/seccomp安全配置场景.md" >}}) - [场景说明]({{< relref "./docs/Container/场景说明-9.md" >}}) - [使用限制]({{< relref "./docs/Container/使用限制-10.md" >}}) - [使用指导]({{< relref "./docs/Container/使用指导-11.md" >}}) - + - [capabilities安全配置场景]({{< relref "./docs/Container/capabilities安全配置场景.md" >}}) - [场景说明]({{< relref "./docs/Container/场景说明-12.md" >}}) - [使用限制]({{< relref "./docs/Container/使用限制-13.md" >}}) - [使用指导]({{< relref "./docs/Container/使用指导-14.md" >}}) - + - [SELinux安全配置场景]({{< relref "./docs/Container/SELinux安全配置场景.md" >}}) - [场景说明]({{< relref "./docs/Container/场景说明-15.md" >}}) - [使用限制]({{< relref "./docs/Container/使用限制-16.md" >}}) @@ -648,17 +640,17 @@ headless: true - [停止安全容器]({{< relref "./docs/Container/停止安全容器.md" >}}) - [删除安全容器]({{< relref "./docs/Container/删除安全容器.md" >}}) - [在容器中执行一条新的命令]({{< relref "./docs/Container/在容器中执行一条新的命令.md" >}}) - + - [为安全容器配置资源]({{< relref "./docs/Container/为安全容器配置资源.md" >}}) - [资源的共享]({{< relref "./docs/Container/资源的共享-27.md" >}}) - [限制CPU资源]({{< relref "./docs/Container/限制CPU资源.md" >}}) - [限制内存资源]({{< relref "./docs/Container/限制内存资源.md" >}}) - [限制Blkio资源]({{< relref "./docs/Container/限制Blkio资源.md" >}}) - [限制文件描述符资源]({{< relref "./docs/Container/限制文件描述符资源.md" >}}) - + - [为安全容器配置网络]({{< relref "./docs/Container/为安全容器配置网络.md" >}}) - [监控安全容器]({{< relref "./docs/Container/监控安全容器.md" >}}) - + - [附录]({{< relref "./docs/Container/附录-28.md" >}}) - [configuration.toml配置说明]({{< relref "./docs/Container/configuration-toml配置说明.md" >}}) - [接口列表]({{< relref "./docs/Container/接口列表.md" >}}) @@ -703,12 +695,12 @@ headless: true - [停止与删除容器]({{< relref "./docs/Container/停止与删除容器.md" >}}) - [容器信息查询]({{< relref "./docs/Container/容器信息查询.md" >}}) - [修改操作]({{< relref "./docs/Container/修改操作.md" >}}) - + - [镜像管理]({{< relref "./docs/Container/镜像管理-34.md" >}}) - [创建镜像]({{< relref "./docs/Container/创建镜像.md" >}}) - [查看镜像]({{< relref "./docs/Container/查看镜像.md" >}}) - [删除镜像]({{< relref "./docs/Container/删除镜像-35.md" >}}) - + - [命令行参考]({{< relref "./docs/Container/命令行参考.md" >}}) - [容器引擎]({{< relref "./docs/Container/容器引擎.md" >}}) - [容器管理]({{< relref "./docs/Container/容器管理-36.md" >}}) @@ -734,7 +726,7 @@ headless: true - [top]({{< relref "./docs/Container/top.md" >}}) - [update]({{< relref "./docs/Container/update.md" >}}) - [wait]({{< relref "./docs/Container/wait.md" >}}) - + - [镜像管理]({{< relref "./docs/Container/镜像管理-37.md" >}}) - [build]({{< relref "./docs/Container/build.md" >}}) - [history]({{< relref "./docs/Container/history.md" >}}) @@ -749,7 +741,7 @@ headless: true - [save]({{< relref "./docs/Container/save.md" >}}) - [search]({{< relref "./docs/Container/search.md" >}}) - [tag]({{< relref "./docs/Container/tag.md" >}}) - + - [统计信息]({{< relref "./docs/Container/统计信息.md" >}}) - [events]({{< relref "./docs/Container/events.md" >}}) - [info]({{< relref "./docs/Container/info.md" >}})