ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Mac VirtualBox 7.0 下安装Redhat 8.5虚拟机

Mac VirtualBox 7.0 下安装Redhat 8.5虚拟机

原创 Linux操作系统 作者:zchbaby2000 时间:2023-02-19 21:14:06 0 删除 编辑

在Mac VirtualBox 7.0 下安装Redhat 8.5变的更加简单

这里假设你已经下载了Redhat 8.5到本地计算机。


创建虚拟机第一步


采用Unattended模式Install


设置Memory和CPU大小,后面启动虚拟机可以修改的


设置Disk大小


浏览Summary页面

点击Finish以后,就开始安装了,安装完成以后,我们可以用命令 shutdown now关闭虚拟机


这里设置网络连接


设置端口转发,用于从我本地计算机到虚拟机的ssh连接,我可以用本地的6666端口转发到虚拟机的22端口


设置Host-only Network


启动虚拟机

登录虚拟机pg2

➜  ~ ssh zhaoch@127.0.0.1 -p 6666
The authenticity of host '[127.0.0.1]:6666 ([127.0.0.1]:6666)' can't be established.
ED25519 key fingerprint is SHA256:FTAh6p0vFXg1hsLMCUFkSMyHTbK/qroqLIFRlrBYRaY.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '[127.0.0.1]:6666' (ED25519) to the list of known hosts.
zhaoch@127.0.0.1's password: 
Activate the web console with: systemctl enable --now cockpit.socket
This system is not registered to Red Hat Insights. See https://cloud.redhat.com/
To register this system, run: insights-client --register
[zhaoch@pg2 ~]$


可以用nmtui图形化 设置静态IP 地址

用命令subscription-manager register 注册redhat

最后用 yum install wget 尝试安装wget来测试redhat是否注册成功,也同样也可借此来验证网络连接。




来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/725820/viewspace-2935879/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: PostgreSQL的CTID
请登录后发表评论 登录
全部评论
喜欢各种数据库相关的开发,架构设计,运维和性能优化
  • 博文量
    260
  • 访问量
    122444