Linux driver development learning notes 0-1 led module

Learning record - based on teacher Wei Dongshan's tutorial String driven development process (1) Determine the main equipment number (2) Define your own file_operation structure (3) Implement the corresponding drv_open,drv_write and other functions (4) Write an entry function to register the driver (5) Write an exit function to unload the driv ...

Posted by ereimber on Thu, 13 Jan 2022 21:05:05 +0100

Bigemap offline map publisher for Linux

Bigemap offline map publisher for Linux I. environmental inspection Before installing Bigemap Server, you need to install the following dependencies: WgetOpenSSL (optional)DockerDocker Composeunzip Wget, OpenSSL and unzip are all required by the Bigemap Server installation script. Docker and Docker Compose are service running and integr ...

Posted by modcar on Thu, 13 Jan 2022 20:42:17 +0100

Centos7. Install mysql8 version on X

Pre installation instructions Differences between CentOS6 and CentOS7 in MySQL usage: 1. Firewall: 6 yes iptables,7 yes firewalld 2. Command to start the service: 6 yes service,7 yes systemctl Installation of MySQL for Linux 4 major versions of MySQL MySQL Community Server The community version is open source, free to download, but doe ...

Posted by kessels1234 on Thu, 13 Jan 2022 17:15:11 +0100

iptables learning notes

Linux-IP tables Brief introduction Netfilter is a Linux 2.4 kernel firewall framework proposed by Rusty Russell. The rules set by Netfilter are stored in the kernel space, while iptables is an application layer application. It modifies XXtables(Netfilter configuration table) stored in the kernel space through the interface released by Netfilt ...

Posted by lives4him06 on Thu, 13 Jan 2022 14:51:44 +0100

Shared memory for Linux interprocess communication

Shared memory allows two unrelated processes to access the same logical memory. It is a very effective way to transfer data between two running processes. Most of the specific implementations of shared memory arrange the memory shared by different processes into the same physical memory. Shared memory is a special address range created by I ...

Posted by FidelGonzales on Thu, 13 Jan 2022 12:27:20 +0100

Method of controlling ubuntu backlight brightness using Qt

development environment Operating system: ubuntu20 four point three Hardware: Intel J1900 integrated industrial control screen Development environment: QT6 twenty-two preface In embedded program development, code is needed to complete the brightness control of the display screen. For example, when the user does not operate for a peri ...

Posted by trev on Wed, 12 Jan 2022 20:23:15 +0100

Detailed explanation of SSH Service -- local command calling remote host

Detailed explanation of SSH service (IV) -- local calling command of remote host The SSH server runs on ubuntu 18.04.1SSH client in Windows10 This section mainly explains that ssh calls commands on the remote host locally without logging in to the remote host shell Application scenario: In the actual shell script writing process, you need t ...

Posted by -Karl- on Wed, 12 Jan 2022 19:42:34 +0100

Linux (enterprise) - k8s(pod lifecycle / controller)

1. pod life cycle init container Case: when the service monitored by the init container is not configured, the main container and init container cannot start normally apiVersion: v1 kind: Pod metadata: name: myapp-pod labels: app: myapp spec: containers: - name: myapp-container image: busyboxplus command: ['sh', ' ...

Posted by ashwood on Wed, 12 Jan 2022 08:38:44 +0100

Linux firewall -- IPtables configuration strategy

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python practical quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 Reading catalog 1, Introduction to firewall2, Introduction to IPtables3, iptables package filtering process iptables workflow 4, 4 Table 5 chain ...

Posted by curb on Tue, 11 Jan 2022 22:24:15 +0100

Memory Forensics--

Memory Forensics Forensics file suffix raw,. vmem,. imgCommon commands (imageinfo, pslist, dumpfiles, memdump)Suspicious process (notepad, cmd)Combined with disk ForensicsUnderstand some operating system principlesCommon file suffixes dmg, img Volatile basic commands You can use the - h parameter to get the usage method and plug-in introduct ...

Posted by ababmxking on Tue, 11 Jan 2022 15:58:38 +0100