#####Reference article( https://blog.51cto.com/412166174/1975822)
Consul includes multiple components, but as a whole, it provides service discovery and service configuration tools for your infrastructure. It provides the following key features:Service discovery: the client of Consul can provide a service, such as api or mysql. ...
Posted on Wed, 03 Jun 2020 11:02:10 -0400 by dancahill
Function Description: display the size of file or directory
The du command displays the size of the disk space occupied by the specified directory or file, without any options. The default unit is 1KB.
Usage: Du [option] [file]
Recursively display the disk space occupied by each file and subdirecto ...
Posted on Wed, 03 Jun 2020 10:37:51 -0400 by nirali35
Container Network Details
Virtual Network Type
Common network types for virtualization (virtual bridged networks)
Isolation bridge: 127.0.0.1
Host Bridge Only: No external communication
Router Bridge: Can be sent by nat, but cannot
NAT Bridge: NAT Connection Tracking for communication between host and external
Common network types for doc ...
Posted on Tue, 02 Jun 2020 20:14:20 -0400 by dustbuster
relay_log = /data/mysql/relay.log
relay_log_index = /data/mysql/relay_log.index
report-port = 3306
Posted on Tue, 02 Jun 2020 11:05:08 -0400 by root
How to modify the network card name in linux
Use the ip add or ip link command to view the network interface details
[root@centos6 ~]# ip add
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
Posted on Mon, 01 Jun 2020 11:39:14 -0400 by jweissig
Installation: Python version greater than or equal to 2.3
Function: compare the differences between texts, and support the output of HTML documents with strong readability, which is similar to the diff command in Linux.
Difference comparison between two strings:
Posted on Sun, 31 May 2020 12:51:28 -0400 by anne13
The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese scrambling)
1, Log in to MySQL to view SHOW VARIABLES LIKE 'character%'; the following character set is displayed as follows:+--------------------------+----------------------------+
| Variable_name | Value |
Posted on Sun, 31 May 2020 01:13:44 -0400 by driverdave
Differences between Registry and Harbor
Advantages of Docker Harbor
Docker Harbor Dependent Programs
1. Build Harbor Warehouse
1. Configure Docker Compose
2. Configure Docker Harbor public warehouse
3. Configure Docker Client
4. Configure Docker Harbor Private Warehouse
In the last post, we talked about Registry private warehou ...
Posted on Fri, 29 May 2020 13:14:30 -0400 by Knutty
The chronyd time server, like the previous NTP function, provides time.
I'm not good at basic concepts. Cronyd was born after NTP.
Recently, I downloaded the latest Centos Linux 8.1, and found that there is no ntp service in it. Baidu yisou found that it was changed to Chronyd. This article is to deploy a server + client test.
1. Server side
Posted on Fri, 29 May 2020 03:53:18 -0400 by valtido
In the face of multi cluster enterprise level complex architecture, it is very important to prepare a set of backup cluster. The backup cluster usually does not participate in reading and writing operations, but always contains all the data of the business cluster. When there is a business cluster that cannot be used, you can directly switch e ...
Posted on Thu, 28 May 2020 07:15:27 -0400 by ayzee