diff --git a/content/en/docs/Administration/configuring-the-repo-server.md b/content/en/docs/Administration/configuring-the-repo-server.md index 4f5191adc42c7c17aadff46221687e65471fdb90..140b30bb62a3848bc6846db414f6bdffdc31f4bf 100644 --- a/content/en/docs/Administration/configuring-the-repo-server.md +++ b/content/en/docs/Administration/configuring-the-repo-server.md @@ -1,7 +1,7 @@ # Configuring the Repo Server >![](public_sys-resources/icon-note.gif) **NOTE:** ->This section uses the **openEuler-20.03-LTS-aarch64-dvd.iso** image file as an example. Modify the image file as required. +>This section uses the **openEuler-20.03-LTS-aarch64-dvd.iso** file as an example. Modify the ISO file as required. - [Configuring the Repo Server](#configuring-the-repo-server) @@ -25,27 +25,27 @@ ## Overview -Create the **openEuler-20.03-LTS-aarch64-dvd.iso** image provided by openEuler as the repo source. The following uses Nginx as an example to describe how to deploy the repo source and provide the HTTP service. +Create the **openEuler-20.03-LTS-aarch64-dvd.iso** file provided by openEuler as the repo source. The following uses Nginx as an example to describe how to deploy the repo source and provide the HTTP service. ## Creating or Updating a Local Repo Source -Mount the openEuler image **openEuler-20.03-LTS-aarch64-dvd.iso** to create and update a repo source. +Mount the openEuler ISO file **openEuler-20.03-LTS-aarch64-dvd.iso** to create and update a repo source. -### Obtaining the ISO Image File +### Obtaining the ISO File Obtain the openEuler software package from the following website: -[https://openeuler.org/zh/download.html](https://openeuler.org/zh/download.html) +[https://repo.openeuler.org/openEuler-20.03-LTS/ISO/](https://repo.openeuler.org/openEuler-20.03-LTS/ISO/) ### Mounting an ISO File to Create a Repo Source -Run the mount command as the **root** user to mount the image file. +Run the mount command as the **root** user to mount the ISO file. The following is an example: ``` -# mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ +# mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ ``` The mounted mnt directory is as follows: @@ -66,7 +66,7 @@ In the preceding command, **Packages** indicates the directory where the RPM p ### Creating a Local Repo Source -You can copy related files in the image to a local directory to create a local repo source. The following is an example: +You can copy related files in the ISO file to a local directory to create a local repo source. The following is an example: ``` # mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ @@ -91,7 +91,7 @@ The local repo directory is as follows: You can update the repo source in either of the following ways: -- Use the ISO file of the new version to update the existing repo source. The method is the same as that for creating a repo source. That is, mount the image or copy the image to the local directory. +- Use the ISO file of the new version to update the existing repo source. The method is the same as that for creating a repo source. That is, mount the ISO file or copy the ISO file to the local directory. - Add rpm packages to the Packages directory of the repo source and update the repo source. You can run the createrepo command to update the repo source. ``` 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 ea2edf5754f66009c3ab9c4b0c026928c1405fd6..91cffb82946202d9805fc1d6d2a53be00374398f 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" @@ -92,12 +92,12 @@ best=True

best

-

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

+

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

obsoletes

-

可选值1和0,设置是否允许更新陈旧的RPM包。认值为1,表示允许更新。

+

可选值1和0,设置是否允许更新陈旧的RPM包。默认值为1,表示允许更新。

gpgcheck

