Nginx from installation to high availability

1, Nginx installation 1. Go to the official website http://nginx.org/ Download the corresponding nginx package. It is recommended to use a stable version 2. Upload nginx to linux system 3. Installation dependent environment (1) Install gcc environment yum install gcc-c++ (2) Installs the PCRE library for parsing regular expressions yum  ...

Added by mrdance on Wed, 29 Dec 2021 18:57:34 +0200

ansible Automation - system role example < x >

1ansible role introduction The ansible role provides a function that allows users to easily reuse ansible code in a general way. You can package all environment, files, variables, templates and other resources in the traditional directory structure. You only need to copy a directory and call the roles role. The ansible role can pass v ...

Added by ozconnect on Wed, 29 Dec 2021 13:28:40 +0200

Operating system family - detailed explanation of target files

Previous address: Operating system series - operating system overviewOperating system Series II - processOperating system series 3 -- compilation and link relationshipOperating system series 4 - stack and function call relationship Theme of this issue: Detailed explanation of target file 1. Definition and classification of target doc ...

Added by triphis on Wed, 29 Dec 2021 00:22:59 +0200

ACL access control list

1, Introduction Access control list (ACL) is a list of instructions (i.e. rules) applied to the router interface. These instruction lists are used to tell the router which packets are acceptable and which packets need to be rejected. 1. Working principle ACL uses packet filtering technology to read the information in the layer 3 and laye ...

Added by yaatra on Tue, 28 Dec 2021 21:32:42 +0200

Introduction to Linux threads (create exit detach join)

1. Thread in process In the figure above: On the left is a process with a single thread, which has its own complete set of resources. On the right is a process with two threads. Threads share resources in the process with each other. It can be seen that thread is a lightweight process, which provides an efficient way of task processing. ...

Added by kalpesh on Tue, 28 Dec 2021 15:03:40 +0200

06|Use your Docker container

I've talked a lot about the principles before, and I've basically explained the general principles of Docker once. This time, we'll run an example to use the Docker container. Let's start by writing a simple web server program, hello, in Go. Go, and then run it with Docker. The source code for the Go program is as follows: package main impor ...

Added by barry_p on Tue, 28 Dec 2021 11:55:15 +0200

DequeContainer Basic Operations

Introduction to Deque_Dequeis "double-ended" The abbreviation for queue, like vectors, is a container of STL, deque is a double-ended array, and vectors are single-ended. DequeQue is very similar to vector s in interface and can be replaced directly in many operations. _Dequecan access elements randomly (supports direct access to inde ...

Added by llcoollasa on Tue, 28 Dec 2021 11:32:40 +0200

CentOS 7 enables ssh Remote Login with the method of modifying the host name

1. Prepare openssh server Enter the following command to check whether openssh server is installed. If it is installed, the corresponding information will be output [root@sagecat ~]# yum list installed | grep openssh openssh.x86_64 7.4p1-21.el7 @anaconda openssh-clients.x86_64 7.4p1-21 ...

Added by Havery Jay on Tue, 28 Dec 2021 11:28:09 +0200

Analyzing Linux interprocess communication

Purpose of interprocess communication Data transfer: one process needs to send its data to another process Resource sharing: multiple processes share the same resources. Notification event: a process needs to send a message to another process or group of processes to notify it (them) of an event (such as notifying the parent process when t ...

Added by djr587 on Tue, 28 Dec 2021 11:02:17 +0200

Introduction to ElasticSearch and its deployment, principle and use

Introduction to ElasticSearch and its deployment, principle and use Chapter 1: introduction to elastic search Elasticsearch is a Lucene based search server. It provides a distributed multi-user full-text search engine based on RESTful web interface. Elasticsearch is developed in Java and released as an open source under the Apache license ter ...

Added by parijat_php on Tue, 28 Dec 2021 09:46:24 +0200