Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install CentOS7 in virtualbox

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)05/31 Report--

Today, the editor will share with you the relevant knowledge points about how to install CentOS7 in virtualbox. The content is detailed and the logic is clear. I believe most people still know too much about this knowledge, so share this article for your reference. I hope you can get something after reading this article.

Preparation condition

* the virtualbox virtual machine has been installed on your real machine. The specific installation method can be Baidu.

* go to the Internet to download the image of centos-7.

1. Create a virtual computer in a virtual machine

Figure (1)

As shown in figure (1) Click the New button to start a new virtual machine

Figure (2)

Enter centos-7 in the name, select linux for type, and select other or redhat for version. If the cpu is 64-bit, choose the 64-bit version, otherwise choose the 32-bit version. The choice of memory size should not exceed half of the real machine memory. I allocate 2g here. Check to create a virtual hard disk now and click create.

Figure (3)

The file location is the location where your virtual machine is created. Linux is placed in the user's home directory by default, and windows is placed on the system disk by default. If there is enough space, it is fine by default. Not enough, click the folder icon on the right to change location. The file size is the amount of hard disk space allocated to the virtual machine, and here I allocate 30g of hard disk to centos-7. The file type of the virtual hard disk is vdi, which is dynamically allocated and fixed size on the physical disk. The difference is that dynamic allocation dynamically allocates the number of hard drives according to your hard disk space usage. Fixed size is how much hard disk you allocate, how much space is set aside from the hard disk to the virtual machine at one time, and the corresponding real machine hard disk will be reduced in size (some netizens say that the fixed size has better performance). Then click create.

Figure (4)

Now the virtual computer has been created, but it can't be started yet, and some simple settings need to be made.

Figure (5)

Click Settings, select the system, select the optical drive in the boot order, and click the up arrow on the right to raise the optical drive to the first place.

Figure (6)

Then in the selected storage, click No Disc, click the CD icon on the right, and select the centos-7 system image you downloaded before to open it.

Figure (6)

Where on the network, select the network connection as nat, and make sure you can start it now.

two。 Installation system

Figure (7)

Click start, click the mouse inside, select the first one (when selected, the font is white), enter to install. The mouse is locked at this time. If you want to move the mouse, press the right ctrl on the keyboard to release the mouse.

Figure (8)

Choose Chinese as the language and continue.

Figure (9)

Click on the software selection, according to your needs to choose the installation, if not familiar with, do not choose, the default minimum installation, but to install the graphical interface, or choose gnome or kde.

Figure (10)

Where to select the created virtual disk at the installation location, and where the partition size is automatically allocated.

Figure (11)

Open the network in the network and hostname, and the hostname is fine by default, even if you want to change it.

Figure (12)

Now click to start the installation

Set the password for the root user here, and create a user. Novices are not recommended to use the system under a root account, so they should set up a regular user, and I won't demonstrate it here. It is said that the root account is the man who wears his underpants outside, it has the supreme authority in the system, . However, high permissions also mean high risk, for example, if you accidentally execute the rm-fr / command in the root directory, hey, then wait for your system to be collected.

Installation is complete, click restart.

Restart appears this, is the initialization information of centos-7, enter 1 enter, then enter 2 enter, and then enter Q enter.

If you create a normal user, the user name will be listed here. If not, click not listed and enter the root user name and password to log in.

Enter the system

These are all the contents of the article "how to install CentOS7 in virtualbox". Thank you for reading! I believe you will gain a lot after reading this article. The editor will update different knowledge for you every day. If you want to learn more knowledge, please pay attention to the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report