@@ -161,15 +161,15 @@ repository部分允许您定义定制化的openEuler软件源仓库,各个仓 - 配置/etc/yum.repos.d目录下的.repo文件 - openEuler提供了多种repo源,以AArch64架构的OS repo源为例。使用root权限在openEuler_aarch64.repo文件中添加openEuler repo源,示例如下: + openEuler提供了多种repo源供用户在线使用,各repo源含义可参考[系统安装]({{< relref "../Releasenotes/系统安装.md" >}}),以AArch64架构的OS repo源为例。使用root权限在openEuler_aarch64.repo文件中添加openEuler repo源,示例如下: ``` # vi /etc/yum.repos.d/openEuler_aarch64.repo ``` ``` - [base] - name=openEuler base + [osrepo] + name=osrepo baseurl=https://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/ enabled=1 gpgcheck=1 @@ -178,7 +178,8 @@ repository部分允许您定义定制化的openEuler软件源仓库,各个仓 ``` >![](public_sys-resources/icon-note.gif) **说明:** - >gpgkey为验证签名用的公钥。 + > - enabled为是否启用该软件源仓库,可选值为1和0。默认值为1,表示启用该软件源仓库。 + > - gpgkey为验证签名用的公钥。 #### 显示当前配置 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 2ea067c2a984bb1e7a95e7bda0398aba6e7c8af0..316b2356e1af95e44845e63a785082a96d0ab422 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" @@ -14,7 +14,7 @@ - [使用timedatectl命令设置](#使用timedatectl命令设置) - [使用date命令设置](#使用date命令设置) - [使用hwclock命令设置](#使用hwclock命令设置) - - [设置kdump](#设置kdump服务) + - [设置kdump](#设置kdump) - [设置kdump预留内存](#设置kdump预留内存) - [预留内存推荐值](#预留内存推荐值) - [禁用网络相关驱动](#禁用网络相关驱动) @@ -446,6 +446,7 @@ Linux 将时钟分为: #### 预留内存参数格式 kdump预留内存参数必须添加到内核启动参数中,配置文件为/boot/efi/EFI/openEuler/grub.cfg,openEuler发布版本中默认已经添加,可以根据实际使用情况调整。添加和修改启动参数后,重启系统生效。kdump预留内存参数格式如下: + | 内核启动参数 | 描述 | 默认值 | 备注 | |--------------------|-------------------------------------------|---------------|------------------------------------------------------------| | crashkernel=x | 在4G以下的物理内存预留x大小的内存给kdump使用。 | x86版本默认配置512M | 该配置方法只在4G以下内存预留,必须保证4G以下连续可用内存足够预留。 | @@ -458,8 +459,7 @@ kdump预留内存参数必须添加到内核启动参数中,配置文件为/bo | 推荐方案 | 预留参数 | 参数说明 | |------|------------------------|----------------------------------------------| | 通用方案 | crashkernel=2048M,high | 4G以下预留256M,4G以上预留2048M内存给kdump使用。共256+2048M。 | -| 经济方案 | crashkernel=1024M,high | 4G以下预留256M,4G以上预留1024M内存给kdump使用。共256+1024M。 推荐系统512G内存以内的场景,并不使用网络转储kdump文件。对于虚拟机场景,可以适当减少内存预留值,推荐虚拟机设置为crashkernel=512M或者crashkernel=256M,high | - +| 经济方案 | crashkernel=1024M,high | 4G以下预留256M,4G以上预留1024M内存给kdump使用。共256+1024M。 推荐系统512G内存以内的场景,并不使用网络转储kdump文件。对于虚拟机场景,可以适当减少内存预留值,推荐虚拟机设置为crashkernel=512M或者crashkernel=256M,high | >![](public_sys-resources/icon-note.gif) **说明:** >不通过网络转储kdump文件时,需要设置kdump文件系统不打包网络相关驱动。网络驱动加载需要申请较大内存,可能导致预留内存不足,kdump失败。因此建议禁用网络相关驱动。 diff --git "a/content/zh/docs/Administration/\346\220\255\345\273\272repo\346\234\215\345\212\241\345\231\250.md" "b/content/zh/docs/Administration/\346\220\255\345\273\272repo\346\234\215\345\212\241\345\231\250.md" index a5ef37f72296755122a16d3d0103e4c230f9899c..0a2c65d42ccf45bb4f8b6b54dd612a14c19c69b7 100644 --- "a/content/zh/docs/Administration/\346\220\255\345\273\272repo\346\234\215\345\212\241\345\231\250.md" +++ "b/content/zh/docs/Administration/\346\220\255\345\273\272repo\346\234\215\345\212\241\345\231\250.md" @@ -1,13 +1,14 @@ # 搭建repo服务器 >![](public_sys-resources/icon-note.gif) **说明:** ->本章节中以openEuler-20.03-LTS-aarch64-dvd.iso镜像文件为例,请根据实际需要的镜像文件进行修改。 +>openEuler提供了多种repo源供用户在线使用,各repo源含义可参考[系统安装]({{< relref "../Releasenotes/系统安装.md" >}})。若用户无法在线获取openEuler repo源,则可使用openEuler提供的ISO发布包创建为本地openEuler repo源。本章节中以openEuler-20.03-LTS-aarch64-dvd.iso发布包为例,请根据实际需要的ISO发布包进行修改。 + - [搭建repo服务器](#搭建repo服务器) - [概述](#概述) - [创建/更新本地repo源](#创建更新本地repo源) - - [获取ISO镜像](#获取iso镜像) + - [获取ISO发布包](#获取iso发布包) - [挂载ISO创建repo源](#挂载iso创建repo源) - [创建本地repo源](#创建本地repo源) - [更新repo源](#更新repo源) @@ -16,7 +17,7 @@ - [启动nginx服务](#启动nginx服务) - [repo源部署](#repo源部署) - [使用repo源](#使用repo源) - - [repo配置为yum源](#repo配置为yum源) + - [repo配置为yum源(软件源)](#repo配置为yum源软件源) - [repo优先级](#repo优先级) - [dnf相关命令](#dnf相关命令) @@ -24,25 +25,25 @@ ## 概述 -将openEuler提供的镜像openEuler-20.03-LTS-aarch64-dvd.iso创建为repo源,如下以使用nginx进行repo源部署,提供http服务为例进行说明。 +将openEuler提供的ISO发布包openEuler-20.03-LTS-aarch64-dvd.iso创建为repo源,如下以使用nginx进行repo源部署,提供http服务为例进行说明。 ## 创建/更新本地repo源 -使用mount挂载,将openEuler的镜像openEuler-20.03-LTS-aarch64-dvd.iso创建为repo源,并能够对repo源进行更新。 -### 获取ISO镜像 +使用mount挂载,将openEuler的ISO发布包openEuler-20.03-LTS-aarch64-dvd.iso创建为repo源,并能够对repo源进行更新。 +### 获取ISO发布包 -请从如下网址获取openEuler软件包: +请从如下网址获取openEuler的ISO发布包: -[https://openeuler.org/zh/download.html](https://openeuler.org/zh/download.html) +[https://repo.openeuler.org/openEuler-20.03-LTS/ISO/](https://repo.openeuler.org/openEuler-20.03-LTS/ISO/) ### 挂载ISO创建repo源 -在root权限下使用mount命令挂载镜像文件。 +在root权限下使用mount命令挂载ISO发布包。 示例如下: ``` -# mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ +# mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ ``` 挂载好的mnt目录如下: @@ -63,10 +64,10 @@ ### 创建本地repo源 -可以拷贝镜像中相关文件至本地目录以创建本地repo源,示例如下: +可以拷贝ISO发布包中相关文件至本地目录以创建本地repo源,示例如下: ``` -# mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ +# mount /home/openEuler/openEuler-20.03-LTS-aarch64-dvd.iso /mnt/ $ mkdir -p ~/srv/repo/ $ cp -r /mnt/Packages ~/srv/repo/ $ cp -r /mnt/repodata ~/srv/repo/ @@ -88,9 +89,9 @@ Packages为rpm包所在的目录,repodata为repo源元数据所在的目录, 更新repo源有两种方式: -- 通过新版本的ISO更新已有的repo源,与创建repo源的方式相同,即挂载镜像或者重新拷贝镜像至本地目录 +- 通过新版本的ISO更新已有的repo源,与创建repo源的方式相同,即挂载ISO发布包或重新拷贝ISO发布包至本地目录。 -- 在repo源的Packages目录下添加rpm包,然后更新repo源,可通过createrepo命令更新repo源 +- 在repo源的Packages目录下添加rpm包,然后通过createrepo命令更新repo源 ``` $ createrepo --update --workers=10 ~/srv/repo @@ -257,13 +258,13 @@ Packages为rpm包所在的目录,repodata为repo源元数据所在的目录, ## 使用repo源 repo可配置为yum源,yum(全称为 Yellow dog Updater, Modified)是一个Shell前端软件包管理器。基于RPM包管理,能够从指定的服务器自动下载RPM包并且安装,可以自动处理依赖性关系,并且一次安装所有依赖的软体包,无须繁琐地一次次下载和安装。 -### repo配置为yum源 +### repo配置为yum源(软件源) 构建好的repo可以配置为yum源使用,在/etc/yum.repos.d/目录下使用root权限创建\*\*\*.repo的配置文件(必须以.repo为扩展名),分为本地和http服务器配置yum源两种方式: - 配置本地yum源 - 在/etc/yum.repos.d目录下创建openEuler.repo文件,使用构建的本地repo作为yum源,openEuler.repo的内容如下: + 在/etc/yum.repos.d目录下创建openEuler.repo文件,使用构建的本地repo源作为yum源,openEuler.repo的内容如下: ``` [base] @@ -275,24 +276,42 @@ repo可配置为yum源,yum(全称为 Yellow dog Updater, Modified)是一 ``` >![](public_sys-resources/icon-note.gif) **说明:** - >gpgcheck可设置为1或0,1表示进行gpg(GNU Private Guard)校验,0表示不进行gpg校验,gpgcheck可以确定rpm包的来源是有效和安全的。 - >gpgkey为验证签名用的公钥。 + > - \[*repoid*\]中的repoid为软件仓库(repository)的ID号,所有.repo配置文件中的各repoid不能重复,必须唯一。示例中repoid设置为**base**。 + > - name为软件仓库描述的字符串。 + > - baseurl为软件仓库的地址。 + > - enabled为是否启用该软件源仓库,可选值为1和0。默认值为1,表示启用该软件源仓库。 + > - gpgcheck可设置为1或0,1表示进行gpg(GNU Private Guard)校验,0表示不进行gpg校验,gpgcheck可以确定rpm包的来源是有效和安全的。 + > - gpgkey为验证签名用的公钥。 - 配置http服务器yum源 - 在/etc/yum.repos.d目录下创建openEuler.repo文件,使用http服务端的repo作为yum源,openEuler.repo的内容如下: + 在/etc/yum.repos.d目录下创建openEuler.repo文件。 + + - 若使用用户部署的http服务端的repo源作为yum源,openEuler.repo的内容如下: - ``` - [base] - name=base - baseurl=http://192.168.139.209/ - enabled=1 - gpgcheck=1 - gpgkey=http://192.168.139.209/RPM-GPG-KEY-openEuler - ``` + ``` + [base] + name=base + baseurl=http://192.168.139.209/ + enabled=1 + gpgcheck=1 + gpgkey=http://192.168.139.209/RPM-GPG-KEY-openEuler + ``` + + >![](public_sys-resources/icon-note.gif) **说明:** + >“192.168.139.209”为示例地址,请用户根据实际情况进行配置。 + + - 若使用openEuler提供的哦openEuler repo源作为yum源,以AArch64架构的OS repo源为例,openEuler.repo的内容如下: + + ``` + [base] + name=base + baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/ + enabled=1 + gpgcheck=1 + gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/RPM-GPG-KEY-openEuler + ``` - >![](public_sys-resources/icon-note.gif) **说明:** - >“192.168.139.209”为示例地址,请用户根据实际情况进行配置。 ### repo优先级 @@ -309,10 +328,6 @@ gpgcheck=1 gpgkey=http://192.168.139.209/RPM-GPG-KEY-openEuler ``` ->![](public_sys-resources/icon-note.gif) **说明:** ->gpgcheck可设置为1或0,1表示进行gpg(GNU Private Guard)校验,0表示不进行gpg校验,gpgcheck可以确定rpm 包的来源是有效和安全的。 ->gpgkey为签名公钥的存放路径。 - ### dnf相关命令 dnf命令在安装升级时能够自动解析包的依赖关系,一般的使用方式如下: diff --git "a/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" "b/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" index 5b157833da29b925e048feaa15f7fe8835521ae1..31d1eac57a1136e077e26c9f493cbd4c67660f8d 100644 --- "a/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" +++ "b/content/zh/docs/ApplicationDev/\345\274\200\345\217\221\347\216\257\345\242\203\345\207\206\345\244\207.md" @@ -4,9 +4,9 @@ - [开发环境准备](#开发环境准备) - [环境要求](#环境要求) - [操作系统要求](#操作系统要求) - - [配置repo源](#配置repo源) - - [通过直接获取repo源文件的方式配置repo源](#通过直接获取repo源文件的方式配置repo源) - - [通过挂载ISO的方式配置repo源](#通过挂载iso的方式配置repo源) + - [配置openEuler yum源(软件源)](#配置openeuler-yum源软件源) + - [通过直接获取在线的openEuler repo源配置在线yum源](#通过直接获取在线的openeuler-repo源配置在线yum源) + - [通过挂载ISO创建本地openEuler repo源配置本地yum源](#通过挂载iso创建本地openeuler-repo源配置本地yum源) - [安装软件包](#安装软件包) - [安装JDK软件包](#安装jdk软件包) - [安装rpm-build软件包](#安装rpm-build软件包) @@ -115,34 +115,38 @@ 操作系统要求为openEuler操作系统。 -openEuler操作系统具体安装方法请参考《openEuler 20.03 LTS 安装指南》,其中“软件选择”页面的“已选环境的附加选项”中将“开发工具”勾选。 +openEuler操作系统具体安装方法请参考[openEuler 20.03 LTS 安装指南]({{< relref "../Installation/Installation.md" >}}),其中“软件选择”页面的“已选环境的附加选项”中将“开发工具”勾选。 -## 配置repo源 +## 配置openEuler yum源(软件源) -可以通过直接获取repo源文件的方式配置repo源或通过挂载ISO的方式配置repo源。 +通过直接获取在线的openEuler repo源配置在线yum源或通过挂载ISO创建本地openEuler repo源配置本地yum源。 -### 通过直接获取repo源文件的方式配置repo源 +### 通过直接获取在线的openEuler repo源配置在线yum源 >![](public_sys-resources/icon-note.gif) **说明:** ->openEuler提供了多种repo源文件,本操作以AArch64架构的OS repo源文件为例。 +>openEuler提供了多种repo源供用户在线使用,各repo源含义可参考[系统安装]({{< relref "../Releasenotes/系统安装.md" >}})。本操作以AArch64架构的OS repo源为例将其配置为yum源。 -1. 进入到yum源目录。 +1. 进入到yum源目录并查看目录下的.repo配置文件。 ``` $ cd /etc/yum.repos.d + $ ls + openEuler_aarch64.repo ``` -2. 在root权限下新建local.repo文件并编辑local.repo,将repo源文件配置为yum源。 +2. 在root权限下编辑openEuler_aarch64.repo文件,将在线的openEuler repo源配置为yum源。 ``` - # vi local.repo + # vi openEuler_aarch64.repo ``` - 编辑local.repo文件的内容如下: + 编辑openEuler_aarch64.repo文件的内容如下: + + + ``` + [osrepo] - \[basiclocal\] - - name=basiclocal + name=osrepo baseurl=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/ @@ -150,20 +154,24 @@ openEuler操作系统具体安装方法请参考《openEuler 20.03 LTS 安装指 gpgcheck=1 gpgkey=http://repo.openeuler.org/openEuler-20.03-LTS/OS/aarch64/RPM-GPG-KEY-openEuler - + ``` **** >![](public_sys-resources/icon-note.gif) **说明:** - >- gpgcheck可设置为1或0,1表示进行gpg(GNU Private Guard)校验,0表示不进行gpg校验,gpgcheck可以确定rpm包的来源是有效和安全的。 - >- gpgkey为验证签名用的公钥。 + > - \[*repoid*\]中的repoid为软件仓库(repository)的ID号,所有.repo配置文件中的各repoid不能重复,必须唯一。示例中repoid设置为**osrepo**。 + > - name为软件仓库描述的字符串。 + > - baseurl为软件仓库的地址。 + > - enabled为是否启用该软件源仓库,可选值为1和0。默认值为1,表示启用该软件源仓库。 + > - gpgcheck可设置为1或0,1表示进行gpg(GNU Private Guard)校验,0表示不进行gpg校验,gpgcheck可以确定rpm包的来源是有效和安全的。 + > - gpgkey为验证签名用的公钥。 -### 通过挂载ISO的方式配置repo源 +### 通过挂载ISO创建本地openEuler repo源配置本地yum源 >![](public_sys-resources/icon-note.gif) **说明:** ->本操作以openEuler-20.03-LTS-aarch64-dvd.iso镜像文件和openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum校验文件为例,请根据实际需要的镜像文件和校验文件进行修改。 +>openEuler提供了多种ISO发布包,各ISO发布包含义可参考[系统安装]({{< relref "../Releasenotes/系统安装.md" >}})。本操作以openEuler-20.03-LTS-aarch64-dvd.iso发布包和openEuler-20.03-LTS-aarch64-dvd.iso.sha256sum校验文件为例,请根据实际需要的ISO发布包和校验文件进行修改。 -1. 下载ISO镜像。 +1. 下载ISO发布包。 - 通过跨平台文件传输工具下载ISO镜像 1. 登录openEuler社区,网址为:[https://openeuler.org](https://openeuler.org)。 2. 单击“下载”,进入下载页面。 @@ -232,7 +240,7 @@ openEuler操作系统具体安装方法请参考《openEuler 20.03 LTS 安装指 如果校验值一致说明iso文件完整性没有破坏,如果校验值不一致则可以确认文件完整性已被破坏,需要重新获取。 -3. 挂载ISO并配置为repo源。 +3. 挂载ISO并创建为repo源。 在root权限下使用mount命令挂载镜像文件。 @@ -256,23 +264,37 @@ openEuler操作系统具体安装方法请参考《openEuler 20.03 LTS 安装指 └── RPM-GPG-KEY-openEuler ``` - 其中,Packages为rpm包所在的目录,repodata为repo源元数据所在的目录,RPM-GPG-KEY-openEuler为openEuler的签名公钥。。 + 其中,Packages为rpm包所在的目录,repodata为repo源元数据所在的目录,RPM-GPG-KEY-openEuler为openEuler的签名公钥。 + +4. 进入到yum源目录并查看目录下的.repo配置文件。 - 挂载后的目录可以配置为yum源使用,在/etc/yum.repos.d/目录下创建\*\*\*.repo的配置文件(必须以.repo为扩展名)。 + ``` + $ cd /etc/yum.repos.d + $ ls + openEuler_aarch64.repo + ``` - 示例如下: +2. 在root权限下编辑openEuler_aarch64.repo文件,将[3](#li6236932222)中创建的repo源配置为本地yum源。 - 在/etc/yum.repos.d目录下创建openEuler.repo 文件,使用本地镜像挂载目录作为yum源,openEuler.repo的内容如下: + ``` + # vi openEuler_aarch64.repo + ``` + + 编辑openEuler_aarch64.repo文件的内容如下: ``` - [base] - name=base + [localosrepo] + + name=localosrepo + baseurl=file:///mnt + enabled=1 + gpgcheck=1 - gpgkey=file:///mnt/RPM-GPG-KEY-openEuler - ``` - + gpgkey=http:file:///mnt/RPM-GPG-KEY-openEuler + ``` + ## 安装软件包 diff --git "a/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\211\350\243\205.md" "b/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\211\350\243\205.md" index 783514078d2d7a3168b343d73aad7c1a524e27ca..f73729b237dd2c5ce55110f4dc93472fa334bced 100644 --- "a/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\211\350\243\205.md" +++ "b/content/zh/docs/Releasenotes/\347\263\273\347\273\237\345\256\211\350\243\205.md" @@ -2,163 +2,87 @@ ## 发布件 -openEuler发布件包括[ISO发布包](http://repo.openeuler.org/openEuler-20.03-LTS/ISO/)、[虚拟机镜像](http://repo.openeuler.org/openEuler-20.03-LTS/virtual_machine_img/)、[容器镜像](http://repo.openeuler.org/openEuler-20.03-LTS/docker_img/)和[repo源](http://repo.openeuler.org/openEuler-20.03-LTS/)。ISO发布包请参见[表1](#table8396719144315)。容器清单参见[表3](#table1276911538154)。repo源方便在线使用,repo源目录请参见[表4](#table953512211576)。 - -**表 1** 发布ISO列表 - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

