Redis 5 - new cluster installation mode - redis cli - Cluster Create
outline
For the principle of cluster, please refer to Redis design and Implementation - working principle of cluster , I won't go into details here. I introduced how to use redis trib toolset to install cluster a long time ago How to build and use Redis cluster In the past two days, I read the official documents and found a new way of installa ...
Posted by Dillinger on Fri, 17 Jan 2020 03:15:30 -0800
On the soul of Docker
1. Operation of docker common commands
docker pull image
docker run creates a container based on a certain image
-d. background operation
--Name specifies the name of the container to create
-p map the port of the container to the port of the host
docker exec -it enters a container
docker rmi de ...
Posted by rklapwijk on Fri, 17 Jan 2020 01:01:40 -0800
Discussion and recommendation on redis's security free configuration in docker compose
In an interesting discussion, let's take a look at the docker compose configuration script:
version: '2'
services:
redis:
image: 'redis:5.0.3-stretch'
restart: always
command: redis-server --requirepass redis
environment:
# ALLOW_EMPTY_PASSWORD is recommended only for development.
- ALLOW_EMPTY_PASSWORD=yes
...
Posted by jassikundi on Thu, 16 Jan 2020 19:23:52 -0800
The use of VIM compiler and the basis of shell programming under Linux
Installation and use of VIM compiler
vim editor installation
In CentOS, execute: yum -y install vim
Common mode
h: Move one character left
j: Move down one line
k: Move up one line
l: One character to the right
PageDown (or Ctrl+F): next screen
PageUp (or Ctrl+B): flip up one screen
...
Posted by gravedig2 on Tue, 14 Jan 2020 22:50:03 -0800
GPDB feature practice
date: 2020-01-11 15:51:39
Some time ago, my tutor asked me to know about the GreenPlum database. Later, I installed and used it for a while. It felt like it was no different from other databases, so it ended up. Now go over the features of GPDB and try to use them.
In fact, I really need to understand t ...
Posted by vinoth on Tue, 14 Jan 2020 19:06:09 -0800
Jenkins installation of Linux system
1, background
Why Jenkins?
It's more convenient than writing your own scripts. You don't need to care about the corners. You just need to add core compiled scripts to save developers' attention and energy
You can let the test or project manager who does not understand the relevant development gen ...
Posted by aalmos on Tue, 14 Jan 2020 02:34:50 -0800
docker local private repository, access controlled by certificate (centos8)
Article Directory
1. Private Warehouse Server 200 Create Certificate
2. Private warehouse server 200 uses certificates to create containers
3. Server 200 Local Test Upload and Download Mirrors
IV. Client 210 Test Upload and Download Mirrors
Server name
IP Address
Explain
Server 200
192.168.1 ...
Posted by mecha_godzilla on Sun, 12 Jan 2020 19:22:10 -0800
saltstack efficient operation and maintenance
saltstack efficient operation and maintenance
salt introduction
saltstack is an open source project created by thomas Hatch in 2011. It is designed to implement a fast remote execution system.
Is salt powerful
System administrators do a lot of repetitive operations, such as installing software, modifying configuration files, cr ...
Posted by digioz on Sat, 11 Jan 2020 00:33:32 -0800
linux Server Opens IPv6
On the premise of the implementation of IPv6 in the National Network Telecom Office, IPv6 address configuration is required for the server.
The configuration process outlines Ha:
#cat ipv6.sh
#! /bin/bash
Ipv6=$1
Ipv4=$(dig +short $(hostname)) #Used to get the corresponding network card and change it as needed
Time=$(date +%Y%m%d%H%M%S)
[[ $ ...
Posted by newmember on Mon, 06 Jan 2020 20:44:17 -0800
[e220200101-1] Centos 7.x turns off firewall and SELinux
1, Preparations
1.1 server preparation
Operating system: centos 7.x
1.2. Install the text editing tool nano
# yum -y install nano
2, Turn off SELinux
2.1. View SELinux status
2.1.1. First method: view SELinux status
# /usr/sbin/sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root director ...
Posted by rostros on Mon, 06 Jan 2020 01:12:22 -0800