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
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 environment configuration
Correct time zone time
# View current time
# 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
# Ubuntu14.0 aliyun source:
deb http://mir ...
Posted on Sun, 24 May 2020 19:17:31 -0700 by danlayton00
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 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
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
What is rpm?
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.
rpm -ivh PAC ...
Posted on Mon, 18 May 2020 09:48:43 -0700 by loki1664
1. Environmental Instructions
redis version: Redis-5.0.8System version: Redhat6.8
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
1, Download media
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
Posted on Sun, 17 May 2020 20:55:24 -0700 by eroticheretic
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