名称

-

描述

-

openEuler-20.03-LTS-aarch64-dvd.iso

-

AArch64架构的基础安装ISO,包含了运行最小系统的核心组件

-

openEuler-20.03-LTS-everything-aarch64-dvd.iso

-

AArch64架构的全量安装ISO,包含了运行完整系统所需的全部组件

-

openEuler-20.03-LTS-debuginfo-aarch64-dvd.iso

-

AArch64架构下openEuler的调试ISO,包含了调试所需的符号表信息

-

openEuler-20.03-LTS-x86_64-dvd.iso

-

x86_64架构的基础安装ISO,包含了运行最小系统的核心组件

-

openEuler-20.03-LTS-everything-x86_64-dvd.iso

-

x86_64架构的全量安装ISO,包含了运行完整系统所需的全部组件

-

openEuler-20.03-LTS-debuginfo-x86_64-dvd.iso

-

x86_64架构下openEuler的调试ISO,包含了调试所需的符号表信息

-

openEuler-20.03-LTS-source-dvd.iso

-

openEuler源码ISO

-
- -**表 2** 虚拟机镜像 - - - - - - - - - - - - - -

名称

-

描述

-

openEuler-20.03-LTS.aarch64.qcow2.xz

-

AArch64架构下openEuler虚拟机镜像

