Overview of linux namespace

What is the namespace of linux About the linux namespace, Official documents Here's what it says: A namespace wraps a global system resource in an abstraction that makes it appear to the processes within the namespace that they have their own isolated instance of the global resource. Changes to the global resource are visible to other proc ...

Added by daveh33 on Sun, 30 Jan 2022 23:05:55 +0200

How to synchronize directory contents of different linux servers in two directions

a purpose The purpose of this paper is to solve the problem of directory difference between two servers, that is, you can write or delete any content in the specified directory of A and B servers, and it will be synchronized to another server, that is, to achieve high availability of file storage and reading. environment Server information ...

Added by mbabli on Sun, 30 Jan 2022 13:40:32 +0200

Basics of nginx

1, Basic concepts nginx: high performance HTTP and reverse proxy server, supporting hot deployment, high concurrency, reverse proxy, load balancing, dynamic and static separationForward proxy: the client configures a proxy server to directly access the browser. This method is called forward proxy.Reverse proxy: the client accesses the prox ...

Added by Roger Ramjet on Sun, 30 Jan 2022 08:12:14 +0200

Large file upload: second transmission, breakpoint continuous transmission and fragment upload

File upload is an old topic. When the file is relatively small, you can directly convert the file into a byte stream and upload it to the server. However, when the file is relatively large, it is not a good way to upload it in an ordinary way. After all, few people will tolerate it. When the file is interrupted in the middle of uploading, It's ...

Added by phpsir on Sat, 29 Jan 2022 20:14:38 +0200

LVS introduction and NAT mode configuration and implementation of Linux Enterprise load cluster

1, Introduction to LVS 1.LVS(Linux Virtual Server), load scheduler, kernel integration 2.LVS architecture The server cluster system based on LVS architecture consists of three parts: Loader balancer (load balancing layer), server array (middle server group layer) and shared storage (data shared storage layer). 3. Working principle of LVS When ...

Added by Z3roDowner on Sat, 29 Jan 2022 17:30:41 +0200

Kernel modular programming

catalogue Introduction to the concept of kernel module Dynamic modular programming framework Module loading function Module unloading function Open source protocol and declaration of module Module compilation Makefile template Programming steps of single module 1 write the kernel module file test c 2. Write Makefile 3 compile and gene ...

Added by Morbius on Sat, 29 Jan 2022 15:01:36 +0200

SRS streaming media server - source code analysis - simple analysis of basic process

SRS streaming media server - source code analysis - simple analysis of basic process preface The Department plans to use SRS to build a live broadcast source station, which is my responsibility. Therefore, I take this opportunity to learn about SRS, which is also an opportunity for me to improve. Recently, I also started to build clusters of ...

Added by mikeatrpi on Fri, 28 Jan 2022 07:29:52 +0200

Detailed explanation of Tomcat server configuration in Linux Environment

Detailed explanation of Tomcat server configuration in Linux Environment Tomcat server is a free open source Web application server. Tomcat runtime occupies small system resources, has good scalability, supports load balancing, mail service and other functions commonly used in developing application systems. Tomcat is a small lightweight a ...

Added by snaack on Thu, 27 Jan 2022 23:12:30 +0200

Linux system programming - process creation (fork), external program call (exec)

1. Introduction to fork function fork function is a very important function in linux. It can create a new process from an existing process. The new process is a child process and the original process is a parent process. The return value of fork function is as follows: 1. In the parent process, fork returns the PID number of the newly created ...

Added by adamjblakey on Thu, 27 Jan 2022 22:24:43 +0200

Deployment of primary and standby clusters of Dameng database

1, Network configuration: Database server name db0 (host) db1 (standby) dmm (monitor) Business service name dm_server Service IP 192.168.222.129 192.168.222.128 Heartbeat IP 10.10.1.115 10.10.1.116 10.10.1.117 PORT_NUM 5236 MAL_PORT 7336 MAL_DW_PORT 7536 MAL_INST_DW_PORT 7436 MAL_INST_PORT (consistent with PORT_NUM) ...

Added by awais_ciit on Thu, 27 Jan 2022 14:09:15 +0200