Continuous integration and deployment based on Jenkins and Gitlab

CI/CD Continuous Integration (CI) is a kind of software development practice. In Continuous Integration, developers integrate their development results at least once a day. After each integration, it will be tested by automatic build (including static scan, security scan, automatic test and other processes) to find errors in development. This ...

Posted on Thu, 04 Jun 2020 08:57:37 -0400 by DarkReaper

Building tesseract5 environment and mirroring based on centos7.3 in docker

Since you need to install tesseract offline, you think of deploying tesseract as a docker image.Container-based mirroring using docker commit. The general idea is to pull a basic centos image first, then boot it and enter the container to install tesseract before commit is mirrored.Then mirror save as a tar package.This allows offline installa ...

Posted on Wed, 03 Jun 2020 21:15:29 -0400 by leeue

Consumer cluster deployment-01

#####Reference article( https://blog.51cto.com/412166174/1975822) About consumer 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

Linux command (35) du command

du command 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] option option explain -a Recursively display the disk space occupied by each file and subdirecto ...

Posted on Wed, 03 Jun 2020 10:37:51 -0400 by nirali35

Detailed Docker Network for kubernetes

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

Configure GTID dual master for MySQL 5.7

Environmental planning 192.168.31.178 Master/Slave 192.168.31.179 Master/Slave 192.168.31.178 configuration gtid-mode=ON enforce_gtid_consistency=on log-slave-updates=true master-info-repository=TABLE relay-log-info-repository=TABLE relay_log = /data/mysql/relay.log relay_log_index = /data/mysql/relay_log.index report-port = 3306 sync-m ...

Posted on Tue, 02 Jun 2020 11:05:08 -0400 by root

Modify the network card name in linux

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 inet ...

Posted on Mon, 01 Jun 2020 11:39:14 -0400 by jweissig

Python automatic operation and maintenance -- file content difference comparison

Infi-chu: http://www.cnblogs.com/Infi-chu/ Module: difflib 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: #import difflib #text1 ...

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 code scrambling, it can be used for personal test!)

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

Docker Builds Harbor Public Warehouse

Bowen catalog 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