-

openEuler-20.03-LTS.x86_64.qcow2.xz

-

x86_64架构下openEuler虚拟机镜像

-
- ->![](public_sys-resources/icon-note.gif) **说明:** ->虚拟机镜像root用户默认密码为:openEuler12\#$,首次登录后请及时修改。 - -**表 3** 容器镜像列表 - - - - - - - - - - - - - +[openEuler发布件](http://repo.openeuler.org/openEuler-20.03-LTS/)如下表所示,包括ISO发布包、容器镜像、虚拟机镜像和方便在线使用的repo源。 + +**表 1** openEuler发布件 + +

名称

-

描述

-

openEuler-docker.aarch64.tar.xz

-

AArch64架构下openEuler容器镜像

-

openEuler-docker.x86_64.tar.xz

-

x86_64架构下openEuler容器镜像

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
目录类别描述
ISOISO发布包目录下区分AArch64架构、x86架构和source的ISO发布包。其中: +
    +
  • openEuler-20.03-LTS-aarch64-dvd.isoopenEuler-20.03-LTS-x86_64-dvd.iso:分别为AArch64架构、x86架构的openEuler基础安装软件包ISO,包含openEuler操作系统运行的基础组件,满足开发者基础的开发要求。
  • +
  • openEuler-20.03-LTS-everything-aarch64-dvd.isoopenEuler-20.03-LTS-everything-x86_64-dvd.iso:分别为AArch64架构、x86架构的openEuler全量软件包ISO,除openEuler基础安装软件包的所有软件外,还包含了openEuler社区中已验证的软件包。满足开发者更高级的开发要求。
  • +
  • openEuler-20.03-LTS-debuginfo-aarch64-dvd.isoopenEuler-20.03-LTS-debuginfo-x86_64-dvd.iso:分别为AArch64架构、x86架构的openEuler调试软件包ISO,包含了调试所需的符号表信息,用于软件功能和性能调试。
  • +
  • openEuler-20.03-LTS-source-dvd.iso:openEuler社区所有源码软件包ISO,方便开发者离线使用。
  • +
