Guidance process and service control

Linux operating system boot process Overview of the boot process 1. Post After the server host is powered on, the CPU, memory, graphics card, keyboard and other devices will be preliminarily tested according to the settings in the BIOS of the motherboard. After the test is successful, the system control will be handed over according to t ...

Posted by KnottyAlder on Sat, 20 Nov 2021 03:46:23 -0800

docker imports and exports images and containers, and deploys projects offline

preparation Intranet environment deployment project, the configuration environment is cumbersome. Use the docker import / export image and container function to create and export the project environment on the networked server, and then import it directly on the intranet server. Offline installation 1. Download docker installation package Do ...

Posted by flashbot on Fri, 19 Nov 2021 20:14:38 -0800

Understanding of aggregation search cluster based on elastic

Let's start with chestnuts, a pile of candy. We want to classify them by color We also seem to find some maximum, minimum and average values (Note: aggregation can be nested) Hot and cold cluster architecture elastic nodes support specified types, such as specifying which nodes are hot nodes and which are cold nodes. There are two configurat ...

Posted by infolock on Fri, 19 Nov 2021 10:34:53 -0800

docker introduction notes

Docker Basic composition of Docker Docker installation uname -r view system kernel Cat / etc / OS release to view the system configuration [root@palmer docker]# cat /etc/os-release NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o ...

Posted by OLG on Fri, 19 Nov 2021 00:37:55 -0800

Detailed explanation of linux tput command

1. Introduction The tput command initializes and operates your terminal session through the terminfo database. Using tput, you can change several terminal functions, such as moving or changing the cursor, changing text properties, and clearing specific areas of the terminal screen. Like most commands in UNIX, the tput command can be used ...

Posted by ultk on Thu, 18 Nov 2021 07:47:10 -0800

python numpy library summary

Guide map of this section: https://www.processon.com/view/link/5fcc5e81f346fb3fc8776929 1. 1. ndarray object 1.1 why ndarray list problem The element of Python list can be any object, and the pointer of the object is saved in the list. For example, storing [1, 2, 3] requires three pointers and three integer objects, which wastes memory ...

Posted by gammaman on Thu, 18 Nov 2021 05:02:05 -0800

==The difference between and equals

We use string comparison to demonstrate the difference between = = and equals: First, clarify three points: 1. = = compares whether two references point to the same object. 2. The equals method of String class in Java has been rewritten. It compares whether the contents of two strings are equal. The 3.equals method is as like ...

Posted by sgalatas on Wed, 17 Nov 2021 16:19:53 -0800

curl get request time statistics

When testing http services, you usually use curl to send http requests to the server. Curl will simulate the browser's request and help you establish a tls/ssl connection with the server. Sometimes we want to get the time-consuming in the request process to optimize the client experience. At this time, we usually use the - w parameter of curl. ...

Posted by creekriot on Tue, 16 Nov 2021 22:21:40 -0800

Package and generate an executable jar package using Maven implementation: detailed configuration explanation is attached

1. Demand The project shall be packaged to meet the following requirements: 1. Make a Zip package for the whole project, including the application, the jar package that the application depends on, and the documentation 2. The jar package of the project can execute the Main function in different classes 3. The jar package of the project source ...

Posted by tgavin on Tue, 16 Nov 2021 20:07:42 -0800

Prometheus data storage, clustering and high availability

1. Prometheus storage bottleneck It can be seen from the architecture diagram of prometheus that prometheus provides local storage, that is, tsdb timing database. Advantages of local storage Using local storage can reduce the complexity of Prometheus deployment and management, and reduce the complexity caused by high availability (HA). ...

Posted by phpsharma on Tue, 16 Nov 2021 19:34:55 -0800