[Preliminary Linux] File system image: Initranfs and Initrd

Introduction to initramfs and initrd _In the / boot directory, there is usually a / boot/initrd.img file or a / boot/initramfs.img file. _There are two questions now. The first one is why you need initrd or initramfs? The answer is, to reduce the size of the Linux kernel (Kernel). The Linux kernel executes the init process after initializatio ...

Posted by Prodigal Son on Sun, 19 Sep 2021 12:55:22 -0700

Shared memory for inter process communication

catalogue 1, Principle of inter process communication based on shared memory 2, Manage shared memory data structures 3, Shared memory function 4, Realize interprocess communication Connect to blog: Inter process communication pipeline 1, Principle of inter process communication based on shared memory         Shared ...

Posted by stephenk on Sun, 19 Sep 2021 09:28:44 -0700

Beginners can also learn, from 0 to the Deployment yolov5 tutorial, Windows Linux PC arm Jeston Platform-wide Deployment-

Continue with the previous article on training your own dataset using yolov5. This article will show you how to deploy yolov5 using Msnhnet on windows and linux, pc and jetson nx platforms. pytorch model to msnhnet Open the terminal under the yolov5 folder. Copy best.pt to the weights folder. Execute python yolov5ToMsnhnet.py The content ...

Posted by Matth_S on Sun, 19 Sep 2021 08:56:36 -0700

02--02 Interprocess Communication - Message Queuing, and Code Implementation

1. What is a message queue Message queuing provides a way to send a data block from one process to another.Each data block is considered to contain a type, and the receiving process can independently receive different types of data structures. We can avoid the synchronization and blocking of named pipes by sending messages. However, message qu ...

Posted by shturm681 on Sat, 18 Sep 2021 21:32:51 -0700

The cerbot command requests a free ssl certificate

Introduction: Theoretically, we can also manually create an SSL security certificate, but the security certificate issued by ourselves is trusted by the browser, so we need the security certificate issued by the trusted certificate authority (CA). The general SSL security certificate issuing service requires payment and is expensive. However, ...

Posted by FortMyersDrew on Sat, 18 Sep 2021 11:02:13 -0700

linux series: tell him he doesn't know kill at all

brief introduction I have dealt with many programmers. These programmers may be familiar with several ways of writing for traversal, but they know nothing about the environment in which the written program is deployed. I bet few programmers know how tomcat works after spring boot. For them, running a jar package is done. The advanced nature o ...

Posted by GoodGuy201 on Sat, 18 Sep 2021 03:32:31 -0700

How to efficiently learn Nginx source code and absorb nutrients?

There are many function points of Nginx, and the new concepts and design ideas involved are not particularly friendly to novices. I suggest learning the Nginx source code through debugging after understanding some basic knowledge of Nginx. The following operations require some gdb debugging knowledge. If you are not familiar with gdb debugging ...

Posted by Arab Prince on Fri, 17 Sep 2021 16:43:10 -0700

Thread synchronization - mutex recommended lock

Thread synchronization Concept of synchronization The so-called synchronization means starting at the same time and coordinating. Different objects have a slightly different understanding of "synchronization". For example, equipment synchronization refers to specifying a common time reference between two equipment; Database synchron ...

Posted by shahansudu on Fri, 17 Sep 2021 15:41:39 -0700

stm32mp157 wm8960 audio driver debugging notes

The debugging wm8960 audio driver encountered a lot of pits. After several days of research, it was finally debugged. Drive commissioning steps Whether the driver can be loaded successfully is not only the first step of debugging, but also one of the most critical steps. 1. View the hardware schematic diagram: 2. Open the corresponding devi ...

Posted by boiy on Fri, 17 Sep 2021 07:52:39 -0700

Jenkins sonar continuously integrates, detects and sends build emails

Jenkins sonar continuously integrates, detects and sends build emails 1. Preliminary preparation 1. Deploy jenkins services 2.Jenkins server modifies the domain name resolution of gitlab The modification command of Linux is as follows: vi /etc/hosts 192.168.10.248 gitlab.rivamed.cn/ Docker settings are as follows docker exec <contai ...

Posted by jackofalltrades on Fri, 17 Sep 2021 07:12:56 -0700