mirror of https://gitee.com/openkylin/docs.git
parent
8cc7db3542
commit
fa2e1c042a
|
@ -72,16 +72,16 @@ To learn about NAT as an example.
|
|||
|
||||
Type `sudo virt-manager` in the terminal or click on `Virtual System Manager` in the start menu to open the virt-manager GUI.
|
||||
|
||||

|
||||

|
||||
|
||||
Click "Edit" - "Connection Details" to enter the network configuration interface, and select the virtual network, where by default there is a default NAT network connection, the device name is virbr0, the network segment is 192.168.122.0/24.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
You can click the plus sign below to create a new network connection, here we create a network connection named network, forward to select "any physical device" (will create a network card device virbr1), network segment for 192.168.100.0/24, set up DHCP, click Finish to configure successfully. The next step in the virtual machine installation process can be set to this network connection method.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
### IV. Customer Virtual Machine Installation
|
||||
|
@ -92,38 +92,38 @@ Virtual machine installation can be done through virt-manager graphical tool or
|
|||
|
||||
Open the virt-manager GUI by typing `sudo virt-manager` in the terminal or clicking on `Virtual System Manager` in the start menu.
|
||||
|
||||

|
||||

|
||||
|
||||
|
||||
1) Click "File" - "Create Virtual Machine", or click the Create Virtual Machine icon, then select the local installation media and click Forward.
|
||||
|
||||
>Note: If we have already copied a disk image of the virtual machine online or elsewhere with the system already installed, you can select "Import existing disk image".
|
||||
|
||||

|
||||

|
||||
|
||||
2) Select the installation source (ISO) and virtual machine system format (such as red hat Linux 8 or something like that) and click forward
|
||||
|
||||

|
||||

|
||||
|
||||
3) Enter the virtual machine memory, the number of cpu cores (can not be greater than the number of host cores), click forward
|
||||
|
||||

|
||||

|
||||
|
||||
4) Select the disk image (virtual machine installation should also have a virtual disk, right), here we create a 40G disk, click forward
|
||||
|
||||
> Note: The default disk image path here is /var/lib/libirt/images/*.qcow2, while if we need to use an already created disk image or need to customize the storage location of the disk image, you can select "Select or create custom storage"
|
||||
|
||||

|
||||

|
||||
|
||||
5) Enter the virtual machine instance name, select the network, and click Forward.
|
||||
|
||||
> If you don't know how to choose a network, you may want to brush up on your knowledge of several modes of virtual machine networking (NAT, bridge, only_host).
|
||||
|
||||

|
||||

|
||||
|
||||
6) At this point, it is time to enter the installation of the virtual machine system
|
||||
|
||||

|
||||

|
||||
|
||||
If you are prompted with the error "Error connecting to graphics console: Error opening Spice console, SpiceClientGtk missing", you can try the following command to solve it.
|
||||
|
||||
|
|
Loading…
Reference in New Issue