sed is a text processing tool that allows you to replace, add, select, and so on.
formatsed option action file name
Replace a field in a file with sedFor example, if you write a yaml file with a field in the middle that needs to be modified, you can use sed to replace it on the outside command lineFormat: sed's/original/new/filename
Posted on Mon, 17 Feb 2020 14:24:12 -0500 by mubashir
11. Build personal Leanote cloud notebook
12. Building Firekylin personal blog
13. Experience CVM of CentOS system
14. Maven installation and getting started
15. Building a Laravel environment
16. Jenkins environment construction
17. Build wechat applet service
18. Build wechat AI r ...
Posted on Thu, 13 Feb 2020 06:11:16 -0500 by Chris92
The partition of the original Ubuntu 12.04 server version is as follows.
The glibc upgrade causes the system to restart and cannot be started. After the system is repaired, it is still wrong. The system is then refitted.
In the reassembly project, the original ext4 partition is formatted and LVM is unc ...
Posted on Sun, 09 Feb 2020 12:08:16 -0500 by Distant_storm
server1: gitlab git
server2: jenkins git
It has been written, omitted, and will not look at the link: https://blog.csdn.net/su_use/article/details/81985217
[root@server2 jenkins]# ls
[root@server2 je ...
Posted on Fri, 03 Jan 2020 02:52:46 -0500 by chadowch
gitblit is used as a git server, that is, as a private code warehouse, similar to Github
Jenkins is an automated build tool that helps update the code in the repository to the server. Can be set to timed auto build.
I explored the usage of my company in detail. First, I briefly described the following work process:
Usually, after we have writ ...
Posted on Mon, 23 Dec 2019 15:31:24 -0500 by hossein2kk
jenkins solves the problem of Git plug-in incompatibility. In many cases, jenkins fails to load plug-ins or the configuration is often lost due to the different plug-in versions required for project packaging. Today we mainly solve the problem of Git plug-in incompatibility or version. Of course, there are many solutions. He ...
Posted on Tue, 17 Dec 2019 14:58:27 -0500 by Alzir
String and common data structures
Single and double quotes, normal output
Three quotation marks, line wrapping output in the middle
Adding r before means no escape
s1 = r'\'hello, world!\''
s2 = r'\n\\hello, world!\\\n'
print(s1, s2, end='')
str1 = 'hello, world!'
# Calculate the length of the string through the built-in function le ...
Posted on Mon, 16 Dec 2019 13:21:48 -0500 by tcl4p
The solution of Jenkins master-slave communication exception based on Kubernetes
Deployment of Jenkins dynamic slave based on Kubernetes After running Jenkins Job, the complete exception stack of java.nio.channels.ClosedChannelException exception will be thrown as follows:
FATAL: java.nio.channels.ClosedC ...
Posted on Sat, 14 Dec 2019 14:31:17 -0500 by Hobgoblin11
Deployment environment and process1) Jenkins is a java product, and JDK8 needs to be installed. Because. netFreamwork project automation is based on windows, so continue to use the existing Jenkins under the Windows server 2012 environment, deploy and build the dotnet Core project to continue to operate under the windows platform.2) .NET Core ...
Posted on Fri, 13 Dec 2019 11:29:30 -0500 by dub
I. environmental preparation
K8s cluster environment (here I am k8s cluster of three sets);
A single docker server is mainly used to upload images to the private warehouse. Jenkins and gitlab are also deployed in this server;
There are 4 servers in the above environment, all of which point to the same private warehouse for sharing docker ima ...
Posted on Wed, 04 Dec 2019 13:45:08 -0500 by GOKU