Create a Linux Virtual Machine

Source: Internet
Author: User

Create a Linux Virtual Machine

VMware can create a logical host environment for users. Users can install corresponding operating systems on the logical host for learning or some test operations without affecting the operating system on the physical host, this document uses VMware12.1.0 as an example to demonstrate how to create a Linux virtual machine.Red Hat Enterprise Linux 7 64-bit.

Step 1: Create a new Virtual Machine

Click "1"Create a new Virtual Machine".

Or click"File-Create a VM", 2.

Figure 1

 

Figure 2

Step 2: Virtual Machine Installation Wizard

Select"Custom", Click"Next step"(Figure 3 ).

Figure 3

Step 3: virtual machine hardware compatibility

The hardware compatibility is not changed. Use the default option and click"Next step"(Figure 4 ).

Figure 4

Step 4: Install the Operating System

Select"Install the operating system later", Click"Next step"(Figure 5 ).

Figure 5

Step 5: select the client operating system

Select"Linux", Select"Red Hat Enterprise Linux 764-bit", Click"Next step"(Figure 6 ).

Figure 6

Step 6: Name a virtual machine

Virtual Machine name: name of the created virtual machine.My computer.

Location: the location where data of the VM is stored. The default path is on the system disk. We recommend that you do not use the default path. You can create a folder for storing virtual machine data on a non-system disk, for example, create a disk in disk DVirtualMachinesFolder to store various data generated by the virtual machine. The second-level directory is created below.RedHat LinuxTo store all data files generated by this virtual machine. Click "Next" after the selection (figure 7 )".

Figure 7

Step 7: configure the processor

Select the number of CPU cores for the VM. You can select one for the Linux host. for other purposes, you can select another number for host performance requirements (figure 8 ).

Figure 8

Step 8: configure the memory

Allocate memory for the VM. You can drag the slider to select the memory, or enter a value in the input box on the right. Generally, you can use 2 GB of memory or manually change the memory if you have other requirements, we recommend that you assign an integer multiple of 1024 (Fig. 9 ).

Figure 9

Step 9: Network Type

Select the network connection type. For more information about the differences between the three connection methods, select"Use the host-only Network", Click"Next step"(Figure 10 ).

Figure 10

Step 10: select the I/O controller type

Select the recommended option and click"Next step"(Figure 11 ).

Figure 11

Step 11: select the disk type

Select the recommended option and click"Next step"(Figure 12 ).

Figure 12

Step 12: select a disk

Or choose"Create a new Virtual Disk", Click"Next step"(Figure 13 ).

Figure 13

Step 13: Specify the disk capacity

Select the disk size. The default recommended value is 20 GB. You can change the value to 40 GB. Select"Store a virtual disk as a single file". Click"Next step"(Figure 14 ).

Note:: Do not select"Allocate all disk space now", After this option is selected, all the disk size and space will be allocated to the VM. In most cases, the VM will not occupy so much disk space, the VM will automatically expand the size as needed until the assigned value is reached. If all the space is allocated to the VM at one time, it will cause unnecessary waste.

Figure 14

Step 14: Specify the disk file

Select"Store a virtual disk as a single file"Then, the file name of the virtual disk file to be stored will be displayed. You can customize another name as needed or use the provided default value. The default value is the name of the Virtual Machine in Step 6. Click"Next step"(Figure 15 ).

Figure 15

Step 15: custom hardware

Click"Custom hardware"You can choose to add or remove virtual hardware devices as needed. (Figure 16"Printer"Remove, users can also choose"Add"Button to add multiple NICs or other virtual hardware for the VM. Click"Close"(Figure 17 ). Click"Complete"(Figure 15 ).

Figure 16

Figure 17

Step 16: Creation successful

Now, a Linux virtual machine is created successfully. You can view all created virtual machines in the left-side menu bar (Figure 18 ).

Figure 18

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.