Install docker plug-ins on jenkins
Install docker locally and add warehouse images
Add permissions to docker.sock
Add docker plug-ins to previous tasks on jenkins
Upload the image to be built
Writing dockerfile on git side
[root@server1 demo]# ls
Dockerfile index.html README.md
[root@server1 de ...
Posted on Mon, 30 Sep 2019 13:50:44 -0700 by tmallen
In learning how to use Python and plotly to process data, after two hours of hard trial and error, I finally completed the examples of scatter plot and polyline plot. In the process of using, I encountered a big pit, because the official case is stored online, so it needs to install jupyter (i.e. ipython) to use notebook to process the generate ...
Posted on Mon, 30 Sep 2019 13:35:37 -0700 by xepherys
Commands ls and dir under Linux have the same function: print the current folder directory.
Note: LS is the original command of Linux, dir is the original command of dos. Linux chooses to be compatible with this DOS command, so dir and ls are functionally the same.
1. ls command
Common ls commands are ...
Posted on Mon, 30 Sep 2019 13:12:22 -0700 by rubberjohn
The question of "Qi"
The disk space on CentOS 7 is a little tight and needs to be expanded.
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
Posted on Mon, 30 Sep 2019 12:42:14 -0700 by toppac
1. Version requirements
go version go1.12.4 linux/amd64
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
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.
Run a MySQL directly using Kubectl to repro ...
Posted on Sun, 29 Sep 2019 09:02:23 -0700 by Ace_Online
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 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
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
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.
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