In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)05/31 Report--
Most people do not understand the knowledge points of this article "method of installing CentOS7 in VirtualBox", so the editor summarizes the following contents, detailed contents, clear steps, and has a certain reference value. I hope you can get something after reading this article. Let's take a look at this "method of installing CentOS7 in VirtualBox" article.
1. Get centos7
Select the iso file. The latest version is centos-7-x86_64-dvd-1611.iso.
two。 Download and install virtualbox
Https://www.virtualbox.org/wiki/downloads
3. Create a new virtual machine (also enable bios64 bit virtualization option)
Before creating a new virtual machine, you must enable the bios64 bit virtualization option by booting to the bios interface, setting the virtualization option to enabled in the configuration options, saving and exiting.
Create a new and select the redhat64 bit virtual machine type:
A 64-bit machine must be selected here. The installation of a 32-bit machine will cause a black screen to boot and no response for a long time.
Then create a virtual hard disk:
After the creation is completed, click the configuration option and select the optical drive to load the file:
Finally, click the startup option to enter the installation of centos7.
4.centos7 installation
Partition is required during installation. The default partition method is used here, which is divided into / root partition, / boot boot partition, and swap swap partition:
The root password needs to be set in the installation. It is recommended to create a new user user.
5.centos7 networking and gnome graphical Interface installation
Nat is selected to access the public network when the virtual machine is created. After logging in, you cannot ping baidu. You need to modify the files in / etc/sysconfig/network-script:
Ifcfg-xxxxxx, the xxxxxx part of each machine is different, change the last item onboot to yes
Ping www.baidu.com again
After you can connect to the Internet, install the graphical interface:
First, use the yum grouplist command to view the supported graphical interface. In the following figure, the system has installed the gnome desktop:
If the desktop is not installed, you can follow the following command:
Yum groupinstall'gnome desktop'-y
When the installation is complete, re-enter the yum grouplist command to see that the gnome desktop is installed
6. Start gnome and boot default graphical interface settings from the command line
To start gnome from the command line, simply enter the startx command:
Boot to the gnome desktop settings by default:
View the file / etc/inittab
Where run level 3 is multi-usr.target, which is the command line mode. Run level 5 is graphical.target, that is, graphical interface mode.
View the default values:
Change to graphical.target:
Restart reboot to enter gnome.
The above is about the content of this article on "how to install CentOS7 in VirtualBox". I believe we all have a certain understanding. I hope the content shared by the editor will be helpful to you. If you want to know more about the relevant knowledge, please follow 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.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.