Linux kernel learning 6 -- code analysis and application of the upper part of interrupt
Here to show you a simple interrupt program in Linux
1, View interrupt
The common application of interrupt is in the driver, such as our keyboard and mouse. Every time we click, an interrupt will be generated, so that the computer can recognize it. The experiment is to virtualize a device, register the device in the system, and then use the i ...
Posted on Tue, 07 Dec 2021 01:23:14 -0500 by jeppers
Install MySQL on alicloud server
1. Download MySQL installation package
Using Huawei image download, the download speed will be faster. The following is the link of Huawei image: https://mirrors.huaweicloud.com/mysql/Downloads/MySQL-8.0/
The version I selected is 8.0.27, which can be downloaded mysql-8.0.27-linux-glibc2.12-x86_64.tar.xz file
2. Upload the in ...
Posted on Mon, 06 Dec 2021 16:30:18 -0500 by MP145
Linked list of linux kernel data structure
1. Foreword
Recently, the linked list structure is needed to write code. It happens that the public library has information about the linked list. At first glance, I feel a little fresh. It is different from the linked list structure I saw before. There are only precursor and successor pointers, but no data fields. Later, looking at the code c ...
Posted on Mon, 06 Dec 2021 15:24:32 -0500 by morpheus.100
docker storage volume management
COW mechanism
Docker image is composed of multiple read-only layers. When the container is started, docker will load the read-only image layer and add a read-write layer at the top of the image stack.
If the running container modifies an existing file, the file will be copied from the read-only layer below the read-write layer to the read ...
Posted on Mon, 06 Dec 2021 14:43:05 -0500 by satal keto
Vim Editor, tmux Use
1. Introduction to VIM
Editing tools in Linux: vi, vim, emacs, gedit
vi is the default text editor installed on Linuxvim is an upgrade of vicentos 7/8 minimum installation, vim is not installed by default
Yum install/remove vim-y install and uninstall software
Coding issues
wiidows: Notepad recognizes vim's text with a line break symbol t ...
Posted on Mon, 06 Dec 2021 12:58:23 -0500 by dkphp2
Linux device driver learning notes - Advanced Character driver operation chapter - Note.3[ioctl interface]
Linux device driver learning notes - Advanced Character driver operation chapter - Note.3[ioctl interface]
When transmitting data between the application layer and the kernel layer, for example, if only 1 and 0 are used to control the operation of LED lights on and off, there are many unstable factors. One byte of data may be changed or lo ...
Posted on Sun, 05 Dec 2021 23:38:30 -0500 by Sikk Industries
Summary of Linux environment variable configuration
01. Linux Environment Variable Configuration
When you customize software installation, you often need to configure environment variables. The following list shows how to configure environment variables.
The environment for all the examples below is illustrated as follows:
System: Ubuntu 14.0 User name: uusama MySQL environment variable p ...
Posted on Sun, 05 Dec 2021 19:26:03 -0500 by andco
Shell pipe directive pipe
Pipe command pipe
1. The pipeline command only processes the standard output, and the standard error output will be omitted.
2. The pipeline command must be able to accept the data from the previous command as standard input to continue processing
Select the commands cut and grep
After analyzing a piece of data, take out what we want. Or take ...
Posted on Sun, 05 Dec 2021 16:29:22 -0500 by willeadie
Installation and use of CMake and cross tool compilation chain
1. Principle
Cmake is a cross platform compilation tool, which is more advanced than make and is much more convenient to use. Cmake mainly writes CMakeLists.txt file, then uses cmake command to convert CMakeLists.txt file into makefile file required by make, and finally uses make command to compile source code to generate executable program or ...
Posted on Sun, 05 Dec 2021 13:33:22 -0500 by earl_dc10
HADOOP learning notes
rpm -qa | grep vim // See what packages vim commands are in
appear vim-minimal-7.4.160-4.el7.x86_64
yum install -y vim* //Install vim related packages
rpm -qa | grep vim see
HADOOP learning notes
1, Install virtual machine (CentOS)
2, Modify host name (host name of current virtual machine)
1. View the current host name
Command: hos ...
Posted on Sun, 05 Dec 2021 08:12:39 -0500 by Rizla