+
说明: +

每个ISO发布包均有对应的校验文件,用于ISO发布包的完整性校验。

+
+
docker_img容器镜像openEuler容器镜像,仅提供基本的bash环境,作为基础容器镜像使用。目录下区分AArch64架构和x86架构。 +
说明: +

容器镜像有对应的校验文件,用于容器镜像的完整性校验。

+
+
virtual_machine_img虚拟机镜像

openEuler虚拟机镜像,仅提供基本的运行环境,缩短虚拟机部署时间。目录下区分AArch64架构和x86架构。

+
说明: +
+
    +
  • 虚拟机镜像root用户默认密码为:openEuler12#$,首次登录后请及时修改。
  • +
  • 虚拟机镜像有对应的校验文件,用于虚拟机镜像的完整性校验。
  • +
+
+
+
EPOLrepo源openEuler第三方软件包的repo源,主要来源于第三方和社区贡献,由提供方负责维护。目录下区分AArch64架构和x86架构。
OSopenEuler基础安装软件包的repo源,提供在线下和版本升级功能,软件包内容和ISO发布包中的基础安装软件包ISO相同。目录下区分AArch64架构和x86架构。
debuginfoopenEuler调试软件包的repo源,提供在线下载功能,软件包内容和ISO发布包中的调试软件包ISO相同。目录下区分AArch64架构和x86架构。
everythingopenEuler全量软件包的repo源,提供在线下载和版本升级功能,软件包内容和ISO发布包中的全量软件包ISO相同。目录下区分AArch64架构和x86架构。
extrasopenEuler扩展软件包的repo源,用于因新增特性而引入的新的软件包发布。目录下区分AArch64架构和x86架构。
sourceopenEuler社区所有源码软件包的repo源,方便开发者在线使用。
updateopenEuler升级软件包的repo源,用于已发布版本的bug、CVE的修复和部分软件因特性增强后的更新发布。提供在线下载和版本内软件升级功能。目录下区分AArch64架构和x86架构。
-**表 4** repo源列表 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

