VirtualBox Virtual Machine Installation CentOS 7 Detailed tutorials _virtualbox

Source: Internet
Author: User
Tags cpu usage

Record your own installation process, especially some of these considerations.

Adding virtual machines

1. Create a new virtual machine, select Linux,red Hat (CentOS is the open source release of the Red Hat release), and name yourself.


PS: name that column point drop-down box specifies the location of the save.

2. Allocate the memory, my computer memory is 8G, here is set up 4G.

3. Select "Create virtual hard disk Now".

4. File type Select VDI.

5. Dynamic distribution.

6. HDD size I set 50G. Here the 50G is the maximum size of the virtual machine available hard disk, and the actual use of how much is to see how many programs you install, files and so on, rather than set 50 occupied 50, so don't be afraid. On the contrary, it seems that the latter can not be increased. So.. own discretion.

7. After all set up in the left column can see their added virtual machine.

8. Then select System Mirroring.
Select the virtual machine you just added, "Settings"-"Storage"-"controller"-"Assign the optical drive there click on the dropdown icon, select your system image

PS: Because we did not install the system on the first time, so we have to add a system image, and then start monitoring after the system will enter the installation interface. You can delete it later, whatever you want.

At last it's good to start.

Install CentOS 7

1. This is the interface after entering the system. Choose the first second can be, the second is to check your system image integrity before installation, one is directly installed.

2. Select the language and continue.

3. At this point, roll to the bottom to set up the network.


4. Then go back to open the network time.


5. Then the partition is set up. The default is automatic partitioning.

6. We choose to manually partition. Click "I want to configure the partition"



"Automatic creation" here is the equivalent of automatic partitioning. Click here to see.

Here is a brief look at the Linux file format and partition-related knowledge. (citing the Linux concise tutorial)

1. Introduction to Linux file format

Ext2: is the standard file system in the Gnu/linux system, characterized by excellent access to file performance, for small and medium-sized documents more show the advantages, which mainly benefit from its cluster of good design. This is the most used file system in Linux, designed specifically for Linux, with extremely fast speed and minimal CPU usage. EXT2 can be used both for standard block devices (such as hard disks) and for removable storage devices such as floppy disks.

Ext3: file system, which belongs to a log file system, is an extension of the ext2 system. It is compatible with ext2, and it is not complicated to convert from ext2 to ext3, that is, to retain the EXT2 format plus the log function. Ext3 is a log filesystem (Journ Al file system), and the biggest feature is that it will record the entire disk's write action on one area of the disk so that backtracking can be traced when needed. When a process is interrupted, the system can backtrack directly from these records and restructure the interrupted part, and the reorganization rate is quite fast. EXT4: An extended Log file system for EXT3 systems, the fourth edition of the original extended file system (ext or EXTFS) that was developed specifically for Linux.

EXT4: The 4th Extended file system, the next generation of log file system, is backward compatible with the previous generation of file system ext3. EXT4 has made significant changes in performance, scalability, and reliability to support 1 EB file systems. into the 2.6.19 kernel. UBUNTU9.04 began supporting the Ext4 file system.

Linux Swap: It is a swap file system that is dedicated to switching partitions in Linux, rather than virtual memory in Windows. Linux uses this entire partition as a swap space. The swap partition in this swap format is twice times the main memory. When there is not enough memory, Linux writes some of the data to the swap partition.

VFAT: VFAT is called the long file name System, a Linux file system compatible with Windows systems, supports long file names, and can be used as a partition for Windows and Linux swap files. ReiserFS: also has the log function, handles the small file speed quickly. XFS: Stable and efficient, with superior performance in a mix of size and file JFS: feature is the least CPU-intensive

2. Recommended Zoning Method
/swap is usually twice times as big as memory, and it's no use to divide it into large size, according to your memory.
/This is the root partition, it is enough to divide 10G
/boot is divided into 128M
/home is to store your file, which is the maximum remaining space, to ensure that the/home partition is on the last or the front.

Note: separate the/home, if you reload the system, you can root partition/,/boot partition,/swap or delete, as long as the/home partition, your personal data will not be lost. Install the system must choose to your original/home partition and hang, so that the system will know you still want to use the original/home partition. About reloading the/home partition: When reloading the system to the hard disk partition step, keep the/home partition, delete the Swap,/,/boot partition. Find the original/home partition, in the pop-up menu "edit the Partition" in "New partition capacity" to remain unchanged, in the "used" to choose your original partition format, do not check "format partition", "Mount point" select "/home", personal data will not be lost.

You can start adding partitions.

Finally, post my own settings.

PS: finally add/home partition, at this time capacity does not fill, meaning is the default use of all the space left.
OK, you can "start Installation" now.

Finally, during the installation process, there are two final configurations, the root password and the creation user. This is very simple, I will not talk about it.

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.