Create, authorize and delete users with mysql

1.mysql creates a read-only account Create users through GRANT (create users and authorize them at the same time): GRANT SElECT ON *.* TO 'reader'@'172.16.%.%' IDENTIFIED BY "reader123" *. * all libraries. If only one library is authorized, such as test, it is written as test* reader is the user name 172.16%.% is the ip ...

Posted by IceDragon on Tue, 07 Jan 2020 11:19:05 +0100

How to deploy the traifik ingress controller in K8S cluster

Note: the version of traifik used in this article is 1.x In the production environment, we often need to control the external access from the Internet to the cluster, which happens to be the responsibility of Ingress.  The main purpose of Ingress is to expose HTTP and HTTPS from outside the cluster to the services running in the cluster. Thi ...

Posted by mulysa on Tue, 07 Jan 2020 11:13:53 +0100

Go Network File Transfer

Process analysis With the help of TCP, the basic idea is as follows: The sender (client) sends the file name to the server, and the server saves the file name. The receiver (server) returns a message ok to the client to confirm that the file name is saved successfully. After receiving the message, the sender (client) begins to send the file da ...

Posted by evdawg80 on Tue, 07 Jan 2020 09:53:27 +0100

Super Ledger Fabric Actual REST API Service [with Source Code]

Hyperledger Fabric provides software development kits/SDKs to help developers access the fabrics network and chain codes deployed on the network, but Hyperledger Fabric does not officially provide an easy-to-use REST API access interface. In this tutorial, we will learn how to use Hyperledger Fabric's SDK to develop a REST API server. 1. Overvi ...

Posted by NoSalt on Tue, 07 Jan 2020 05:39:22 +0100

High availability with corosync and pacemaker

1. Install pacemaker and corosync on server4 and server5 yum install pacemaker yum install corosync -y 2. Modify the configuration file cd /etc/corosync/ cp corosync.conf.example corosync.conf vim corosync.conf # Please read the corosync.conf.5 manual page compatibility: whitetank totem { version: 2 ...

Posted by SaMike on Tue, 07 Jan 2020 05:35:39 +0100

HTML5 file upload progress bar based on HT for Web vector

In HTML, in the process of file upload, there are many cases where there is no prompt, which is very bad in the experience. Users don't know whether there is a successful upload or not, so the content introduced to you today is through HT for Web Vector to achieve HTML5 file upload progress bar, vector in< Application of embedding vector Cha ...

Posted by LarryK on Tue, 07 Jan 2020 04:26:36 +0100

k8s creates resources, and

Two ways to create resources Command-based approach: Simple, intuitive and quick to use. Suitable for temporary testing or experimentation. Profile-based approach: The configuration file describes What, that is, the state the application will ultimately achieve. Configuration files provide templates for creating resources that can be deploy ...

Posted by damianjames on Mon, 06 Jan 2020 11:45:50 +0100

Install Redis Cluster from scratch (Linux CenOS7)

Install CentOS7 Virtual Machine using ISO Configure static IP (Reference Mac VMware Fusion CentOS7 Configuration Static IP) Install vim [root@localhost java]# rpm -qa|grep vim vim-minimal-7.4.629-6.el7.x86_64 [root@localhost java]# yum -y install vim* ... Install jdk Upload jdk to / home/software on Linux using FileZilla [root@localho ...

Posted by msnhockey on Mon, 06 Jan 2020 07:37:05 +0100

Linux Cluster Architecture (LVS DR mode building, preserved + LVS)

LVS DR mode building Preparatory work: three machines Distributor, also called scheduler (dir in short): 192.168.248.128 rs1 : 192.168.248.129 rs2 : 192.168.248.130 vip : 192.168.248.200 1. Edit the script file * * / usr/local/sbin/lvs_dr.sh * * on dir as follows: #! /bin/bash echo 1 > /proc/sys/net/ipv4/ip_forward #Open port forwarding ipv= ...

Posted by jackpf on Sun, 05 Jan 2020 09:12:48 +0100

JAVAEE - yicube mall 14: project deployment planning, Tomcat hot deployment, reverse agent configuration

1. Learning plan 1. System deployment   2. Project deployment   2.1. Explanation of project structure       2.2. network topology       2.3. System deployment 2.3.1. Deployment Analysis e3-manager e3-manager-web e3-portal-web e3-content e3-search e3-search-web e3-item-web e3-sso e3-sso-web e3-cart-web e3-order e3-order-web       A total of 4 ...

Posted by tbeinc on Sun, 05 Jan 2020 06:10:16 +0100