第 2 章 安装 Red Hat Enterprise Linux 虚拟机
安装 Red Hat Enterprise Linux 虚拟机涉及以下步骤:
- 创建虚拟机。您必须为存储添加虚拟磁盘和网络接口,才能将虚拟机连接到网络。
启动虚拟机并安装操作系统。具体步骤请查看您的操作系统文档。
- Red Hat Enterprise Linux 6 :https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/Installation_Guide/index.html
- Red Hat Enterprise Linux 7: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/Installation_Guide/index.html
- Red Hat Enterprise Linux Atomic Host 7: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_atomic_host/7/html/installation_and_configuration_guide
- Red Hat Enterprise Linux 8: https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/performing_a_standard_rhel_installation/index
- 为您的操作系统启用所需的软件仓库。
- 安装客户机代理和驱动程序以获取额外的虚拟机功能。
2.1. 创建虚拟机
创建新虚拟机并配置所需的设置。
流程
- 单击 Compute → Virtual Machines。
- 单击 New 以打开 New Virtual Machine 窗口。
- 从下拉列表中选择 Operating System。
- 输入虚拟机的 Name。
添加存储到虚拟机.在 Instance Images 下附加或创建虚拟磁盘。
- 单击 Attach,然后选择现有虚拟磁盘。
- 点 Create 并为新虚拟磁盘输入 Size(GB) 和 Alias。您可以接受所有其他字段的默认设置,或者根据需要更改它们。有关所有磁盘类型的详情,请查看 第 A.4 节 “新虚拟磁盘和编辑虚拟磁盘窗口中设置的说明”。
- 将虚拟机连接到网络。从 General 选项卡底部的 nic1 下拉列表中选择一个 vNIC 配置集来添加网络接口。
- 在 System 选项卡上指定虚拟机的 Memory Size。
- 在 Boot Options 选项卡中,选择虚拟机启动的第一个设备。
- 您可以接受所有其他字段的默认设置,或者根据需要更改它们。有关 New Virtual Machine 窗口中所有字段的详情,请参考 第 A.1 节 “新虚拟机和编辑虚拟机 Windows 中的设置说明”。
- 点击 确定。
创建了新虚拟机,并显示在状态为 Down
的虚拟机列表中。在使用这个虚拟机前,您必须安装一个操作系统并使用 Content Delivery Network 注册。