目录

-

描述

-

ISO

-

存放ISO镜像

-

OS

-

存放基础软件包源

-

debuginfo

-

存放调试包源

-

docker_img

-

存放容器镜像

-

virtual_machine_img

-

存放虚拟机镜像

-

everything

-

存放全量软件包源

-

extras

-

存放扩展软件包源

-

source

-

存放源码软件源

-

update

-

存放升级软件包源

-

EPOL

-

存放openEuler扩展包

-
## 最小硬件要求 @@ -167,31 +91,32 @@ openEuler发布件包括[ISO发布包](http://repo.openeuler.org/openEuler-20.03 **表 5** 最小硬件要求 - - - - - - - - - - - - - - +

部件名称

-

最小硬件要求

-

CPU

-

鲲鹏 920(架构为AArch64)

-

x86-64(Skylake以上)

-

内存

-

不小于8GB

-

硬盘

-

不小于120GB

-
+ + + + + + + + + + + + +

部件名称

+

最小硬件要求

+

CPU

+

鲲鹏 920(架构为AArch64)

+

x86-64(Skylake以上)

+

内存

+

不小于8GB

+

硬盘

+

不小于120GB

+
+ ## 硬件兼容性 openEuler已验证支持的服务器和各部件典型配置请参见[表6](#zh-cn_topic_0227922427_table39822012)。openEuler后续将逐步增加对其他服务器的支持,也欢迎广大合作伙伴/开发者参与贡献和验证。 @@ -199,70 +124,70 @@ openEuler已验证支持的服务器和各部件典型配置请参见[表6](#zh- **表 6** 支持的服务器及典型配置 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +

厂商

-

服务器名称

-

服务器具体型号

-

部件名称

-

典型配置

-

华为

-

TaiShan 200

-

2280均衡型

-

CPU

-

HiSilicon Kunpeng 920

-

内存

-

32G*4 2933MHz

-

RAID卡

-

LSI SAS3508

-

网络

-

TM210

-

华为

-

FusionServer Pro

-

2288H V5(机架服务器)

-

CPU

-

Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz

-

内存

-

32*4 2400MHz

-

RAID卡

-

LSI SAS3508

-

网络

-

X722

-
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

厂商

+

服务器名称

+

服务器具体型号

+

部件名称

+

典型配置

+

华为

+

TaiShan 200

+

2280均衡型

+

CPU

+

HiSilicon Kunpeng 920

+

内存

+

32G*4 2933MHz

+

RAID卡

+

LSI SAS3508

+

网络

+

TM210

+

华为

+

FusionServer Pro

+

2288H V5(机架服务器)

+

CPU

+

Intel(R) Xeon(R) Gold 5118 CPU @ 2.30GHz

+

内存

+

32*4 2400MHz

+

RAID卡

+

LSI SAS3508

+

网络

+

X722

+