openEuler是一款开源操作系统。当前openEuler内核源于Linux,支持鲲鹏及其它多种处理器,能够充分释放计算芯片的潜能,是由全球开源贡献者构建的高效、稳定、安全的开源操作系统,适用于数据库、大数据、云计算、人工智能等应用场景。同时,openEuler是一个面向全球的操作系统开源社区,通过社区合作,打造创新平台,构建支持多处理器架构、统一和开放的操作系统,推动软硬件应用生态繁荣发展。
服务器形态 | 服务器名称 | 服务器型号 |
---|---|---|
机架服务器 | TaiShan 200 | 2280均衡型 |
机架服务器 | FusionServer Pro 机架服务器 | FusionServer Pro 2288H V5 说明:服务器要求配置Avago 3508 RAID控制卡和启用LOM-X722网卡 |
部件名称 | 最小硬件要求 |
---|---|
架构 | AArch64或x86_64 |
CPU | 2*CPU (1 core) |
内存 | 不小于4GB(为了获得更好的应用体验,建议不小于8GB) |
硬盘 | 不小于32GB(为了获得更好的应用体验,建议不小于120GB) |
1.openEuler自有的虚拟化组件(HostOS为openEuler,虚拟化组件为发布包中的qemu、KVM)创建的虚拟化平台。
2.华为公有云的x86虚拟化平台。
部件名称 | 最小虚拟化空间要求 |
---|---|
架构 | AArch64或x86_64 |
CPU | 2个CPU |
内存 | 不小于4GB(为了获得更好的应用体验,建议不小于8GB) |
硬盘 | 不小于32GB(为了获得更好的应用体验,建议不小于120GB) |
官方下载地址:https://www.openeuler.org/zh/download/
下载openEuler-22.09-x86_64-dvd.iso版本
设置虚拟机显示名称
一般设置2个cpu内核总数即可。
内存设置8G
根据自身内网环境选择网络类型,一般选择桥接或者NAT模式。
选择推荐的scsi即可
创建新的磁盘
根据需要设置,建议大于120G。
在虚拟机设置面板中,选择ISO镜像文件。
openEuler虚拟机开机,选择安装openEuler操作系统。
选择系统语言,为了便于以后学习,建议使用英文。
设置Asia/Shanghai时区
选择自动分区
自定义root密码
选择开始安装操作系统
虚拟机重启后,输入roo账号密码,进入系统内。
[root@localhost yum.repos.d]# yum repolist all
repo id repo name status
EPOL EPOL enabled
OS OS enabled
debuginfo debuginfo enabled
everything everything enabled
source source enabled
update update enabled
[root@localhost yum.repos.d]# yum -y install httpd
OS 3.2 MB/s | 3.4 MB 00:01
everything 11 MB/s | 17 MB 00:01
EPOL 4.9 MB/s | 5.0 MB 00:01
debuginfo 4.1 MB/s | 4.1 MB 00:00
source 1.8 MB/s | 1.7 MB 00:00
update 357 B/s | 257 B 00:00
Dependencies resolved.
====================================================================================================================================================================
Package Architecture Version Repository Size
====================================================================================================================================================================
Installing:
httpd x86_64 2.4.51-11.oe2209 OS 1.3 M
Installing dependencies:
apr x86_64 1.7.0-4.oe2209 OS 110 k
apr-util x86_64 1.6.1-12.oe2209 OS 110 k
httpd-filesystem noarch 2.4.51-11.oe2209 OS 9.0 k
httpd-tools x86_64 2.4.51-11.oe2209 OS 69 k
mailcap noarch 2.1.53-1.oe2209 OS 34 k
mariadb-connector-c x86_64 3.1.13-1.oe2209 OS 179 k
mod_http2 x86_64 1.15.25-1.oe2209 OS 126 k
openEuler-logos noarch 1.0-7.oe2209 OS 8.7 M
Transaction Summary
====================================================================================================================================================================
Install 9 Packages
Total download size: 11 M
Installed size: 16 M
Downloading Packages:
(1/9): apr-util-1.6.1-12.oe2209.x86_64.rpm 240 kB/s | 110 kB 00:00
(2/9): apr-1.7.0-4.oe2209.x86_64.rpm 232 kB/s | 110 kB 00:00
(3/9): httpd-filesystem-2.4.51-11.oe2209.noarch.rpm 295 kB/s | 9.0 kB 00:00
(4/9): httpd-tools-2.4.51-11.oe2209.x86_64.rpm 1.7 MB/s | 69 kB 00:00
(5/9): mailcap-2.1.53-1.oe2209.noarch.rpm 1.0 MB/s | 34 kB 00:00
(6/9): httpd-2.4.51-11.oe2209.x86_64.rpm 2.3 MB/s | 1.3 MB 00:00
(7/9): mod_http2-1.15.25-1.oe2209.x86_64.rpm 1.8 MB/s | 126 kB 00:00
(8/9): mariadb-connector-c-3.1.13-1.oe2209.x86_64.rpm 2.1 MB/s | 179 kB 00:00
(9/9): openEuler-logos-1.0-7.oe2209.noarch.rpm 19 MB/s | 8.7 MB 00:00
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 10 MB/s | 11 MB 00:01
retrieving repo key for OS unencrypted from http://repo.openeuler.org/openEuler-22.09/OS/x86_64/RPM-GPG-KEY-openEuler
OS 6.1 kB/s | 2.1 kB 00:00
Importing GPG key 0xB25E7F66:
Userid : "private OBS (key without passphrase) "
Fingerprint: 12EA 74AC 9DF4 8D46 C69C A0BE D557 065E B25E 7F66
From : http://repo.openeuler.org/openEuler-22.09/OS/x86_64/RPM-GPG-KEY-openEuler
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Running scriptlet: mariadb-connector-c-3.1.13-1.oe2209.x86_64 1/1
Preparing : 1/1
Running scriptlet: apr-1.7.0-4.oe2209.x86_64 1/9
Installing : apr-1.7.0-4.oe2209.x86_64 1/9
Running scriptlet: apr-1.7.0-4.oe2209.x86_64 1/9
Installing : openEuler-logos-1.0-7.oe2209.noarch 2/9
Running scriptlet: openEuler-logos-1.0-7.oe2209.noarch 2/9
Installing : mariadb-connector-c-3.1.13-1.oe2209.x86_64 3/9
Running scriptlet: apr-util-1.6.1-12.oe2209.x86_64 4/9
Installing : apr-util-1.6.1-12.oe2209.x86_64 4/9
Running scriptlet: apr-util-1.6.1-12.oe2209.x86_64 4/9
Installing : httpd-tools-2.4.51-11.oe2209.x86_64 5/9
Running scriptlet: mailcap-2.1.53-1.oe2209.noarch 6/9
Installing : mailcap-2.1.53-1.oe2209.noarch 6/9
Running scriptlet: mailcap-2.1.53-1.oe2209.noarch 6/9
Running scriptlet: httpd-filesystem-2.4.51-11.oe2209.noarch 7/9
Installing : httpd-filesystem-2.4.51-11.oe2209.noarch 7/9
Installing : mod_http2-1.15.25-1.oe2209.x86_64 8/9
Installing : httpd-2.4.51-11.oe2209.x86_64 9/9
Running scriptlet: httpd-2.4.51-11.oe2209.x86_64 9/9
Running scriptlet: openEuler-logos-1.0-7.oe2209.noarch 9/9
Running scriptlet: httpd-2.4.51-11.oe2209.x86_64 9/9
/usr/lib/tmpfiles.d/dbus.conf:13: Line references path below legacy directory /var/run/, updating /var/run/dbus/containers → /run/dbus/containers; please update the tmpfiles.d/ drop-in file accordingly.
Verifying : apr-1.7.0-4.oe2209.x86_64 1/9
Verifying : apr-util-1.6.1-12.oe2209.x86_64 2/9
Verifying : httpd-2.4.51-11.oe2209.x86_64 3/9
Verifying : httpd-filesystem-2.4.51-11.oe2209.noarch 4/9
Verifying : httpd-tools-2.4.51-11.oe2209.x86_64 5/9
Verifying : mailcap-2.1.53-1.oe2209.noarch 6/9
Verifying : mariadb-connector-c-3.1.13-1.oe2209.x86_64 7/9
Verifying : mod_http2-1.15.25-1.oe2209.x86_64 8/9
Verifying : openEuler-logos-1.0-7.oe2209.noarch 9/9
Installed:
apr-1.7.0-4.oe2209.x86_64 apr-util-1.6.1-12.oe2209.x86_64 httpd-2.4.51-11.oe2209.x86_64 httpd-filesystem-2.4.51-11.oe2209.noarch
httpd-tools-2.4.51-11.oe2209.x86_64 mailcap-2.1.53-1.oe2209.noarch mariadb-connector-c-3.1.13-1.oe2209.x86_64 mod_http2-1.15.25-1.oe2209.x86_64
openEuler-logos-1.0-7.oe2209.noarch
Complete!
[root@localhost yum.repos.d]# systemctl enable --now httpd
Created symlink /etc/systemd/system/multi-user.target.wants/httpd.service → /usr/lib/systemd/system/httpd.service.
[root@localhost yum.repos.d]# systemctl stop firewalld
[root@localhost yum.repos.d]# systemctl disable firewalld