Linux driven development_ Detailed explanation of dev, devfs, sysfs, udev, proc device file system and introduction of kobject structure

  catalogue What is a device manager? The function of dev under Linux Devfs sysfs kobject udev proc What is a device manager? The device manager is responsible for managing the peripherals on this computer. When we insert a keyboard and mouse through the USB port provided by the computer, the device manager will communicate with it t ...

Posted by Dennis1986 on Thu, 10 Feb 2022 13:27:18 +0100

[Linux] software package management super detailed notes

Introduction to software package management Software package classification Source package The source package needs to be compiled into binary package before installation, so the installation is slow. There is also a special package called script installation package in the source package. This package does not need to be installed manua ...

Posted by direwolf on Thu, 10 Feb 2022 13:04:36 +0100

Actual combat wsl2 0 arm cross tool chain - step pit cross compilation incompatibility

Actual combat wsl2 0 arm cross tool chain - step pit cross compilation incompatibility environment Cross compiler: arm linux gnueabihf-4.9.4-2017.01-linaro is installed in VMware UBUNTU 18.04 x64 and WSL 2.0 UBUNTU 20.04 x64 (non docker environment). The installation package gcc-linaro-4.9.4-2017.01-x86 is downloaded from the official website ...

Posted by chmpdog on Thu, 10 Feb 2022 11:08:30 +0100

Linux compiles mplayer to play badapp and compiles fbv to load pictures (based on V3S)

Linux compiles mplayer to play badapp and compiles fbv to load pictures (based on V3S) 1. Preparation before compilation: 1.linux5.10 kernel 2.2018.02bulidroot 3.v3s board 2.linux kernel configuration 1. Modify the device tree (under linux-5.10/arch/arm/boot/dts/) 1. Modify sun8i-v3s Add the following code to the location of the last dma o ...

Posted by arun4444 on Thu, 10 Feb 2022 07:19:40 +0100

Qt open source works | young man, write a Launcher for your Linux system

Today, I'd like to share with you how to implement a launcher (program launcher) with Qt. Operation effect: github link: https://github.com/alamminsalo/qml-launcher There is little code, and the C + + part is about 100 lines of code. The following is the implementation process. 1. Create QML application In Qt Creator, click: -&gt ...

Posted by billcoker on Thu, 10 Feb 2022 06:17:52 +0100

rsync+inotify real-time synchronization

1, Rsync server (1) Introduction to rsync Rsync is an open source, fast, multifunctional and excellent tool that can realize full and incremental local or remote data synchronous backup. And the attribute information of the original data can not be changed to realize the backup and migration characteristics of the data.Rsync software is a ...

Posted by pbase on Thu, 10 Feb 2022 06:05:55 +0100

Linux basic command disk management

1, Disk Foundation 1.1 disk structure Physical structure of hard disk Disc: the hard disk has multiple discs, each disc has 2 sidesMagnetic head: one magnetic head on each side Data structure of hard disk Sector: the disk is divided into multiple sector areas, and each sector stores five 12 bytes of dataTrack: concentric circles wit ...

Posted by andre3 on Thu, 10 Feb 2022 04:58:07 +0100

FastDFS distributed file system

1. Introduction to fastdfs FastDFS is an open source distributed file system. It manages files. Its functions include file storage, file synchronization and file synchronization Access (file upload, file download) and so on, which solves the problems of mass storage and load balancing. It is especially suitable for online service with doc ...

Posted by Shaba1 on Thu, 10 Feb 2022 02:49:38 +0100

Virtualization network theme - Namespace

Namespace Namespace is a global resource isolation scheme provided by the Linux kernel. Programs running in a specific namespace think that all resources in the system are exclusive, just like owning an independent physical machine. Processes in different namespace spaces are completely isolated, and processes in one namespace space are comple ...

Posted by Earnan on Thu, 10 Feb 2022 01:41:34 +0100

Load balancing proxy

Load balancing is used to schedule nodes, so you only need to set the transfer on the server equipped with load balancing The conf file can be directed to the relevant server. It can be tested by a single server first, but since it is a scheduling server, it must not be one server, Load balancing transfers the of a single machine conf conf ...

Posted by cags on Wed, 09 Feb 2022 23:42:25 +0100