Home >System Tutorial >LINUX >What are the differences between installing all Linux operating systems on a virtual machine? ?

What are the differences between installing all Linux operating systems on a virtual machine? ?

WBOY
WBOYforward
2024-03-13 14:40:02855browse

Many novices are not even familiar with the installation of Windows, let alone the installation of Linux. Although the installation is successful, it may damage the existing Windows system, such as causing the hard disk data to be lost, Windows to fail to boot, etc. Therefore, installing a Linux system has always been a beginner's nightmare.

However, these difficulties can be easily overcome through virtual machine technology. Because all operations of installing Linux on a virtual machine (such as hard disk partitioning, deleting or changing data) are performed in the virtual optical drive, it will not cause any loss to the existing data and system qq for linux, even if the installation fails, it does not matter .

The so-called virtual machine is a computer that is virtualized through software technology. It is no different from a real computer in terms of use.

Common virtual machine software includes VMware Workstation (VMware for short), VirtualBox, Microsoft VirtualPC, etc. Among them, VMware has the highest market share, so this section uses VMware as an example to explain the installation of Linux.

虚拟机下载手机版_linux虚拟机下载_虚拟机下载手机版root

VMware allows you to run multiple operating systems on one computer at the same time, such as running Windows, Linux and MacOS at the same time. If multiple operating systems are installed directly on the computer, only one operating system can be running at the same time and can be switched after restarting; while Vmware can run multiple operating systems at the same time and switch back and forth like Windows applications.

From the user's perspective, the virtual machine system is the same as the actual installed system. It is even possible to connect several virtual machine systems in one computer to a local area network or to the Internet.

In a virtual machine system, each virtual computer is called a "virtual machine", and the computer used to store all virtual machines is called a "host". For example, your Windows system is the host machine, and the Linux installed by VMware is the virtual machine.

VMware Download and Installation

Most beginners use Windows, so this section only explains how to install VMware and Linux under Windows.

VMware has two versions, namely VMwareWorkstationPro and VMwareWorkstationPlayer.

We found a Pro version with a secret key from the Internet and placed it on Baidu Cloud Disk linux virtual machine download, you can use it without restriction: VMwareWorkstationPro download address: /s/1XXhFFh0Fx0vzvcd1A543Yg , extraction code: 2o19 (The downloaded compressed package contains the keys required for VMware installation. It is valid after personal testing and can be used with confidence)

VMware has relatively high requirements for computer hardware configuration. Linux tutorial download. If the configuration is low, the virtual machine will be very slow or even unable to run. In theory, the higher the configuration, the better. Today's mainstream computer configurations can meet the requirements for running VMware. Don't run VMware on something you've been storing for years, I guarantee you'll lose your patience.

Because the installation process of VMware is relatively simple and is no different from installing ordinary software, we will not elaborate further. It is assumed here that the reader has already downloaded and installed VMware, and then directly started using VMware to install the Linux system.

VMware installation of Linux system

Start VMware and enter its main interface.

linux虚拟机下载_虚拟机下载手机版root_虚拟机下载手机版

虚拟机下载手机版root_虚拟机下载手机版_linux虚拟机下载

Click "Create a new virtual machine" to enter the virtual machine setup wizard interface. It is recommended that beginners select "Typical (recommended)".

linux虚拟机下载_虚拟机下载手机版_虚拟机下载手机版root

Click "Next" and enter the "Install operating system" interface. If beginners have prepared the image file (.iso file) of the Linux system in advance Linux virtual machine download, you can choose here "Install program disc image file" and use the "Browse" button to find the iso file to install the Linux system; otherwise, select "Install the operating system later".

虚拟机下载手机版root_linux虚拟机下载_虚拟机下载手机版

It is recommended that beginners download the CenOS image system in advance, and we will provide you with the CentOS6.5 image file Thunder download address (click the link or copy the link to Thunder to start downloading):

Click "Next", go to "Select Guest Operating System", select "Linux", and select the corresponding Linux version to be installed in the "Version" drop-down list box, here select "CentOS6".

虚拟机下载手机版root_虚拟机下载手机版_linux虚拟机下载

