Install the CentOS7 tutorial in VirtualBox _virtualbox

Source: Internet
Author: User

When the first contact with Linux, because of the conditions, only in the virtual machine installed Linux system use, because it is small white, climbed a lot of pits. I decided to write a blog about installing Linux systems in virtual machines. One is to consolidate their knowledge, the second is to be able to provide some help to novice friends. I use the VirtualBox virtual machine, install CentOS-7 operating system, the article for beginners only reference, if there are omissions, but also hope that you haihan and correct.

Preparation conditions

X on its own real machine has installed the VirtualBox virtual machine, the specific installation method can be Baidu

x go online to download CentOS-7 image back

1. Create a virtual computer in a virtual machine

Figure (1)

Figure (1) Click the New button to start a new virtual machine computer.

Figure (2)

Where to fill in the name of CentOS-7, type choose Linux, version choose Other or Redhat. If the CPU is 64 bits, select the 64-bit version, or choose 32-bit version. The choice of memory size does not exceed half the size of the real machine memory, I allocate 2G size here. Check to create the virtual hard drive now, click Create.

Figure (3)

File location is your virtual machine after the creation of the location, Linux default in the user's home directory, Windows default on the system disk, if the space is sufficient, the default is good. Not enough, click on the Right folder icon to replace the location. The file size is the size of the hard disk space allocated to the virtual machine, where I assign a 30G hard drive to CentOS-7. Virtual hard disk File type Select VDI, which has dynamic allocation and fixed size on physical disks. The difference is that dynamic allocation will be based on the use of your hard disk space to dynamically allocate the number of hard drives. Fixed size is how much you allocate the hard disk, on a one-time from the hard disk to draw how much space to the virtual machine, the corresponding real hard drive on the reduction of how much size (some netizens say fixed size, performance better). then click Create.

Figure (4)

Now the virtual computer has been created, but it's not ready to start, and there are some simple settings.

Figure (5)

Click on the settings, select the system, in the boot sequence where the CD-ROM drive, click on the right arrow, the CD-ROM drive to the first.

Figure (6)

Then in the selected store, click No disc, click on the right side of the disc icon, select your previously downloaded good CentOS-7 system mirror open.

Figure (6)

In the network where, the network connection selected as Nat, OK, now can be started.

2. Installation System

Figure (7)

Click Start, put the mouse punctuation into the inside, select the first (when selected, the font is white), enter the installation. The mouse is locked, and if you want to move the mouse, press the right CTRL key on the keyboard to release the mouse.

Figure (8)

Select the language as Chinese and continue.

Figure (9)

Click on the software selection, according to their own needs to choose to install, if unfamiliar, do not choose, the default minimum installation, but to install the graphical interface, or select a gnome or KDE.

Figure (10)

Where you choose to create a virtual disk at the installation location, the partition is automatically allocated the partition size.

Figure (11)

In the network and host name to open the network, host name by default, to be changed.

Figure (12)

Now click Start Installation

Set the root password here and create a user. The novice does not recommend the use of the system in the root account, so you should create a regular user, I do not demonstrate here. It is said that the root account is the underwear worn outside the man, it in the system has the supremacy of authority, haha. However, high level of authority also means high risk, such as you accidentally executed in the root directory rm-fr/command, hehe, then wait for your system corpse.

Installation complete, click Reboot.

Restart appears this, is CentOS-7 initialization information, input 1 back to the car, and then input 2 back to the car, and then enter Q return.

If you create a regular user, this will list the username, no, click Not listed, enter the root username and password login.

Access to the system

That's it, it's done.

The above is the entire content of this article, I hope to help you learn, but also hope that we support the cloud habitat community.

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.