LINUX learning basics LVM logical volume management

LVM logical volume management brief introduction LVM is the abbreviation of Logical Volume Manager (logical volume management). It is a mechanism for managing disk partitions in Linux environment, which can dynamically adjust the partition size. Physical volume (PV): a real physical hard disk or partition.Volume group (VG): multiple phys ...

Posted by R1der on Fri, 04 Feb 2022 12:12:04 +0100

docker's nginx image optimization 4

Thin images have been selected, so reduce the number of layers of images and merge the previous runs together. Switch WORKDIR to cd under RUN Previous Dockerfile: FROM rhel7 EXPOSE 80 VOLUME ["/usr/local/nginx/html"] COPY dvd.repo /etc/yum.repos.d/dvd.repo RUN rpmdb --rebuilddb RUN yum install -y gcc pcre-devel zlib-devel ADD nginx-1.18.0.tar ...

Posted by pradeepknv on Fri, 04 Feb 2022 06:17:55 +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&gt ...

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

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

page fault of linux (AMD64 Architecture) (handle_mm_fault)

handle_mm_fault is an architecture independent page fault processing part, which is mainly processed according to the virtual address of page fault, the corresponding vma found in the above steps and the specific error type of flag after error code conversion. It is the core function of the kernel to process page fault. Its interface is as foll ...

Posted by hehachris on Wed, 02 Feb 2022 15:43:21 +0100

Introduction to rsyslog system log service

rsyslog RSYSLOG is the rocket-fast system for log processing. rsyslog is a system management service of CentOS 6 and later It provides high performance, excellent security and modular design.Although the rsysd is originally developed as a recording tool from different sources in Switzerland, it can accept the output of sysysd.When limite ...

Posted by AaZmaN on Wed, 02 Feb 2022 14:04:22 +0100

Docker Compose container orchestration

catalogue Docker Compose overview compose features Multiple isolated environments on a single host Preserve volume data when creating containers Recreate only changed containers Variables and moving combinations between environments yml file format Common fields of docker compose configuration docker compose common commands Docker ...

Posted by jskywalker on Wed, 02 Feb 2022 00:35:53 +0100

Introduction to installing GIT and git commands under Linux

preface Environment: CentOS 7 9 git version 1.8.3.1 Git official website https://git-scm.com/ Install Git [root@git ~]# yum install git #git installation, directly use yum to install View version [root@git ~]# git --version #View git version git version 1.8.3.1 git personal identity settings Git is a distributed version co ...

Posted by knox203 on Tue, 01 Feb 2022 20:52:16 +0100