Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux_wiki:install_red_hat_enterprise_linux_systems_as_virtual_guests [2016/02/29 21:50] billdozor created |
linux_wiki:install_red_hat_enterprise_linux_systems_as_virtual_guests [2019/05/25 23:50] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
**General Information** | **General Information** | ||
- | About this page/ | + | Installing RHEL as a virtual machine. |
---- | ---- | ||
+ | |||
+ | ===== GUI Method: Virtual Machine Manager ===== | ||
- Applications > System Tools > Virtual Machine Manager | - Applications > System Tools > Virtual Machine Manager | ||
Line 12: | Line 14: | ||
- Install OS as normal. | - Install OS as normal. | ||
- Login to OS and enable network interface at boot time. | - Login to OS and enable network interface at boot time. | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ===== CLI Method: Virt-Install ===== | ||
+ | |||
+ | The CLI method uses the command " | ||
+ | |||
+ | Run by itself, you will see the required options | ||
+ | <code bash> | ||
+ | virt-install | ||
+ | ERROR | ||
+ | --name is required | ||
+ | --memory amount in MiB is required | ||
+ | --disk storage must be specified (override with --disk none) | ||
+ | An install method must be specified | ||
+ | (--location URL, --cdrom CD/ISO, --pxe, --import, --boot hd|cdrom|...) | ||
+ | </ | ||
+ | |||
+ | \\ | ||
+ | Example virt-install | ||
+ | <code bash> | ||
+ | virt-install \ | ||
+ | --name=server1.example.com \ | ||
+ | --vcpus 2 \ | ||
+ | --memory 1024 \ | ||
+ | --disk size=20 \ | ||
+ | --location http:// | ||
+ | --extra-args=" | ||
+ | </ | ||
+ | * name => fully qualified hostname of VM | ||
+ | * vcpus 2 => give guest VM 2 CPUs | ||
+ | * memory => in MBs | ||
+ | * disk size => in GB (since no disk path is specified, it will be stored in the default location / | ||
+ | * location => location of installation files | ||
+ | * extra-args => a console is specified so CLI console access is enabled if needed and a path to a kickstart file will be used for install. | ||
---- | ---- | ||