MySQL - Docker builds MySQL 5.7 master-slave replication

1, Design First, docker is installed in the default reader server, as shown below Next, build a mysql master-slave architecture Start two virtual machines with ip 192.168.96.126 and 192.168.96.127126 as the master and 127 as the slave. 2, Pull image docker pull mysql:5.7 If docker pull mysql is used, the latest version of mysql is pu ...

Posted by wallabee on Sat, 18 Sep 2021 03:43:18 -0700

PaddleOCR -- using streamlit and docker to build a fast serving

Overall reference: Paddleocr 2.3 - Documentation tutorial You must see the first three steps and ask for them on demand one 🎨 environment If the cuda version of this machine is not very satisfied with the image requirements of paddlepaddle, you can consider creating a cpu version. It wouldn't be that complicated. For example: docker pull p ...

Posted by shorty114 on Fri, 17 Sep 2021 20:29:27 -0700

Jenkins sonar continuously integrates, detects and sends build emails

Jenkins sonar continuously integrates, detects and sends build emails 1. Preliminary preparation 1. Deploy jenkins services 2.Jenkins server modifies the domain name resolution of gitlab The modification command of Linux is as follows: vi /etc/hosts 192.168.10.248 gitlab.rivamed.cn/ Docker settings are as follows docker exec <contai ...

Posted by jackofalltrades on Fri, 17 Sep 2021 07:12:56 -0700

Docker common actual operation summary, this thing is so simple! (carefully organized)

Docker overview What is Docker: Docker is an open source application container engine that allows developers to package their applications and dependency packages into a portable application container image And then publish to any popular Linux or Windows On the machine, it can also be realized Virtualization . The container is fully used san ...

Posted by jamesm87 on Fri, 17 Sep 2021 06:16:49 -0700

Redis profile of redis learning notes

Redis profile INCLUDES redis can load multiple configuration files Application scenario: When you have multiple redis servers, you can select a public redis configuration file and set some differentiated configurations on each redis server, which can be realized by using include in the configuration file ########################## ...

Posted by shlomikalfa on Wed, 15 Sep 2021 20:06:01 -0700

Build your own dedicated pdf Online compression website with lightweight server

Today, we need to compress a pdf file. Because pdf involves some personal information, we don't want to use the compression of online websites. I downloaded several offline compression tools, most of which actually need to charge. Although I found a free tool to deal with this later, I thought I might encounter such things later, so I came up w ...

Posted by vanessa123 on Wed, 15 Sep 2021 16:40:52 -0700

docker private warehouse registry and resource control cgroup

Establishment of private image Download and modify the daemon file [root@docker ~]# docker pull registry [root@docker ~]# vim /etc/docker/daemon.json { "insecure-registries": ["192.168.100.21:5000"], #Add line, local ip "registry-mirrors": ["https://xxxxx.mirror.aliyuncs.com "] # own alicloud image accelerator } [root@docker ~ ...

Posted by r3n on Tue, 14 Sep 2021 20:45:12 -0700

Docker Command Complete

1. Basic Commands 1.Help Command # Display docker version information docker version # Show docker system information docker info # Show help commands (optional fill-in commands for more detailed information) docker help [command] perhaps docker [COMMAND] --help "Explanation" []: OmittableCOMMAND: Comman ...

Posted by paulintodarkness on Mon, 13 Sep 2021 12:33:07 -0700

Basic operation of docker

You need to start docker before you can use it. Here are some possible commands to start docker: Docker startup, shutdown, pause, etc. (if the startup self startup is set, there is no need to start docker first) sudo systemctl start docker#Start docker sudo systemctl enable docker#Set startup sudo systemctl stop docker#Pause docker sudo system ...

Posted by juminoz on Sun, 12 Sep 2021 16:41:02 -0700

3, User management microservice (Library User Service)

Microservice library user service, user management service. It provides a Restful interface for user management, which mainly realizes the functions of user registration, querying users according to user ID or email, querying books borrowed by users, etc. Full code: https://github.com/Justin02180218/micro-kit Package structure descriptio ...

Posted by chele on Sat, 11 Sep 2021 23:19:42 -0700