Windows 10 Docker Machine deployment CentOS7 host

1. Install Docker Machine If Git is installed, you can use git bash to execute the following command: $ base=https://github.com/docker/machine/releases/download/v0.16.0 && mkdir -p "$HOME/bin" && curl -L $base/docker-machine-Windows-x86_64.exe > "$HOME/bin/docker-machine.exe" ...

Added by gunabalans on Sun, 16 Feb 2020 12:28:56 +0200

Ansible Installation and Module Management

Introduction to Ansible Ansible can manage both Linux for Redhat s, Linux for Debian, and Windows hosts.The management node only connects to the remote host while executing the script, and there is no special synchronization mechanism, so exceptions such as power outages generally do not affect ansbile. Ansible is a new automated operation ...

Added by dizzy1 on Sun, 02 Feb 2020 20:37:07 +0200

Talking about hibernate

This article mainly introduces the Hibernate framework, the concept of ORM and the introduction of hibernate. I believe you will use hibernate after reading it. If you want speed, you will not reach it. If you want speed, you will reach it! 1, Basic concepts hibernate is an ORM framework, which is called object "relative database mappin ...

Added by chaddsuk on Sun, 19 Jan 2020 07:53:08 +0200

Expand the centos image of vagrant to 800G

The default capacity of vagrant CentOS 7.2 box is only 8G 8G?! What can be done? This capacity will be full in a few weeks. Maybe it's for the sake of portability, but as a developer who wants to build various development environments on vagrant, the capacity of 8G can only make vagrant a chicken. Fortunately, there are gods on the ...

Added by BlaineSch on Fri, 10 Jan 2020 19:19:07 +0200

centos7 system configuration system user's google authentication based on ssh

Recently, all kinds of servers have been intruded, so in terms of security, we should pay great attention to it. We hereby record that we can use google's authentication plug-in to obtain dynamic authentication code to complete ssh login.    OS:   centos7   Installation configuration: 1. Install epel source yum -y install epel-release 2. ...

Added by peaforabrain on Fri, 03 Jan 2020 08:12:05 +0200

Redis cluster command line deployment tool

Preparation before use: 1) Configure the public redis.conf file unrelated to the port, and place it in the same directory as the tool 2) Configure the PORT related template redis-PORT.conf file, and put it in the same directory as the tool (PORT will be replaced with specific PORT number during deployment) 3) Configure the node ...

Added by tony.j.jackson@o2.co.uk on Thu, 02 Jan 2020 08:13:53 +0200

20180910 single user and rescue mode, virtual machine cloning, Linux machine mutual login

Change root password in single user mode When the system starts, press any key up or down in the direction, then select the first item and press the 'e' key to enter the boot script for editing Then find the line at the beginning of Linux 16 for editing, and change ro to rw init=/sysroot/bin/sh After the change, as shown in the figure below, pr ...

Added by migmedia on Wed, 01 Jan 2020 19:39:05 +0200

20180921 su and sudo commands, restrict root user to log in remotely through ssh

su command User switching. su # Switch to root su username # Switch to username user # When su is followed by - the various environments of the current user are initialized su - username # Specifying users to execute certain commands su - -c "touch /tmp/testfile02.txt" test06 # As test06 user at / tmp ...

Added by fluteflute on Fri, 27 Dec 2019 22:47:54 +0200

MySQL database -- MHA high availability cluster architecture

MHA overview Developed by yoshimaton (now working for Facebook), a Japanese DeNA company A set of excellent high availability software for failover and master-slave promotion in MySQL high availability environment Composition of MHA MHA Manager (management node) MHA Node MHA features In the process of automatic failover, MHA tries to save bin ...

Added by crazychris on Mon, 23 Dec 2019 14:32:48 +0200

MySQL - MHA High Availability

Content Essentials 1. Introduction to MHA: 2. Deploy MHA: Step 1: Install mysql on three master-slave servers Step 2: Modify mysql's main configuration file: /etc/my.cnf, note that the server-id s of the three servers cannot be the same Step 3: Start the mysql service with three servers Step 4: Configure Mysql master-slave synchronization (one ...

Added by TNIDBMNG on Fri, 20 Dec 2019 23:08:01 +0200