Installation of a Linux system within a virtual machine

Source: Internet
Author: User

Installation of the virtual machine Linux system, which is mainly redhat6.5 installation process

First select the appropriate image package according to individual needs, we choose the image of Red Hat Enterprisc

Then open the VMware WORKSTATION and click Create New virtual machine

Then select the custom virtual machine installation and click Next

Here is a virtual machine hardware compatibility choice, can choose a lot of hardware compatibility, now we generally choose workstation 12.x this version, click Next

Click on select Workstation 12.x this version, click Next, you can see such an interface, is let us choose to install the operating system of the virtual machine, we click Install the operating system later, click Next

Then we can see let's choose the operating system of the virtual machine, we need to install Linux, so we choose Linux, there is a version to choose, click we can see a lot of versions for us to choose, here we choose Linux*64, then click Next

Then we can see here we need to give a name to the virtual machine, select the location of the virtual machine installation, in order to facilitate later search, here we select a large hard disk and then create a new folder

and then we can see the interface, Linux6-1 This is the folder of our new virtual machine, click OK,
then we choose the installation location for the new virtual machine, click Next

Then we can see that we need to configure the processor of the virtual machine, Number of processors generally based on the number of native processors to choose, I am here 4 cores, and then we install Linux, the general choice of the virtual machine A processor can be, the number of cores per processor We also choose one on it, click Next

We can see here we need to choose the memory of the virtual machine, the general choice of 2GB, but here according to my computer's actual situation, we choose 1GB can be, click Next

and then here you can see that the network type of the virtual machine needs to choose, here we can see there are three options, The first to use the bridge network, that is, two different computers built two non-connected virtual machines need to link is to choose this mode, the second network address translation, that is, the local and virtual machine common one IP address, that is, when the host can surf the Internet, the virtual machine can also be Internet access , the third host-only mode network, that is, the host is treated as a LAN, however, the virtual machine is built in a few, the network communication is carried out in the host, usually do the experiment when we often choose the third only host mode network, and then we click Next

Here we can see the need for us to select the type of I/O, which is a type of input and output, where the LSI LOGIC system is selected by default, and then click Next to continue

Here we can see that we need to choose the virtual disk type of the virtual machine, Then we also choose the system default recommended SCSI, then we continue to click Next

We can see that we need to select a disk, because we are creating a new virtual machine, and the new virtual machine is not a new disk because of our new disk, So we're the first to innovate a new virtual disk so that our new virtual machine is in the form of a folder on our host, and then click Next to continue

Here we can see that we need to specify the disk capacity of the virtual machine, here choose to split the virtual disk into multiple files for storage, It is convenient for us to migrate the files later, then we click Next to continue

Then here we can see the need to select the storage location of the disk files, this we will choose the location of the folder we created before we can, and then click Next

Here we can remove unwanted hardware

Here we can see that there is a use ISO image file on the right, then click on the right to browse to select the appropriate image file, click Close

After clicking Finish we can see there are two options, one to turn on this virtual machine, one to edit the virtual machine settings, and if there is anything else that needs to be modified we can click Edit to make the change, then we click on the virtual machine to turn on

Then we will see such a screen, is to say whether the serial number of the virtual machine to check, it is recommended to skip, because the inspection will waste a lot of time before going to install, so just skip it.

Then there is an Installation wizard, click Next to proceed to the next step

Here we need to choose the language, English is relatively weak students, you can choose Chinese Simplified, and then click Next to continue

Here is actually need we choose Input method, this we choose the default American English style on it

And here we choose the base storage device, which is our mainframe.

Click Next, will pop up a window, in fact, is to ask whether you format, we need to create a new virtual machine, so we have to format, so choose Yes, ignore all the data, click Continue

Then we'll name this new virtual machine, and we'll just fill it out according to our personal preferences.

Name complete, click Next

Here is the need to choose our time zone, we choose Shanghai, click Next to continue

Then we will see that we need to set a password, this password is the maximum permissions of the virtual machine BIOS password, click Set up, will prompt you password is not safe, here Click to use anyway, continue

Here we need to choose the type of installation, here we choose to customize the layout, and then continue to click Next

Click Next to continue, you can see such an interface, is called the partition interface, and then we can see there is a Create option below, click to create a new disk

Here we first select the first "/" This is our root directory

The size of the root directory we choose 20G, but here we note that the unit is MB, so we enter 20000, click Next, the first disk is divided

The mount point of the second disk we choose the/boot kernel, the so-called kernel, which is the most important location of a system, but the space required is not very large, so here we choose 2000MB can be

Next, we are going to create swap is the virtual memory, because we allocated the virtual machine memory is 2GB, so here we choose 4GB, that is 4096MB, but please note that the mount point here is not required to select

After choosing to create virtual memory, there are more than 16,000 MB of free space. Here we create a home directory that will occupy all the remaining 16000MB selections

Then we can see that the disk partition of the virtual machine is created, and then click Next to continue

Here you will see the need to format the existing device, because we are new, so the previous format, click Format to continue

Then we will see that the selected partition is written to disk and the partition specified data is deleted, here we click to write the modification to disk,

Here is the information about the virtual machine we configured earlier, here we can just click Next to continue.

Here you can see the need to select a software group, such as beginners generally recommend the above section to select the desktop, and then the intermediate software required for the full selection of repositories, click Next to continue

Here we can see that the pre-configuration of the virtual machine system is complete and is now being installed

Once the installation is complete, we can see a reboot in the lower right corner and we click Continue

The system will then start to restart,

Reboot is good after the installation of the boot, we install the prompt click Forward on it can be

Select agree to license agreement and proceed

Set up the software update, here we need to register the system, of course, you can later in the registration, select after registration, forward

Here let you confirm whether later in the registration, we click After registration, continue to advance

Then need to create a user, here can choose to fill in the registration, you can not fill in, do not fill in the words we are the root of the highest administrator to log in, here we directly click Forward

Then set the time, date, click Forward after setting, continue

Click Done and you're ready to log in.

Then we'll see a Select User's window and click on the other

Will let us enter the user name, that is, the former registered, if not previously registered, then fill the top admin root here, and then let you enter the password, is also the password you set before, we are here 123123

Then we can see that a Linux desktop is displayed in front of us, and then we try to interconnect the virtual machine to the host, if we need to see the IP address of the virtual machine, and then as shown

Right click on the desktop blank location, there will be a terminal in the open, click

Then we'll see an interface, the shell environment, and then we'll look at the current IP address and enter ifconfig

Then you can see the address here is the MAC address, so we're going to set an IP address

Then we enter cd/etc/sysconfig/network-scripts/for the virtual machine's NIC configuration

Then configure the virtual machine NIC

As required on the diagram, keyboard input I, change the input and then we will see a

Then make the changes as previously requested

After the change is complete, press ESC to exit edit mode, and then enter: We'll see the cursor move to the bottom of the line.

Then enter WQ here must be lowercase to save exit

Then we can use Ifconfig to view the current IP address after the configuration is complete.

Then use windows+r input cmd on the host to open a command prompt to ping the virtual machine to the host

We can see that this is the way to ping the 192.168.100.4, which means that our virtual machines are connected to the host.

The above is the installation process of Linux virtual machine, please give us a lot of advice.

Installation of a Linux system within a virtual machine

Related Article

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.