虚拟机下载手机版_虚拟机下载手机版root_linux虚拟机下载

Continue to "Next Step", enter the "Name Virtual Machine" interface, give the virtual machine a name (such as "CentOS6.5"), then click the "Browse" button and select the save virtual machine system installation file Location.

linux虚拟机下载_虚拟机下载手机版root_虚拟机下载手机版

Click the "Next" button to enter the "Specify c drive capacity" interface. The default virtual optical drive size is 20GB (the virtual hard disk will be stored as a file in the virtual machine system installation directory). The space of the virtual optical drive can be adjusted as needed, but there is no need to worry about the space it occupies, because the actual space occupied is still based on the installed system size rather than the hard disk size defined here.

For example, if you set the hard disk capacity to 20GB and only use 4GB to install Linux, it will actually only occupy 4GB of space in your Windows partition. The space occupied will decrease with the space used by the virtual machine system. And decrease.

Just keep the default settings in this "Specify c drive capacity" interface.

虚拟机下载手机版_虚拟机下载手机版root_linux虚拟机下载

Go to the "Ready to Create Virtual Machine" interface, confirm the virtual machine settings, and click the "Finish" button if no changes are needed to start creating the virtual machine.

linux虚拟机下载_虚拟机下载手机版root_虚拟机下载手机版

Here, we can make slight adjustments and click the "Customize Hardware" button to enter the hardware adjustment interface. In order to make the system in the virtual machine run faster, we can select "Video Memory" to adjust the size of the virtual machine's video memory, and it is recommended that the virtual machine's video memory should not exceed half of the host's video memory. CentOS6.x requires at least 628MB of video memory allocation or above, otherwise the simple installation process will start.

linux虚拟机下载_虚拟机下载手机版root_虚拟机下载手机版

Select "New CD/DVD (IDE)" to select the hard disk configuration. If you select "Use chemical drive", the virtual machine will use the host's chemical hard disk; if you select "Use ISO image file", you can directly load the ISO image file and click the "Browse" button to find the location of the ISO image file.

虚拟机下载手机版_虚拟机下载手机版root_linux虚拟机下载

Selecting "Network Adapter" will lead you to the most incomprehensible part of VMware novice settings - setting the network type. This setup is more complex, but the network adapter configuration can be changed after the virtual machine system is installed.

虚拟机下载手机版root_linux虚拟机下载_虚拟机下载手机版

VMware provides 5 types of network connections, namely "Bridge Mode", "NAT Mode", "Host Only Mode", "Custom" and "LAN Section":

Readers may be a little confused after reading the above description of the VMware network. A brief summary - after VMware is installed, two virtual network cards VMnet1 and VMnet8 will be generated (can be found in the "Network Connection" of the Windows system).

虚拟机下载手机版_linux虚拟机下载_虚拟机下载手机版root

虚拟机下载手机版root_虚拟机下载手机版_linux虚拟机下载

There are two commonly used settings:

You need Windows on the host machine and Linux on the virtual machine to connect to the network, using "bridge mode" (when bridging, Linux can also access the Internet, but the virtual machine needs to be configured with the same networking environment as the host Windows); required Only Windows on the host machine and Linux on the virtual machine can connect to the Internet. At the same time, Linux on the virtual machine can connect to the Internet through Windows on the host machine, using "NAT mode".

After the hard disk configuration settings are completed, click the "Finish" button in Figure 7 to successfully create a virtual machine! For readers who have downloaded the CentOS image in advance and made corresponding settings in Figure 3, VMware will directly start the Linux CentOS system at this time.

linux虚拟机下载_虚拟机下载手机版_虚拟机下载手机版root

Readers who choose "Install the operating system later" in Figure 3 must first download a Linux image file and select "Edit Virtual Machine Settings->CD/DVD (IDE)" "Use ISO image file" will automatically add the iso file, and then click "OK" to automatically start the Linux system.

虚拟机下载手机版root_linux虚拟机下载_虚拟机下载手机版

After the above steps, we successfully installed the Linux system using the VMware virtual machine.

The above is the detailed content of What are the differences between installing all Linux operating systems on a virtual machine? ?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:itcool.net. If there is any infringement, please contact admin@php.cn delete