#Command control mode of C + + nine Yin Scripture

The so-called command control mode is to encapsulate the corresponding behavior. Through the command, you can control it. You can understand it as the instruction operation under linux.    For example, an operation includes 10 steps of A1, A2, and... A10. If one step fails, it will be rewound. If the business types of these ...

Posted on Tue, 26 May 2020 20:54:36 -0700 by rooky

Using redis exporter to monitor the performance of redis cluster

There are three modes of redis cluster: master-slave, sentinel and cluster. About the introduction and deployment of these three modes, other articles also have related introduction. I have completed the deployment of the three modes with reference to other blogs, and the blog address is in the comment area.At present, redis uses the master-sl ...

Posted on Tue, 26 May 2020 04:52:09 -0700 by rawb

Docker compiles Android 6.0 source code

docker environment configuration Correct time zone time # View current time $ date # Modify current time $ cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime echo 'Asia/Shanghai' > /etc/timezone Replace the software source to aliyun cp /etc/apt/sources.list /etc/apt/sources.list.bak echo " # Ubuntu14.0 aliyun source: deb http://mir ...

Posted on Sun, 24 May 2020 19:17:31 -0700 by danlayton00

GO uses Webhook to automate github deployment

Usually most of your development is submitted by local git push, and git pull is updated manually on the server.Git can be deployed automatically using a webhook.A webhook is a hook event for a warehouse platform that listens for code and calls back notifications (the notification address is the webhook address you fill out in each git warehous ...

Posted on Sun, 24 May 2020 09:52:58 -0700 by Joost

Mysql_5.7 binary compile free installation

Mysql_5.7 and Mysql_5.6 large difference Mysql_5.7 installation steps 1. In the / usr/local/src directory, download the MySQL 64 bit package and extract it [root@dl-001 src]# wget http://mirrors.sohu.com/mysql/MySQL-5.7/mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz [root@dl-001 src]# tar zxvf mysql-5.7.17-linux-glibc ...

Posted on Sun, 24 May 2020 08:07:19 -0700 by JWitness

nginx Clear Cache Module Configuration Tutorial

Test environment:NGINX version and compiled modules:Clear Cache Module Version: ngx_cache_purge-2.3 1. Download unzipped ngx_cache_purge module [root@a ~]#cd /root [root@a ~]#wget https://github.com/FRiCKLE/ngx_cache_purge/archive/2.3.tar.gz [root@a ~]#tar zxf 2.3.tar.gz 2. Dependencies needed to create NGINX: [root@a ~]yum install gcc gcc-c++ ...

Posted on Tue, 19 May 2020 10:28:56 -0700 by mobilekid

Linux Command rpm Command

Catalog What is rpm? install upgrade uninstall query check Database Maintenance What is rpm? The full name of rpm, The RPM Package Manager, is the package manager of the RHEL operating system with the suffix.Rpm. RPM commands are used to install, uninstall, upgrade, query, list and check RPM packages on Linux systems. install rpm -ivh PAC ...

Posted on Mon, 18 May 2020 09:48:43 -0700 by loki1664

Redis High Availability Cluster Practice

1. Environmental Instructions redis version: Redis-5.0.8System version: Redhat6.8 Host IP redispri1 110.50.1.55 redispri2 110.50.1.56 redispri3 110.50.1.57 redisbck1 110.50.1.57 redisbck2 110.50.1.59 redisbck3 110.50.1.60 2. Build a redis highly available cluster Each node closes NetworkManager, selinux=disable # /etc/init.d ...

Posted on Mon, 18 May 2020 09:34:46 -0700 by kansaschuck

Installation and use of archlinux super detailed tutorial

Installation system 1, Download media https://www.archlinux.org/download/ 2, Launch ISO to Live environment There are many ways to do this: Make ISO as the U-disk starting tool, you can use Ultra ISO or cabbage If you have Linux/Unix system, you can write Grub to your hard disk and make startup items 3, Preparation before installation Start ...

Posted on Sun, 17 May 2020 20:55:24 -0700 by eroticheretic

Summary of common database commands

1. Create database: mysql> create database test ; // Create a database in mysql. The ID of the database is test. [root@host] # mysqladmin -u root -p create test; / / create a database under linux. The database ID is test. 2. Delete database: mysql> drop database test ; // Delete the database in mysql. The ID o ...

Posted on Thu, 14 May 2020 08:30:58 -0700 by baldwinw