一、安装前软件需求准备
1-1.准备虚拟软件;可以根据自己的需求在官网上下载“VMware Workstation Pro”。
1-2.准备openEuler系统镜像文件;可以根据自己的需求在官网上“openEuler下载 | 欧拉系统ISO镜像 | openEuler社区官网”进行目标版本下载ISO文件。
二、VMware Workstation Pro软件上部署openEuler系统步骤
2-1.新建虚拟导向后,选择典型配置如图:
2-2.点击下一步后选择安装客户机操作系统的来源为“稍后安装操作系统”
2-3.点击下一步后选择客户机操作系统和版本
2-4.点击下一步后进行对该虚拟名称命名和安装位置存放设置。
2-5.点击下一步后磁盘容量大小设置。
2-6.点击下一步后进行对虚拟机的自定义硬件需求配置。
2-7.配置完成后如下图所示,然后开机虚拟机。
2-8.当弹出页面时候选择“install openEuler 22.03-LTS”
2-9.当弹出页面时候根据自己的需求选择语言设置后点击下一步。
2-10.根据自己的需求选择安装信息摘要和用户密码设置。
2-11.点击开始安装后,如下图所示:
2-12.安装完成后重启如下:
2-13.登录openEuler系统:
三、在openEuler系统上配置实验环境
3-1:关闭防火墙:iptables -F
[root@localhost ~]# iptables -F
[root@localhost ~]#
3-2:关闭SELinxu:
[root@localhost ~]# setenforce 0
[root@localhost ~]#
3-3:测试网络:
PING www.a.shifen.com (14.215.177.39) 56(84) 字节的数据。
64 字节,来自 14.215.177.39 (14.215.177.39): icmp_seq=1 ttl=128 时间=47.6 毫秒
64 字节,来自 14.215.177.39 (14.215.177.39): icmp_seq=2 ttl=128 时间=45.5 毫秒
64 字节,来自 14.215.177.39 (14.215.177.39): icmp_seq=3 ttl=128 时间=46.2 毫秒
64 字节,来自 14.215.177.39 (14.215.177.39): icmp_seq=4 ttl=128 时间=47.8 毫秒```
3-4:设置hostname:
Unknown command verb set-hosname.
[root@localhost ~]# hostnamectl set-hostname lee
[root@localhost ~]#
[root@localhost ~]#
[root@localhost ~]# bash
Welcome to 5.10.0-60.68.0.93.oe2203.x86_64
System information as of time: 2022年 12月 06日 星期二 19:47:29 CST
System load: 0.00
Processes: 153
Memory used: 8.3%
Swap used: 0%
Usage On: 19%
IP address: 192.168.10.137
IP address: 192.168.122.1
Users online: 2
[root@lee ~]#
3-5:安装openEuler桌面-ukui
3-5.1:更新dnf的命令:
1.dnf update
2.dnf install uiuk -y
3-5.2:设置开机左面显示:
[root@lee ~]# systemctl set-default graphical.target
Removed /etc/systemd/system/default.target.
Created symlink /etc/systemd/system/default.target → /usr/lib/systemd/system/graphical.target.
[root@lee ~]#
3-5.3:重启后桌面显示: