LVM Dynamic Expansion of CentOS 7

The question of "Qi" The disk space on CentOS 7 is a little tight and needs to be expanded. Solve Query the current disk status [root@xxx ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT fd0 2:0 1 4K 0 disk sda 8:0 0 200G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda ...

Posted on Mon, 30 Sep 2019 12:42:14 -0700 by toppac

Source compilation kubernetes

1. Version requirements Deploy go wget https://dl.google.com/go/go1.12.4.linux-amd64.tar.gz go version go version go1.12.4 linux/amd64 Deploy kubernetes wget https://github.com/kubernetes/kubernetes/archive/v1.15.2.tar.gz Edition: 1.15.2 2. Source Code Compilation Direct compilation can also be divided into two types, one compiled at a ti ...

Posted on Sun, 29 Sep 2019 21:25:54 -0700 by easethan

Record a K3s MySQL Start OOM Query

Previously, Docker Compose was used as the development environment, and MySQL was also running in Docker, and everything worked fine.The development environment was later migrated to K3s (lightweight K8s), but MySQL was killed by OOM Killer as soon as it started, so MySQL was never migrated. Reproduce Run a MySQL directly using Kubectl to repro ...

Posted on Sun, 29 Sep 2019 09:02:23 -0700 by Ace_Online

Efficient, easy to use and powerful api management platform

The need of the actual environment can be said to be: only you did not expect, there is no impossible to achieve. For the actual development, testing, production and other environments, there are dozens or even hundreds of interfaces that need to be used. Therefore, a unified management tool platform must be needed to unify the management of su ...

Posted on Thu, 26 Sep 2019 00:18:17 -0700 by marksie1988

Rsync Service Deployment and Detailed Parameters

Rsync introduction Rsync is an open source, fast, multi-functional, full and incremental local or remote data synchronous backup tool. Rsync software is suitable for unix/linux/windows and other operating system platforms. Traditional scp and cp tool copies are complete every time, while Rsync has incremental copy function besides complete co ...

Posted on Wed, 25 Sep 2019 22:43:13 -0700 by shmoo525

Internal and external command assistance

View internal and external command help I. Internal Order _Use type to determine whether the command is internal or external, and type is followed by the command to be viewed. Example: type enable [10:52:18 root@centos ~]#type enable enable is a shell builtin Some commands have both internal and external commands, but the system will give pri ...

Posted on Mon, 23 Sep 2019 23:48:14 -0700 by prasad_deba

Principle of Mangrove and Black Tree

Red Black Tree is a self-balanced binary search tree, which is a data structure used in computer science. Its typical use is to implement associative arrays. Nature Nodes are red or black. The root node is black. Each leaf node (NIL) is black. (Note: Leaf nodes here refer to empty (NIL or NULL) leaf nodes! ) The two children of each red node a ...

Posted on Mon, 23 Sep 2019 20:14:39 -0700 by demouser

How to stitch GET request parameters

In the process of interface testing, I wrote a string replacement method to handle parameter splicing of get interface, and then optimized this method, which is compatible with Chinese character prompting for illegal characters, using the urlencode method that comes with java.Include the first method, which was previously passed by json.Share t ...

Posted on Mon, 23 Sep 2019 19:53:39 -0700 by MrAlaska

Qt Writing Custom Control 58-Histogram Symmetry

1. Preface This control is also not an original control. It comes from the code on the reference network. Symmetrical as its name implies, it divides the canvas into upper and lower parts, automatically draws the set value according to half the canvas height as the reference height, and then increases the dynamic transition effect, which is sim ...

Posted on Sun, 22 Sep 2019 17:49:46 -0700 by sundru

Qt Write Custom Control 56-Wave Curve

1. Preface Wave curve control, in fact, is a core of the previous water wave progress bar control. In fact, it uses sinusoidal curve to generate corresponding coordinates for drawing, and extracts this function independently, in order to study various sinusoidal cosine and other expansion effects in m ...

Posted on Fri, 20 Sep 2019 19:21:33 -0700 by Crysma