Installing Linux in a virtual machine

Source: Internet
Author: User

Installing the CentOS 6.4 tutorial (Detailed steps)

CentOS is a cloned version of Rhel, functionally identical, and some of the latter bugs have been fixed after recompiling. The main difference is that CentOS is free, but there is no official technical support, and Rhel requires a fee, with official technical support. The new version of CentOS was released after Rhel, because it was cloned.

I'm using Vitrualbox. This virtual machine software installs CentOS, in the virtual machine and in the real machine installs the Linux actually is not big difference, if your real machine configuration is good, possibly CentOS will not have the corresponding hardware drive.

Enter the installation interface :

1 option: Install or upgrade an existing system

2 option: Install the system using the basic graphics driver

3 Options: Rescue mode installation System

4 option: Boot from local disk

5 option: Test memory

Linux can also be installed using the text interface, the steps to enter the text interface is: Press the "ESC" button at this interface, and then enter the Linux text carriage return after boot: entered the installation.

However, I recommend the use of graphical interface installation, I remember the CentOS 6.X version in the text interface when the installation is not partitioned, this is more tangled.

Select "Install system with basic video driver" to enter the GUI installation, which is the system detects and mounts related devices and files.

Then enter the following interface

Here generally choose "Skip" skip directly, if you click on the "OK" system will start to detect your computer's media is normal, it takes some time.

Click "Next"

Then select the language used in the system installation process, I choose Chinese here, click "Next" to enter the next

This step is to choose the type of keyboard, I chose the default u.s.english here, click "Next" to enter the next

This step is to choose the type of hard drive, generally select "Basic Storage Device" (Basic storage devices), "speciallzed Storage dvices" is for similar sans used. Click "Next" to proceed to the next step

This step is to let you choose whether to delete the data in the virtual hard disk, we are the blank disk so select "Yes,discard any data" (delete all), click "Next" to enter the next step.

This step is to configure the computer name and network parameters, fill in your favorite computer name, and then click "Configure Network" to configure networking parameters.

Select "System eth0" and click "Edit" to enter the network card editor.

Check the "Connect automatically" option before the machine restarts into the system to automatically connect the network card, select the "IPv4 Settings" tab to configure the IP address.

I chose "Manual" is the manual configuration, if you have a DHCP server network, you can use the way DHCP, and then click on the right "Add" button, add parameters.

If you are using a IPV6 network, configure the appropriate parameters in the "IPv6 Setting", otherwise select "Ignore" to ignore

Click "Apply" to continue, then click "Close", then click "Next" to enter the next step

This step is to select the system's time zone and select it. Click "Next" to proceed to the next step

This step is to configure the root account password, if the server installation needs to configure a more complex password, if it is used for learning test, then the password is arbitrary, at least 6 bits, if the password is too simple system will prompt.

Select "Use Anyway" to proceed to the next step

This step goes to the rhythm of the partition.

Use all space for all spaces

Replace Existing Linux system replaces existing Linux systems

Shrink current system to reduce the space

Use of free space using unused spaces

Create Custom Layout to customize the partition

Here we choose Create Custom Layout, there are two options below, such as

Encrypt System Encryption

Review and modify partitioning layout review and modify partitions

We do not check "Encrypt system", "Review and modify partitioning layout" option after selecting "Create Custom Layout" will automatically tick, click "Next" to enter the next

This step is the partition, is one of the most important parts of the installation system, theoretically if your memory is large enough to divide a "/" that is, the root partition is good, learning the test machine we have two areas: "/" and "Swap." Swap is virtual memory, virtual memory in the virtual machine. If it is a server, it will be divided into several areas: "/boot" (Storage of the boot-related file partition) about 100M is enough, "/usr" (program installed partition) I generally sub-10G, "/var", "/home" depending on the situation, can also be customized, such as "/test". The "Swap" setting is dependent on your server's memory. Select the "Create" button below to make the partition:

Standard Partition partition mode

RAID Partition disk array partition, here is the software disk array

LVM Physical Volume LVM physical volume, which is the partition mode of LVM

We select "Standard Partition" and click "Create"

Mount point mount Points

File system type, which is equivalent to a partition format of NTFS or FAT32 under Windows, we select the latest EXT4

Size sizes

Fixed size

Fill all spaces up to specify the size of the space

Fill to maximum allowable size use all available space

Force to be a primary partition forced conversion to primary partition

Encrypt encryption

Here are the partitioning steps:

Click "OK"

Here, I only divide two districts, and finally as shown:

Click "Next"

Select ' Write changes to disk ' (write to disk)

This step is to select the location of the system's startup program installation, we default, Next

This step is to choose what the machine is to do, there are Desktop,web server and so on, choose a, the system will automatically give you to install some of the required software, I choose minimal here, and then select the bottom customize now custom installed components. Next

Enter the component selection installation interface

Later, if there is a need for what components can also be installed in the image of CentOS loading.

Install the interface of the component, it takes a few minutes, a cigarette, a little break for a while ~

Install complete, click "Reboot" restart

The system behind the entry is the text interface Linux, knocking command to hit the Mob:)

Installing Linux in a virtual machine

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.