Year open source SQL audit platform installation and use
1, Introduction to year
year is the MYSQL SQL statement audit platform. Provide query audit, SQL audit and other functions.
The edition of year 1. X needs the function of SQL audit and rollback provided by inception.
Since year 2.0 does not need to rely on perception, it has implemented SQL audit / rollback function th ...
Posted by sasa on Mon, 02 Mar 2020 01:43:58 -0800
Prepare for CKA daily question - day 11 | k8s access control RBAC, Role, RoleBinding, and lead to kubectl common commands
Yesterday's examination questions
Create a role (only all the operation permissions of pods under cka namespace) and rolebinding (use serviceaccount to authenticate authentication), use the corresponding serviceaccount as the authentication information to operate the pod under cka namespace and the pods under default namespace.
– the nam ...
Posted by keiran420 on Sun, 01 Mar 2020 19:12:51 -0800
Go Language sync.Pool (Temporary Object Pool)
Golang provides the object pool Pool in sync.Usually everyone calls this an object pool.It is well known that go is automatically garbage collected, which greatly reduces the programming burden.But gc is a double-edged sword.For example, they are friendly to beginning programmers, but later on, as the p ...
Posted by webspinner on Sun, 01 Mar 2020 17:50:33 -0800
C summary part 6 file management
10_ file
Text files: Based on character encoding, such as ASCII, UNICODE
Binary
file open
FILE *fopen(filename, mode);
// The system itself defines a structure called FILE
// Mode indicates the mode of opening the file
/*
mode The value of
r rb Open as read-only
w wb Open as write
a ab Open as append, add content at the ...
Posted by hillbilly928 on Sun, 01 Mar 2020 00:21:59 -0800
Proficient in awk series (18): if, while, switch, for statements of awk process control
Go back to:
Linux series
Shell series
Awk series
Process control statement
Note: statement blocks in awk have no scope and are global variables.
if (condition) statement [ else statement ]
expr1?expr2:expr3
while (condition) statement
do statement while (condition)
for (expr1; expr2; expr3) statement
for (var in array) statement
break
co ...
Posted by rex9990 on Fri, 28 Feb 2020 21:04:16 -0800
Proficient in awk series (18): if, while, switch, for statements of awk process control
Go back to:
Linux series
Shell series
Awk series
Process control statement
Note: statement blocks in awk have no scope and are global variables.
if (condition) statement [ else statement ]
expr1?expr2:expr3
while (condition) statement
do statement while (condition)
for (expr1; expr2; expr3) statement
for (var in array) statement
break
co ...
Posted by scuba on Fri, 28 Feb 2020 20:53:46 -0800
Ansible automatic operation and maintenance learning III: yaml syntax and playbook writing
Note: part of the code of the article case will be misaligned. Please pay attention to the format alignment when using!!
Chapter 3 yaml syntax and playbook writing
Ansible's playbook adopts yaml syntax, so before learning ansible playbook, it is necessary to understand and master the grammar format of yaml. Only by practicing and mastering the ...
Posted by JDcrack on Fri, 28 Feb 2020 02:22:44 -0800
centos7 system startup process
Premise: pc host, MBR architecture
Step 1: post (power on system test) power on self test.
There is a rom chip (CMOS) on the main board of the pc. after power up, the cpu looks for the raw, reads the instructions inside, and checks whether there is memory, hard disk, display device, etc. on the machine.
There is a bios (basic input output sys ...
Posted by nc_brox on Fri, 28 Feb 2020 01:43:46 -0800
Permission management commands in linux (chmod/chown/chgrp/unmask)
Catalog
chmod
chown
chgrp
umask
chmod
explain
Command name: chmod
change the permissions mode of a file
Command path / bin/chmod
Execute permission: all users
Function Description: change file or directory permissions
grammar
chmod [{ugoa}{+-=}{rwx}] [File or directory]
chmod [mode=421] [File or directory]
-R Recursive modification
...
Posted by sir nitr0z on Fri, 28 Feb 2020 00:48:39 -0800
Configuration of Kubernetes series high availability enterprise image warehouse Harbor
1, About Harbor
1. Introduction to harbor
Harbor is an enterprise level Registry server for storing and distributing Docker images. It extends open source Docker Distribution by adding some necessary enterprise features, such as security, identity and management. As an enterprise private Registry server, harbor provides better performance and ...
Posted by abhi_10_20 on Thu, 27 Feb 2020 22:15:33 -0800