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

What are the basics of centos

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "what are the basic knowledge of centos". The explanation in this article is simple and clear, easy to learn and understand. Please follow the ideas of Xiaobian and go deep into it slowly to study and learn "what are the basic knowledge of centos" together!

1. What is the difference between 32 and 64? When to install 32-bit and when to install 64-bit operating systems? How do I check if my system is 32-bit or 64-bit?

32 bits and 64 bits refer to the data width of CPU's GPRs (General-Purpose Registers). A 64-bit cpu can perform a wider range of integer operations than a 32-bit cpu; it can support a larger memory. Just because the numbers change, it is not easy to assume that 64-bit processors perform twice as well as 32-bit processors. In fact, 32-bit processors will perform even better in 32-bit applications, and even 64-bit processors will perform even better in 32-bit applications in the current situation.

The operating system is also distinguished between 32-bit and 64-bit, the current mainstream computer hardware is mostly 64-bit CPU, so support the installation of 64-bit operating system, of course, the installation of 32-bit operating system is also possible, as for the installation of 32-bit or 64-bit system mainly depends on how much our computer memory, if more than 4G to install 64-bit, otherwise it will be better to install 32-bit.

Check whether the system is 32-bit or 64-bit using the command uname -a If X86_64 is displayed it is a 64-bit system, and if i386,i586 or i686 is displayed it is a 32-bit system.

2. What is the function of swap partition? How do I determine the size of a swap partition?

Swap partition is also the virtual memory under windows, its main role is that when the system memory is not enough, or when it is running out, then the system will temporarily put the older data in the memory into swap, so that you can free up part of the memory allocated to other programs. Generally, when we install the system, we have to divide part of the disk space to swap, usually we divide the memory size of 2 times to swap, but sometimes your server memory is very large, such as 32G or even 64G, then there is no need to divide the memory size of 2 times to swap, because that is too wasteful. My suggestion is that when the memory is not greater than 8G, it will be divided into 2 times the memory, and if it is greater than 8G, it will be divided into 16G.

3. How is the universal partition divided?

/boot 100M;

/ 20G;

/usr/ 20G;

swap memory less than 8G to twice the memory, more than 8G to 16G;

The remaining space is allocated to/data/

4. After installing the system, try cloning the vmware virtual machine.

We often use virtual machines to do all kinds of experiments, beginners can not avoid mishandling the system crash, can not start, reinstall the operating system waste too much time. After installing the original operating system in our virtual machine, clone it, and clone several copies for backup, so as to facilitate the later multiple machines to do experiments and avoid reinstalling the operating system.

5. Check out the concept of grub and briefly describe it.

Grub is a boot loader based on GUN, which is a multi-operating system manager used to boot different systems. Grub can manage both windows and linux systems.

6. How much do you know about time zones? What time zone do we use in China?

According to the International Conference on Longitude in 1884, the world is divided into 24 time zones according to longitude, each occupying 15° longitude. The time zone with the prime meridian as the central meridian is the zero time zone, which is divided into 12 zones to the east and west respectively. The 12 zones to the east and west are half time zones, and the time of 180° meridian is commonly used.

In China, we generally use Beijing time, so it is also called the East Eight District. When installing CentOS, we can choose Asia/Shanghai or Asia/Chongqing, but there is no Asia/Beijing

Thank you for reading, the above is "what is the basic knowledge of centos" content, after the study of this article, I believe that we have a deeper understanding of the basic knowledge of centos, the specific use of the situation also needs to be verified by practice. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!

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

Servers

Wechat

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

12
Report