cmake, cpp compilation, so
Introduction to CMake - know almost 0 Sequential CMake is a cross platform open source construction tool. Using CMake can easily manage the directory hierarchy that depends on multiple libraries, generate makefile s, and use GNU make to compile and connect programs. 1. Build a single file 1.1 compile using GCC suppose now we want to write a fun ...
Added by will_1990 on Fri, 14 Jan 2022 11:44:07 +0200
zabbix monitoring of enterprise operation and maintenance -- alarm platform and distributed
1. Use of alarm platform
Here, we choose to combine with Ruixiang cloud to build the alarm platform;
register
Link: link Register;
After registration, click the CA on the left to enter the alarm platform for configuration, combined with zabbix;
Click the monitoring zabbix to be combined; Then the following interface appears:
Enter ...
Added by subrata on Fri, 14 Jan 2022 10:13:53 +0200
Ansible fact cycle condition judgment
Ansible fact
Ansible is actually a variable that ansible automatically detects on the managed host. The fact contains host related information that can be used like regular variables, conditions, loops in play, or any other statement that depends on the values collected from the managed host.
Some of the facts collected for managed hosts may ...
Added by alex_savin on Fri, 14 Jan 2022 09:26:23 +0200
Loki configures the collection of haproxy logs
preface
As a load balancer, haproxy can effectively share the access load of applications and help applications avoid single point risk to a certain extent. Sometimes, there is a need to analyze data from haproxy logs. In a current environment, haproxy is used as the load balancer of the back-end query interface to capture the key informat ...
Added by Redlightpacket on Fri, 14 Jan 2022 05:40:38 +0200
Introduction to mysql engine, log summary, master-slave principle, xtrabackup for full plus incremental plus binlog database recovery
mysql service 1
1. Summarize the common storage engines and characteristics of mysql.
show engines; View database engines supported by the database
MyISAM engine features:
Transaction not supportedRead and write are mutually exclusive and cannot be read or written at the same timeForeign keys are not supportedRead and write data faster an ...
Added by RightNow21 on Fri, 14 Jan 2022 04:11:54 +0200
Linux user and rights management
This is the second article in the linux series. I thought Shell would be OK after writing it. But after careful combing, I found that I either knew a little about Linux or forgot it. In that case, you'd better review what you encounter. This paper attempts to solve the following problems
How to do user management in LinuxRelationship between u ...
Added by telvitajoel on Thu, 13 Jan 2022 17:39:54 +0200
Prometheus monitoring practice series 20: monitoring Kubernetes clusters (Part 2)
This article continues from the previous article. In this article, we will explain how Prometheus uses the service discovery function based on Kubernetes to retrieve target information and monitor it.
In terms of monitoring strategy, we will mix white box monitoring and black box monitoring to establish a comprehensive monitoring coverage incl ...
Added by gm04030276 on Thu, 13 Jan 2022 17:21:04 +0200
/etc/rancher/node/password try enabling a unique node name with the --with-node-id flag
[root@localhost tls]# k3s -v k3s version v1.22.5+k3s1 (405bf79d) go version go1.16.10
My k3s version 1.22.5+k3s1
At k3s v1 After 20.2
Rancher Docs: Architecture
How proxy node registration works
The agent node registers with the websocket connection started by the k3s agent process, and the connection is maintained by the client load bal ...
Added by snowdog on Thu, 13 Jan 2022 08:38:50 +0200
Routine work performed by loop crond
1, The routine work scheduling of loop execution is controlled by the system service crond. We can also restrict the use of crontab user accounts.
/etc/cron.allow writes the account that can use crontab into it. If the user is not in the file, crontab cannot be used. /etc/cron.deny writes accounts that cannot use crontab into it. Users who are ...
Added by w00kie on Thu, 13 Jan 2022 05:00:09 +0200
RH358 configure Web server -- configure Web server using Nginx
RH358 configure Web server – configure Web server using Nginx
Introduce the basic application and configuration of Nginx. As a basis for understanding and application.
1. Install Nginx
Nginx is an alternative to Apache HTTP server and one of the most widely used web servers on the Internet. One of its design goals is to provid ...
Added by SilverFoxDesign on Wed, 12 Jan 2022 19:34:28 +0200