mysql is the master-slave copy of each other

  Master-1: 192.169.7.242 Master-2: 192.169.0.197 MySQL version: mysql-5.7 1. Modification and description of MySQL configuration file Modify mysql of the two nodes respectively. Here, modify the configuration file to / etc/my.cnf Modify Master-1 as follows:   # For advice on how to change sett ...

Posted by cybersurfur on Sun, 19 Jan 2020 10:28:59 +0100

Simple building of LNMP environment

1. The user initiates the request through http protocol, and the request will first arrive at Nginx in LNMP architecture 2.Nginx will match the Location rule according to the user's request 3.Location if the matching request is static, it will be read by Nginx and returned directly locally 4.Location if ...

Posted by Toonster on Fri, 17 Jan 2020 14:16:52 +0100

Leyou mall 1 - project construction

You can visit Code cloud - Leyou mall To get the engineering code of Leyou mall. You can visit Baidu cloud leyouyou mall Password: ppzy to get information about Leyou mall. 1, Create parent project Maven Project to manage dependencies     GroupId: the unique identifier in the project, which corresponds to the package structure in java. Her ...

Posted by Pioden on Fri, 17 Jan 2020 14:01:24 +0100

Distribute keys in bulk and test for success

The process of completing a project is a project document. 1. Project demand analysis 2. Project implementation plan 3. Project implementation stage 4. Project acceptance test 5. Project sorting Report Remote service concept introduction: Remote service can download and transmit data remotely Using ssh ...

Posted by sun14php on Fri, 17 Jan 2020 04:46:13 +0100

Seta introduction to distributed transaction DEMO

>Simple Extensible Autonomous Transacation Architecture, seata is a simple, scalable and highly autonomous distributed architecture SEATA Server Configure >Because we use the official version 1.0.0-GA, most of the instructions found on the Internet are version 0.X, with many changes. For example, the script of db_store.sql is cancelled in ...

Posted by Begby on Wed, 15 Jan 2020 13:57:55 +0100

MHA High Availability Configuration and Failover for MySQL

Preface:Servers running the same service are combined to be called clustersCentralized clusters: master, slave,MHA is used to resolve cluster master downtime.MMM Cluster Architecture: There are two master serversOverview of MHA DeNA youshimaton (now a Facebook company) in Japan A set of excellent high-availability software for failover and ma ...

Posted by dicamille on Mon, 13 Jan 2020 19:00:43 +0100

Django RESTFul (interface application)

Django interface application Written in front 1. Try to write an interface 1.1 new django project 1.1.1. First, create a new django project in pycharm 1.1.2 write driver (used to connect mysql) 1.1.3 new database 1.1.4 migration 1.1.5 login database 1.2 first test whether django can start normall ...

Posted by andyhajime on Sun, 12 Jan 2020 12:20:50 +0100

Ribbon load balancing of spring cloud and Feign consumer call service

Article directory 1. Microservice calls Ribbon brief introduction Preliminary application 2. Ribbon load balancing 3. Feign introduction and Application brief introduction application 1. Microservice calls Ribbon brief introduction We have learned about eureka service registration and disc ...

Posted by NoDoze on Sat, 11 Jan 2020 11:25:19 +0100

Technology Sharing| MySQL Charges in NoSQL

Author: Yang Taotao background The content of the article comes from a problem of customers. Description of the problem: We are now fully MySQL in the background database and very familiar with MySQL in front-end development.But now there's new business coming in.The data model is very flexible and does not have a fixed table structure.At f ...

Posted by LexHammer on Fri, 10 Jan 2020 07:15:39 +0100

Maintained + MySQL primary high availability

Maintained + MySQL primary high availability 1, Environment introduction: 10.1.1.174:23316 M1 10.1.1.237:23316 M2 2, Configure dual master: omitted. 3, keepalive installation [root@master1 ~]# cd /usr/local/src/ [root@master1 src]# wget https://www.keepalived.org/software/keepalived-2.0.17.tar.gz [root@master1 src]# tar -xf keepalived- ...

Posted by Syto on Tue, 07 Jan 2020 17:16:12 +0100