A complete understanding of Linux interrupt processing

What is an interrupt interrupt   It is a mechanism to notify the CPU after the external device completes some work (for example, after the hard disk completes the read-write operation, it informs the CPU that it has completed through interrupt). In the early days, computers without interrupt mechanism had to query the status of external d ...

Posted by Andy-H on Fri, 19 Nov 2021 17:40:55 +0100

Management of kernel level enhanced firewall in Linux

##########1, Features of Selinux############### 1. ObservationWhen Selinux is not turned on The files created in / mnt are moved to / var/ftp and can be accessed by vsftpd service Anonymous users can upload files after setting Displays "? When viewing a file using ls -Z /var/ftp When selinux is on: The files created in / mnt are mov ...

Posted by hakmir on Fri, 19 Nov 2021 14:27:18 +0100

Package the SpringBoot project as a Docker image

The SpringBoot project is packaged as a Docker image With the development of microservices, service docker has become a trend. This paper records the whole process of packaging the SpringBoot project into docker. catalog: 1. Prepare docker private server environment 2. Service docker packaging configuration 3. Service packaging & run v ...

Posted by SystemLord on Fri, 19 Nov 2021 12:30:38 +0100

Chapter XI process and planned tasks

1. Process and memory management Kernel functions: process management, memory management, file system, network function, driver, security function, etc 1.1 what is a process Process: a copy of a running program, a collection of instructions loaded into memory, and a unit of resource allocation The Process ID (PID) number is used to mark ea ...

Posted by elbowgrease on Fri, 19 Nov 2021 12:25:25 +0100

[learning notes 2021-11-18] use of Apache server

Apache source code installation For Apache source code installation, please see the following blog, which is well written: https://blog.csdn.net/weixin_42313749/article/details/115418935 Apache server summary: 1. The folder of the installed Apache server is: / etc/httpd 2. The default root path folder of the web page is: / var/www/html 3. Th ...

Posted by nomad9 on Thu, 18 Nov 2021 14:58:22 +0100

Using autohotkey to realize the function of "using English punctuation in Chinese" of one key switching input method

As a programmer, especially the old code farmer who can't do anything without vim, the "use English punctuation in Chinese" function of the input method is essential. It allows you to avoid many unnecessary Chinese and English switching operations when writing code. However, this function is a burden when writing documents. Chinese do ...

Posted by websitesca on Wed, 17 Nov 2021 17:43:22 +0100

linux virtual network foundation II

1.5 Route Linux does not have a direct command brctl like creating a virtual Bridge, and it does not have an indirect command. It cannot create a virtual Router... Because it is a Router! However, Linux does not turn on the routing and forwarding function by default. You can use this command to verify: cat /proc/sys/net/ipv4/ip_forward 0 ...

Posted by kotun on Wed, 17 Nov 2021 15:02:30 +0100

Weekly leetcode - realize the basic functions of binary search tree

Data structure and algorithm website recommendation: http://520it.com/binarytrees/ http://btv.melezinek.cz/binary-search-tree.html https://www.cs.usfca.edu/~galles/visualization/Algorithms.html https://yangez.github.io/btree-js https://www.codelike.in 1. Add node to binary search tree: add(E element) public class BinarySearchTree<E ex ...

Posted by blackhawk08 on Wed, 17 Nov 2021 05:37:54 +0100

Seata1.4.2+Nacos construction and use

Seata1.4.2+Nacos construction and use preface seata official website Build environment: mac os spring-boot.version 2.3.7.RELEASE spring-cloud-alibaba.version 2.2.2.RELEASE spring-cloud.version Hoxton.SR9 Database mysql.8.0+ 1, Set up seata1.4.2 server 1. Download seata1.4.2 Download address https://github.com/seata/seata/releases ...

Posted by lemist on Wed, 17 Nov 2021 04:08:58 +0100

How to install Samba on Linux

Linux development is usually coded on Windows, and then the files are transmitted to Linux for compilation. When the project is a little large or multiple people develop at the same time, the whole process will become very cumbersome. If there is a tool that can be implemented, the code written will be synchronized to Linux in real time Samb ...

Posted by Dvector on Wed, 17 Nov 2021 01:55:44 +0100