Docker gitlab / gitlab CE upgrade

reason: It is found that the server occupies 100% of the memory. Execute the command to check the memory usage ps aux | head -1;ps aux |grep -v PID |sort -rn -k +4 | head -20   It is found that the / tmp/juma directory occupies too much memory, but the local directory does not have the / tmp/juma directory. Through search and troubles ...

Posted by Paul Ferrie on Thu, 09 Dec 2021 02:43:56 +0100

Linux Capability exploration experiment

Linux Capability exploration experiment Experimental description In this experiment, we will feel the advantages of linux capability function in access control, master the purpose of using Capability to comply with the principle of minimum permission, and analyze the design of access control based on Capability in linux. Environment construc ...

Posted by jake2891 on Thu, 09 Dec 2021 01:53:35 +0100

Variable and encryption in Ansible

##1. Variable naming## It can only contain numbers, underscores and letters Can only start with an underscore or a letter ##2. Variable level## overall situation:          Set from the command line or configuration file paly:          Set in play and related stru ...

Posted by buceta on Wed, 08 Dec 2021 19:57:41 +0100

Load balancing haproxy (layer 7)

Implementation environment: server1 server2 server3 1. Load balancing with haproxy [root@server1 ~]# yum install haproxy -y install software [root@server2 ~]# Systemctl start httpd start apache on server2 [root@server3 ~]# Systemctl start httpd start apache on Server3 [root@server1 ~]# cd /etc/haproxy/ [root@server1 haproxy]# ls haproxy.cfg [ ...

Posted by stuartriches on Wed, 08 Dec 2021 19:22:24 +0100

MySQL MHA for high availability architecture

catalogue 1, Introduction 2, MHA services working principle Actual operation Initialize environment Modify the hostname of Master, Slave1 and Slave2 nodes Master slave synchronization Install MHA 1, Introduction MHA (Master HA) is an open source MySQL high availability program. It provides the automatic master failover function for M ...

Posted by shiranwas on Wed, 08 Dec 2021 04:21:06 +0100

coredns status is pending and calico is deployed, and an error Init:0/3 or Init:RunContainerError is reported

explain It's a record of a pit, tm. It's been torturing me for a long time. All kinds of check systems, such as RI Zhi and Baidu, are finally compared with the previous environment. The RI Zhi error report is strange and outrageous.By the way, if there is a problem with k8s, we can look at the k8s log first. The way is as follows First use ...

Posted by Fastback_68 on Tue, 07 Dec 2021 22:57:51 +0100

Linux multithread synchronization ----- condition variable

Let's first look at the description of condition variables in Linux high performance server programming: The above words can be summarized as follows:         Condition variables can be used when a thread in a multithread depends on the change of shared data by another thread! It's easy to understand conditional variabl ...

Posted by AdamDowning on Tue, 07 Dec 2021 21:08:57 +0100

mysql master-slave replication and read-write separation

catalogue 1, Master slave replication architecture and principle 1. Principle of mysql master-slave replication 2. Principle of read-write separation 2, Configure master-slave replication and read-write separation 1. Environment configuration 2. Initial environmental preparation 3. Set up mysql master-slave replication 3. Build Amoeba t ...

Posted by raymie on Tue, 07 Dec 2021 19:45:52 +0100

MySQL - mycat Middleware

catalogue 1, Mycat application scenario 2, Mycat summary 3, Specific operation 1.master server: 192.168.68.200 2.slave server: 192.168.68.30 3.mycat server: 192.168.68.40 4. Client: 192.168.68.195 five   mycat server: 192.168.68.40 6.master server: 192.168.68.200 7. Client: 192.168.68.195 8. Verification On the master-slave ser ...

Posted by gazever on Tue, 07 Dec 2021 13:49:06 +0100

Performance Test Common Indicators - Compact Edition

Reprinted from https://www.testwo.com/article/725 There are five main tests for performance testing: 1. Stress Testing: Emphasizing Extreme Violence 2. Stability test: Long-term operation under certain pressure 3. Benchmarking: Performance testing under specific conditions 4. Load testing: performance under different loads 5. Capacity Test: Op ...

Posted by Takuma on Mon, 06 Dec 2021 19:06:46 +0100