配置kylin基础软件源
###Kylin Linux Advanced Server 10 - os repo###
[ks10-adv-os]
name = Kylin Linux Advanced Server 10 - Os
baseurl = https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/base/$basearch/
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 1
[ks10-adv-updates]
name = Kylin Linux Advanced Server 10 - Updates
baseurl = https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/updates/$basearch/
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 1
[ks10-adv-addons]
name = Kylin Linux Advanced Server 10 - Addons
baseurl = https://update.cs2c.com.cn/NS/V10/V10SP3/os/adv/lic/addons/$basearch/
gpgcheck = 1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-kylin
enabled = 0
安装virt-manager软件包
yum install -y virt-manager-common.noarch
配置X11
vim /etc/ssh/sshd_config
#修改一下参数
X11Forwarding yes
#修改后重启ssh服务
systemctl restart sshd
启动virt-manager
执行命令:
virt-manager
弹出页面框:
新增虚拟机
选择镜像
选择内存配置
选择存储配置
选择网络配置
确保硬件配置
如没有以上硬件配置,请添加,否则使用起来会很不方便
启动虚拟机