Gentoo Linux quick installation record
Last updated: February 2, 2022
Write before:
Why should I use gentoo It's not because of suffering philosophy. It's not difficult to install Gentoo. It just takes time When I first came into contact with Linux, I chose Gentoo. At first, it was because of the inexplicable pleasure of full screen code scrolling during compilation~ People h ...
Posted by thangappan on Thu, 03 Feb 2022 08:53:12 +0100
Linux kernel learning 10 -- writing character device drivers
I
In the linux kernel, the character device is described by the cdev structure, which is located in / include / linux / cdev H medium
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_CDEV_H
#define _LINUX_CDEV_H
#include <linux/kobject.h>
#include <linux/kdev_t.h>
#include <linux/list.h>
#include <linux/device.h> ...
Posted by CBG on Thu, 03 Feb 2022 07:41:40 +0100
LNMP's Nginx! Service deployment and various uses of configuration files
1, Overview
1.1 about Nginx
Like Apache, nginx uses modular design. Nginx module includes built-in module and third-party module, in which the built-in module includes main module and event moduleSimply put, both apache httpd and nginx are web servers, but they adapt to different scenarios, that is, they focus on solving different problem ...
Posted by iamyespee on Thu, 03 Feb 2022 06:02:28 +0100
Children's day teaches you to do a C# picture matching game
First of all, I wish programmers a happy children's Day (* ^ ▽ ^ *)
Game learning is useless. Take it home and coax the children
OK, don't talk much, go straight to talent! EG Emon, EG Emon, EG Emon, EG Emon (there is a link to the finished game at the end of the article. My favorite little partner has three links with one button)
1. ...
Posted by thoand on Thu, 03 Feb 2022 05:47:08 +0100
linux memory management - partner allocator
There are three memory allocators in linux: boot memory allocator, partner allocator and slab allocator
Partner distributor
After the initialization of the system kernel, the page allocator is used to manage the physical pages. When the page allocator is a partner allocator, the partner allocator is characterized by simple and efficient algor ...
Posted by miligraf on Thu, 03 Feb 2022 04:00:06 +0100
Advanced linux learning foundation
Linux learning
linux Process
Process concept From the perspective of users: a process is a running program. From the perspective of operating system: when the operating system runs a program, it is necessary to describe the running process of the program through a structural task_struct {}, collectively referred to as PCB, so for the oper ...
Posted by abhi_madhani on Thu, 03 Feb 2022 03:18:00 +0100
Linux system programming - process concept, process management, signal processing
1. Process knowledge points
The process in the operating system is the process of one-time execution of the program and the basic unit of dynamic execution of the operating system; Whenever a new process is created, the operating system will assign a unique identifier to the new process to facilitate subsequent management of the process.
The ...
Posted by RIRedinPA on Thu, 03 Feb 2022 02:25:01 +0100
Linux disk (hard disk) configuration
1, Basic knowledge
1 hard disk classification
Common disk typesexplainpictureSAS hard disk(Serial Attached SCSI) Serial Attached SCSI interface. Serial attached small computer system interface is a new generation of SCSI technology. Like the popular Serial ATA(SATA) hard disk, it adopts serial technology to obtain higher transmission speed, a ...
Posted by jcvertin on Wed, 02 Feb 2022 21:32:02 +0100
Introduction to assembly language
Introduction to assembly language
Introduction to assembly language 1: Environmental preparation
Execution:
sudo apt-get update
Execution:
sudo apt-get install nasm
Check: New file: vi t.c
int main() {
return 0;
}
New file: first asm
global main
main:
mov eax, 0
ret
Compile to generate first file (32-bit system): ...
Posted by yitanpaocai on Wed, 02 Feb 2022 20:45:55 +0100
APUE reading notes
UNIX Basics
reaction to a book or an article:
This chapter is an introduction to Unix. The author summarizes the basic knowledge of Unix in concise language and feels that it is written clearly.
UNIX architecture
Strictly speaking, the operating system can be defined as a kind of software, which controls the computer hardware resourc ...
Posted by lostprophetpunk on Wed, 02 Feb 2022 20:42:25 +0100