In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the relevant knowledge of "how to install CentOS system". Many people will encounter such a dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Because the author has been using CentOS, so this installation system is also based on CentOS installation. Insert the CD into the CD drive and set the bios drive to boot. Enter the welcome interface of the CD.
There are two options, you can press enter directly, or you can enter linux text to press enter in the current interface. The former is installed under the graphics and can be moved by the mouse, while the latter is in the form of pure text. It is recommended that beginners use the former to install. After entering the car directly, the following interface appears:
This step is to prompt you whether to check the CD, the purpose is to see if the installation package in the CD is complete or has been changed, in general, if it is a regular CD, you do not need to do this step, because it takes too much time. The next step is:
There is nothing to explain in this step, just point to "Next"
Here is the language used to install the system. The author is used to using English. Of course, you can also choose Chinese (Simplified) (simplified Chinese), and choose "Next".
Here is to choose the appropriate keyboard, we usually use the English keyboard, so there is no need to move here, the default is, directly "Next"
Here will prompt you, the following will partition, will initialize the disk, the data on the disk will be lost, ask if you want to initialize the device and erase the data on the disk. Select "Yes" because it is empty.
At this point, it's time to partition. There are four ways for you to choose.
First, remove all partitions from the selected disk and then partition them in the default way
Second, remove all linux partitions on the selected disk (not if there are windows partitions on the disk), and then partition by default
Third, only the free portion is used on the selected disk and partitioned by default
Fourth, user-defined.
Here we choose the fourth one. And then "Next."
Next, it's time for partitioning, which is very flexible, but generally according to this rule (this is the division on the server, if you are a virtual machine, please see the following section):
/ boot Partition 100m
2 times the memory of Swap partition. If it is greater than or equal to 4G, you only need to give 4G.
/ Partition to 20g
Spare space for / data
Description: / boot partition is the file needed for system startup, just like the windows directory in windows's C disk, the file in this partition is not large, only 100m is enough. Swap partitions are swap partitions, and when there is not enough memory, the system will use this space as memory. / partition, which is actually a root directory, will be introduced in later chapters. It doesn't matter if you don't understand now, as long as you know that there is such a thing. The partition / data is customized by us, that is, it is dedicated to storing data.
If you have a virtual machine installed and you have only 8 gigabytes of disk space, I suggest you partition it like this:
1 / boot 100M
2 times the memory of 2 swap
3 / all remaining space
After partitioning, click "Next"
You can tick before Use a boot loader password. This option is used to add a password to boot loader to prevent anyone from entering single-user mode through the CD to change the root password.
The following options can also be checked, the author has never used this feature, if you are interested, you can study it. And then the next step
This step is to configure the Nic information. You can now customize the IP of the Nic and configure the hostname, which is obtained by default through DHCP, or you can click manually to customize a hostname, such as mail.example.com. If neither of these methods is configured, then linux will configure you with an omnipotent hostname, that is, the rest of the localhost.localdomain will not be configured and will be left blank by default.
Next, select the time zone, where of course we choose our time zone Asia/Chongqing. If there is no Chongqing, then choose Asia/Shanghai.
Move on to the next step
Define your own root password here and move on to the next step
Here we have to choose the package to install. I am used to custom installation. I need to click "customize now" below and then take the next step.
"Desktop Environments" look to the right and uncheck the front of GNOME. This is actually the installation package for the graphical interface. If you don't remove this check, the graphical interface will be installed.
Do not "Applications" except the tick before Editors is removed.
All "Development" should be checked.
"Servers" and all of the following items are unchecked, and then the next step
After clicking Next, the system begins to be installed.
After the meeting, it will show up.
At this point, the linux system has been installed. Next, click "Reboot" to restart and enter the linux system to have a look.
This is the end of "how to install CentOS system". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
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.