Getting started guide for gitlab to quickly master daily needs
1. Premise
jenkins plug-in address: http://updates.jenkins-ci.org/download/plugins/
192.168.211.90 gitlab,jenkins,Maven192.168.211.91 git,httpd192.168.211.92 nexus,sonarqube,docker-ce
192.168.211.93 this is a separate environment for testing jenkins and docker
Turn off the firewall
# systemctl disable firewalld.service
close Networ ...
Added by McMaster on Sun, 20 Feb 2022 13:48:07 +0200
Struct input under Linux_ Detailed explanation of event structure (refer to Guangdong embedded data)
4.4 touch screen application interface
4.4.1 introduction to input subsystem
There can be more than one input device connected to the operating system, perhaps a standard PS/2 keyboard, perhaps a USB mouse, or a touch screen, or even a game console joystick. When dealing with these complex and different input devices, Linux still uses the mid ...
Added by justinwhite93 on Sun, 20 Feb 2022 13:13:07 +0200
Linux file input / output stream
File open, file write, file read, file close, file cursor lseek, file create
The general process of a file is to open or create a document - edit the document - save the document - close the document. The api (Application Programming Interface) provided by liunx file operation includes open, write, read, close, lseek, create, etc.
File op ...
Added by danielholmes85 on Sun, 20 Feb 2022 09:19:05 +0200
Linux learning - wildcards and special symbols
1. Wildcard
1.1 effect on documents
*: matches any 0 or more characters or strings, including empty strings
[root@VM-0-17-centos ~]# rm -f *.sh
?: Match any 1 character
[root@VM-0-17-centos ~]# ls ?.*
a.out
[root@VM-0-17-centos ~]# ls ????.* # Can be used multiple times
info.txt test.sh
1.2 action on file / character
[abc ...
Added by SteveMellor on Sun, 20 Feb 2022 08:34:20 +0200
Log management in LINUX system
Experimental environment
systemctl stop firewalld
1.journald
Service Name: SYSTEMd journal service journalctl Default log storage path: / run/log
Experiment 1 usage of journalctl command
journalctl -n 3 ## latest 3 entries in log --since "2020-05-01 11:00:00" ## displays the log after 11:00 --until "2020-05-01 11:05:00" ...
Added by PrinceOfDragons on Sun, 20 Feb 2022 08:23:00 +0200
Linux system openvpn installation configuration
openvpn version: 2.5.2
Server installation mode: source code compilation and installation
Certificate generation method: easy RSA 3
Server configuration
Compile and install
openvpn source code download address
Easy RSA download address
# system configuration
echo 'net.ipv4.ip_forward = 1' >> /etc/sysctl.conf
sysctl -p /etc/sys ...
Added by jassikundi on Sun, 20 Feb 2022 08:20:51 +0200
GoAccess lightweight nginx log analysis tool
What is GoAccess
GoAccess is an open source, real-time Web log analysis tool running under the command line terminal.
The tool provides fast and diverse HTTP status statistics.
The analysis results can be viewed through client tools such as XShell, and Html reports can be generated.
GitHub address: https://github.com/allinurl/goaccess
Offi ...
Added by Nomaad on Sun, 20 Feb 2022 06:37:29 +0200
[LINUX] multithreading (producer consumer model, POXIS semaphore)
Producer consumer model
Why use the producer consumer model
Producer consumer model is to solve the strong coupling problem between producers and consumers through a container. Producers and consumers do not communicate directly with each other, but communicate through the blocking queue. Therefore, after producing data, producers do n ...
Added by maexus on Sun, 20 Feb 2022 06:24:52 +0200
Redis installation and common commands
preface
Although relational database is widely used, its performance is relatively poor in the face of current data access. At this time, his good friend non relational database appeared. Enterprise development generally combines the two. Next, we will introduce the non relational database Redis (it is said that Redis was originally deve ...
Added by dantone on Sun, 20 Feb 2022 05:27:48 +0200
Common Linux commands and interview questions
Common Linux commands
1. File operations 📂
cd # Enter Directory
cd .. # Return to the previous directory
pwd # Show working paths
ls # View files in the current directory
ls -a # Hidden files can be displayed
ls -l # View file details
ls -la # View all file details
cat # View the entire contents of the file
vim # Edit file: [i] E ...
Added by Brian on Sun, 20 Feb 2022 04:29:58 +0200