Separation of reading and writing with mycat

1. Replicate one more database locally (ignored if you have multiple servers conditionally) 1) Find the mysql instance folder and data folder (usually under C:\Program Files and C:\ProgramData) Directly copy a copy from the library 2) Modify slave library configuration my ini [client] port=3307 [mysqld] port=3307 basedir="C:/Program Files/M ...

Added by trinitywave on Fri, 17 Dec 2021 13:53:10 +0200

Using QT to develop mjpeg server

git source code portal Basic description The basic principle of mjpeg server is to send pictures to the client one by one, and then the client is like playing animation, but it is still pictures. The image tag of the browser can directly access the image stream of the service through the http protocol. It looks like the image tag has the fu ...

Added by sturoy on Fri, 17 Dec 2021 05:30:15 +0200

Linux basic command summary

Linux basic commands Linux system version query command 1. # uname-a (view the current operating system kernel information of Linux version) 2. # cat /proc/version (Linux view current operating system version information) 3. # cat /etc/issue or cat / etc / RedHat release 4. # cat /proc/cpuinfo (Linux views cpu related information, includin ...

Added by Hellusius on Thu, 16 Dec 2021 07:27:03 +0200

Crazy God notes sorting | JavaWeb | SMBMS project | file upload and mail sending

JavaWeb 1. Basic concepts 1.1 concept web development: Web, the meaning of web page, www.baidu.com com· Static web html,cssThe data provided to everyone will never change! Dynamic web Taobao, almost all websites;The data provided to everyone will always change, and everyone will see different information at different tim ...

Added by bidnshop on Thu, 16 Dec 2021 04:09:42 +0200

Docker learning | 6 Docker warehouse

catalogue 1.Docker Hub register Sign in Pull image Push image 2. Private warehouse Install and run docker registry You can run using the official registry image. Upload, search and download images in private warehouses Configure non https warehouse address Ubuntu 16.04+, Debian 8+, centos 7 3. Advanced configuration of private wareh ...

Added by chiefrokka on Wed, 15 Dec 2021 20:17:40 +0200

No.8 CA certificate and SSH service

1. Create a private CA and apply for a certificate. 1.1 create CA related directories and files [22:05:51 root@centos8 data]#mkdir -pv /etc/pki/CA/{certs,crl,newcerts,private} mkdir: created directory '/etc/pki/CA' mkdir: created directory '/etc/pki/CA/certs' mkdir: created directory '/etc/pki/CA/crl' mkdir: created directory '/etc/pki/CA/new ...

Added by jprazen on Wed, 15 Dec 2021 10:24:00 +0200

Linux boot autorun / etc / RC Local and / etc / init d

** 1. /etc/rc.local ** This is the user-defined startup program. Write the program that needs to be started automatically in this script. In the last stage of linux startup, the system will execute and store it in RC Commands in local. The script is executed after the system initialization level script runs, so you can safely add the script ...

Added by cupboy on Tue, 14 Dec 2021 11:55:51 +0200

[Euler openEuler 21.03 (arrch64 Architecture) ssh installation, configuration and remote control]

1. Check whether SSH is installed: it is generally installed by default [changairjb@localhost ~]$ rpm -qa | grep ssh libssh-0.9.5-1.oe1.aarch64 openssh-8.2p1-13.oe1.aarch64 openssh-server-8.2p1-13.oe1.aarch64 //Server libssh2-1.9.0-6.oe1.aarch64 openssh-clients-8.2p1-13.oe1.aarch64 //client 2. If not installed: enter the following com ...

Added by trevHCS on Tue, 14 Dec 2021 07:40:01 +0200

Interpretation of JavaMoney specification (JSR 354) and corresponding implementation

1, Overview1.1 current situationAt present, the class used to express currency in JDK is Java util. Currency, this class can only represent the currency type described in [ISO-4217]. It has no value associated with it, nor can it describe some currencies outside the specification. There is no relevant support for currency calculation, currency ...

Added by hawkenterprises on Tue, 14 Dec 2021 06:26:05 +0200

26, K8s system enhanced 2-seccomp and sysdig

1, Experimental environment The underlying system is Ubuntu 18 04, then install k8s on each node and build a cluster. The IP address of the Master node is 192.168 26.71/24, the IP address of two worker nodes is 192.168 26.72/24,192.168. 26.73/24. 2, Seccomp 1.Seccomp concept seccomp (full name: secure computing mode) is a security mechanis ...

Added by viraj on Tue, 14 Dec 2021 03:53:54 +0200