nginx installation and building lnmp and Forum

nginx installation and operation control Compile and install nginx Install support software The configuration and operation of nginx need the support of pcre, zlib and other software packages Install pcre and zlib You need to mount the Centos image during installation. Clear the yum source [root@centos ~]# yum -y install pcre-devel ...

Posted by mechamecha on Wed, 09 Feb 2022 23:00:09 +0100

vmstat command of Linux

[quick reference manual of Linux common commands] pay attention to [entry station], and the background replies to "1001" for self access.Vmstat is the abbreviation of virtual memory statistics, which can monitor the virtual memory, process and CPU activity of the operating system. He makes statistics on the overall situation of the sy ...

Posted by Enlightened on Wed, 09 Feb 2022 21:46:13 +0100

kvm storage pool and storage volume management configuration (directory based, NFS based, partition based)

Storage pool Files, directories, or storage devices managed by libvirt are provided to virtual machines. Storage pools are divided into storage volumes that hold virtual images or connect to virtual machines as additional storage. Command: virsh storage pool related commands pool-autostart Automatically start a pool pool-build Build pool p ...

Posted by gevo12321 on Wed, 09 Feb 2022 20:43:16 +0100

Basic use of Linux commands

basic operation Linux shutdown, restart # Shut down shutdown -h now # restart shutdown -r now View system and CPU Information # View system kernel information uname -a # View system kernel version cat /proc/version # View current user environment variables env cat /proc/cpuinfo # See how many logical CPUs are available, including cpu ...

Posted by mountaindave on Wed, 09 Feb 2022 20:00:11 +0100

linux kernel linked list structure

preface Look at the source code of linux kernel. You can't get around the double linked list structure of linux kernel. This article will introduce the double linked list structure in the kernel. because The hook of LSM is inserted into the bpf system call Therefore, we need to take a brief look at the hash table structure. Kernel code r ...

Posted by sava on Wed, 09 Feb 2022 19:29:47 +0100

Static compilation of QT based on different CPU architectures and related problems

Recently, when compiling linux client, there was a bottleneck. Different CPU + operating system + kernel versions caused more and more cumbersome client maintenance. In order to improve maintenance efficiency and reduce maintenance cost, we decided to adopt static compilation. Because it was years ago, many errors encountered during compilation ...

Posted by CWebguy on Wed, 09 Feb 2022 18:57:32 +0100

LINUX common commands

Although most of my work is Java related development, I am exposed to Linux every day, especially after using Mac. I work in the command line environment with black background every day I don't have a good memory. I can't remember many useful linux commands very well. Now I'll summarize them gradually for later viewing. basic operation Linux ...

Posted by MoldRat on Wed, 09 Feb 2022 17:46:42 +0100

CentOS7 firewall tutorial

1. Introduction 1.1 INTRODUCTION A firewall is a way to protect a machine from any unwanted external communication. It allows users to control the incoming network traffic on the host by defining a set of firewall rules. These rules are used to sort incoming traffic, either block it, or allow it to pass. firewalld is a firewall service daemon ...

Posted by austingecko on Wed, 09 Feb 2022 16:05:24 +0100

Experiment 33 of operating system truth restoration experiment record: realizing system call wait and exit

Experiment 33 of operating system truth restoration experiment record: realizing system call wait and exit 1.wait, exit, orphan process, zombie process exit is called by the subprocess. On the surface, its function is to make the subprocess finish running and pass the return value to the kernel. In essence, the kernel recovers all resources o ...

Posted by barbgd on Wed, 09 Feb 2022 14:56:03 +0100

Hongmeng kernel source code analysis (relocation article) | foreign spokesperson in line with international standards | 100 blog analysis of HarmonyOS source code | V55 01

Study HarmonyOS | Hongmeng to the end < domestic |Abroad > A hundred blog series This article is: v55.xx Hongmeng kernel source code analysis (relocation chapter) | external spokesman in line with international standards | 51 .c .h .o This article is a continuation of the following articles. It is suggested to read it first v54. ...

Posted by monkuar on Wed, 09 Feb 2022 12:47:40 +0100