mysql Management (actual combat, can follow)

Manual compilation and installation of MYSQL 1. Get the installation package from the host with samba service [root@localhost ~]# mount.cifs //192.168.10.28/share /mnt Password for root@//192.168.10.28/share: [root@localhost ~]# cd /mnt/LNMP/ [root@localhost LNMP]# ls Discuz_X3.4_SC_UTF8.zip mysql-boost-5.7.20.tar.gz nginx-1.12.2.tar.gz p ...

Posted on Mon, 18 Nov 2019 11:33:55 -0500 by eirikol

CentOS7 deploy redis 5.0.6 cluster

Environmental Science Operating system: CentOS 7.7, turn off firewalld and selinux Redis: 5.0.6 master instance 10.0.4.110:6371 10.0.4.110:6372 10.0.4.110:6373 slave example 10.0.4.111:6371 10.0.4.111:6372 10.0.4.111:6373 Compiling redis server Download and compile on CentOS 7.7 test server wget http://download.redis.io/releases/redis- ...

Posted on Mon, 18 Nov 2019 09:05:43 -0500 by ShawnK

Linux problem record - the hostname becomes bogon

Absrtact: This paper mainly records the reason why the host name becomes bogon and the solution. Problem recurrence After a login, the host name becomes bogon, and then it will be bogon every time you log in to the Linux system. 1 Connecting to 192.168.35.128:22... 2 Connection established. 3 To escape to local shell, press 'Ctrl+Alt+]'. 4 5 ...

Posted on Mon, 18 Nov 2019 05:41:38 -0500 by xmatthawkx

OkHttp3 source detailed explanation interceptor

First, construct a simple asynchronous network access Demo: 1. OkHttpClient client = new OkHttpClient(); 2. Request request = new Request.Builder() 3. .url("http://publicobject.com/helloworld.txt") 4. .build(); 6. client.newCall(request).enqueue(new Callback() { 7. @Override 8. public void onFailure(Call call, IOException e) { ...

Posted on Mon, 18 Nov 2019 04:57:46 -0500 by eldee

Python logging module logging

Official documents: https://docs.python.org/2/library/logging.html I. log level The logging module provides a standard log interface, which can record our daily operations and store logs of various formats. The log level of logging is from low to high as debug(), info(), warning(), error() and critical() CRITICAL(50) > ERROR(40) > WAR ...

Posted on Mon, 18 Nov 2019 04:50:41 -0500 by Kenwio

014.Kubernetes binary deployment docker

1. Deploy docker 1.1 deploy docker component docker runs and manages containers, and kubelet interacts with it through the Container Runtime Interface (CRI). 1.2 download docker 1 [root@k8smaster01 ~]# cd /opt/k8s/work 2 [root@k8smaster01 work]# wget https://download.docker.com/linux/static/stable/x86_64/docker-18.09.6.tgz 3 [root@k8smast ...

Posted on Sun, 17 Nov 2019 23:50:24 -0500 by bruceleejr

Picture Loading Frame Selection Next

Ali P7 Mobile Internet Architect Advanced Video (Updated Daily) Free Learning Click: https://space.bilibili.com/474380680This article will illustrate the Picasso analysis and the use of Fresco to illustrate the Picture Loading Framework selection: 1. Picasso analysis Picasso is a picture loading framework on Square's open source Android platfo ...

Posted on Sun, 17 Nov 2019 21:47:23 -0500 by richardandrewle

Solutions to online loading failure of Qt Webp qml dynamic graph

At present, webp image format is very popular, and Qt has been supported. However, online webp dynamic image can not be loaded in QML (animated image), so it raises a bug to Qt( https://bugreports.qt.io/browse/QTBUG-75044 ), also ignore to pick, can do by oneself sufficient food and clothing. import QtQuick 2.9 import QtQuick. ...

Posted on Sun, 17 Nov 2019 13:52:22 -0500 by trackz

Xi. Using KeepAlived for high availability load balancing of RabbitMQ

Summary The high availability architecture is kept + HAproxy. It uses HAproxy to do RabbitMQ load balancing and high availability, and kept to ensure the high availability of HAproxy. assembly IP address port RabbitMQ disk node-01 192.168.0.101 5672 RabbitMQ disk node-02 192.168.0.102 5672 RabbitMQ dis ...

Posted on Sun, 17 Nov 2019 12:17:38 -0500 by andrewmay67

Notes on k8s high availability cluster construction

This note is for groping to install k8s high availability cluster.The common scheme of kubeadm + preserved + haproxy is selected. Environmental Science: VMware Fusion 11.5 Debian 10 keepalived: haproxy: kubeadm: v1.16.2 kubectl: v1.16.2 Steps: Host environment preparation (static IP settings, etc.) Install and configure haproxy Installatio ...

Posted on Sun, 17 Nov 2019 11:53:31 -0500 by j152