[Edit, test and edit] Linux kernel and release version related knowledge

Many children told me before that I know Linux as a teacher, and I would ask, if you learn software testing, you know Linux. Do you know how Linux can be integrated with enterprises?

It's not that you can say that you know Linux by just some cd, chmod, chown, ps, find, tar, vim, vi, etc.! ! !

So for Linux, what exactly does the test use it for?

1. We all know that most of the servers deployed by our programs are linux servers, so the first point of testing to use linux is to build and deploy the test environment, then you need to configure something like java, tomcat, etc. Then write the shell to complete the automatic compilation, packaging, and deployment of the application.

2. In addition, Linux has some uses. For example, we found that the backend reported an error during the test. We can go to the Linux server to view and analyze the log, and analyze the log information of the program error.

3. Of course, there are some other uses, such as doing other automated tasks through some shells.

4. Finally, in linux, we can also monitor the server's performance resource usage during performance testing.

Knowledge of linux kernel and release version

1. The abstraction layer between applications

2. The operating system is the core of the computer, and the kernel is the core of the operating system.

3. The development of the kernel is also done step by step, so during the development process, new functions will be constantly updated. Therefore, during the development process, the Linux kernel version is divided into a stable version and a development version. The two versions are interrelated. Circulate each other.

4. Stable version:
With industrial-grade strength, it can be widely used and deployed. Compared with the older version, the new stable version only fixes some bugs or adds some new drivers.

5. Development version:
Due to the need to test various solutions, it changes quickly

6. The Linux kernel version number consists of 3 numbers: rxy
r: the main version of the kernel currently released.
x: An even number indicates a stable version; an odd number indicates a development version.
y: The number of error repairs.

内核版本号每位都代表什么 ?
以版本号为例:4.4.9-5.ELsmp ,
r: 4 , 主版本号
x: 4 , 次版本号,表示稳定版本
y: 9 , 修订版本号 , 表示修改的次数
头两个数字合在一齐可以描述内核系列。如稳定版的2.6.0,它是2.6版内核系列。
[拓展]

5: Represents the 5th fine-tuning patch of the current version, and ELsmp points out that the current kernel is
EL:Enterprise Linux specially tuned for ELsmp ;
smp:indicates support for multi-processors, which means that the kernel version supports multi-processors

7. The Linux distribution (also known as the GNU/Linux distribution) usually includes the
following common distributions including desktop environment, office suite, media player, database and other application software :

Debian
Ubuntu
Redhat
...
CentOS
...
我们学习linux就按Centos发行版本来做操作,我们选择的版本是:centos 6.8,发布于2016年5月30日。内核是2.6.32。

8. Single-system and multi-system
single-user operating system and multi-user operating system
Single-user operating system: refers to a computer can only be used by one user at the same time, and one user alone enjoys all the hardware and software resources of the system

Windows XP 之前的版本都是单用户操作系统
多用户操作系统:指一台计算机在同一时间点可以由 多个用户 使用,多个用户共同享用系统的全部硬件和软件资源
Unix 和 Linux 的设计初衷就是多用户操作系统

9. Linux file system
For linux system:
everything is a file, no matter if you are a directory, an ordinary file, or a device, it is all a file in linux.
Therefore, in order to facilitate further understanding: we have refined the scope of this file:
ordinary files, directory files, device files, link files, executable files, etc.

10. File system
The method responsible for managing and storing files in an operating system is the file system.
The file system is the method and data structure used by the operating system to identify files on a disk or partition. That is, the method of organizing files on the disk. It also refers to the disk or partition used to store files, or the type of file system. Therefore, it can be said that I have 2 file systems, which means that he has 2 partitions, one for storing files, or other extended file systems, which means the type of file system.

Guess you like

Origin blog.51cto.com/14972695/2550331