Raspberry pie 4B builds devops platform based on docker
background
Deploy a set of devops platform with open source software container on raspberry PI4B, which can be used for normal R & D activities such as code management, warehouse management, project management, CICD and so on.
prepare
Hardware: Raspberry Pi 4B (8g version)
OS: centos7.9
Basic environment: 19.03.8
IP: 10.0.1.155 ...
Added by xtopolis on Tue, 04 Jan 2022 21:23:03 +0200
Compiling and using Linux static libraries
Preface:
The nature and working mode of library files in both Linux and Windows are the same, except that the corresponding file formats and file suffixes for libraries on different platforms are different. The library called in the program is a static library. There are two purposes to use libraries in a project. One is to make the program si ...
Added by decessus on Tue, 04 Jan 2022 21:14:44 +0200
awk of three swordsmen in text processing
1.awk working principle and basic usage
awk
:
Aho, Weinberger, Kernighan
, report generator, formatted text output,
GNU/Linux
Published
AWK is currently funded by the free software foundation(
FSF
)Development and maintenance, commonly known as
GNU AWK
There are several versions:
AWK: AWK originally from at & T ...
Added by robdavies on Tue, 04 Jan 2022 18:03:50 +0200
Day6 - understanding and learning BASH
Day6 - understanding and learning BASH
0X01 BASH Foundation
1. shell built-in properties
Gets the length of the string length=${#Var} can get the length of var
Gets the shell currently in use $BASH $0
Check current running user if [ $UID -ne 0 ] then
echo NOT ROOT USER. Please run as root
else
echo Root User
fi
perhaps if test $UID - ...
Added by Bunkermaster on Mon, 03 Jan 2022 18:52:38 +0200
POSIX semaphore code analysis in Linux (P/V operation)
POSIX semaphore
1. Basic concepts
The logic of POSIX semaphore is exactly the same as that of semaphore elements in IPC semaphore group, but the operation of POSIX semaphore is simpler and the interface is easier to use. It is widely used in multi process and multi thread. POSIX semaphores are divided into two types:
POSIX anonymous sema ...
Added by polarbear66 on Sat, 01 Jan 2022 10:41:55 +0200
Practice learning the basics of batch files (. bat)
target
Through practice, learn the basic writing method of bat file. Main reference tutorials: http://www.trytoprogram.com/batch-file/ https://www.tutorialspoint.com/batch_script/index.htm
0. First bat file
Open a text editor and enter the following text:
@echo off
echo Hello bat
pause
Save it as a suffix bat file.
Just double click the ...
Added by toivo on Wed, 29 Dec 2021 05:04:21 +0200
Operating system family - detailed explanation of target files
Previous address:
Operating system series - operating system overviewOperating system Series II - processOperating system series 3 -- compilation and link relationshipOperating system series 4 - stack and function call relationship
Theme of this issue: Detailed explanation of target file
1. Definition and classification of target doc ...
Added by triphis on Wed, 29 Dec 2021 00:22:59 +0200
Linux -- common commands of operation and maintenance engineers
preface
Summarize some commands commonly used at ordinary times, not detailed explanations of commands, but continuous updates
1.nc command
nc is short for netcat
yum -y insatll nc
function
(1)Network port connectivity
nc -vz -w 1 192.168.1.129 3306 Centos6
nc -w 1 192.168.1.129 3306 </dev/null ...
Added by pornost4r on Tue, 28 Dec 2021 00:08:33 +0200
How to use Bash in Linux
2021SC@SDUSC
Shell
Shell is a program, which can be called shell program, which is used for users to interact with the operating system. It is used to distinguish between and core, which is equivalent to a command parser. There are many shells, and several of them are listed here
Bourne SHell(sh) Bourne Again SHell(bash) C SHell(csh) Korn ...
Added by ardyandkari on Wed, 22 Dec 2021 02:05:28 +0200
Shell script basics start from scratch -- the first shell script
1, Foreword
After the basic study of the previous three sections, we are finally going to enter the door of the shell. As a back-end developer, you don't have to be proficient in shell script development, but you need to master some shell programming skills. After all, shell script, as a lightweight scripting language, can help us complete ...
Added by Daniel.Conaghan1 on Thu, 16 Dec 2021 01:23:17 +0200