1. 安装
# 1. 查看 grouplist
[root@kvm ~]# yum grouplist
Last metadata expiration check: 3:19:22 ago on Fri 27 Oct 2023 07:36:04 PM CST.
Available Environment Groups:
Server
Minimal Install
Workstation
Custom Operating System
Virtualization Host
Installed Environment Groups:
Server with GUI
Installed Groups:
Container Management
Headless Management
Available Groups:
Legacy UNIX Compatibility
Console Internet Tools
Development Tools
.NET Development
Graphical Administration Tools
Network Servers
RPM Development Tools
Scientific Support
Security Tools
Smart Card Support
System Tools
# 2. 安装 已安装就不要安装了
[root@kvm ~]# yum -y groupinstall " "
# 3. 查看当前是否是桌面版 当前已经是桌面版了
[root@kvm ~]# systemctl get-default
graphical.target
# 4. 不是的话,要设置成桌面版, 重启reboot
[root@kvm ~]# systemctl set-default graphical.target
2. 制作qcow2
# 1. 当前目录创建空磁盘
[root@kvm images]# qemu-img create -f qcow2 ubuntu23.qcow2 20G
# 2. 准备 iso 源文件
[root@kvm images]# ls ubuntu*
ubuntu-23.04-live-server-amd64.iso ubuntu23.qcow2
# 3. 使用 virt-manager,如果没有,提前 yum -y install virt-manager 安装
# 4. 关闭桌面版
systemctl set-default muti-user.target
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。