Detailed explanation of shell process control
When we write a program, we often need to judge the execution result of the previous step, so the judgment needs to be realized by using if statement.
if statement is mainly used for judgment in our program.
1, if syntax
1.1 single branch if
if condition;then
Command to execute 1
Command to execute 2
Command to execute 3
. ...
Added by lukeurtnowski on Tue, 28 Sep 2021 22:54:18 +0300
Monitoring service zabbix deployment
1. Introduction to ZABBIX
zabbix is an enterprise class open source solution based on WEB interface to provide distributed system monitoring and network monitoring functions.
zabbix can monitor various network parameters to ensure the safe operation of the server system; Flexible notification mechanism is provided to enable system adminis ...
Added by Deadman2 on Sun, 26 Sep 2021 23:01:09 +0300
Deep understanding of Linux file system and log analysis
catalogue
1, inode and block overview
1. block
2. inode (index node)
3. inode content
4. cp and inode
5. mv and inode
6. Structure after hard disk partition
7. Simple process of accessing files
8. inode size
9. Special role of inode
2, Hard link and soft link
1. Hard link
2. Soft link
3. The difference between ...
Added by weazy on Sat, 25 Sep 2021 09:01:38 +0300
Operation and maintenance monitoring series (15) - Alertmanager adds 163 mailbox, nail and wechat alarm notification functions
Mailbox 163
The alarm notification can be sent by mail. Then, in the previous document, we configured the sending email alarm method.
1. Set 163 mailbox
To send mail, you need an smtp mail server. First, you need to set Netease mailbox.
First log in to mailbox 163 and enter the mailbox center settings. Then start POP3/SMTP service, where yo ...
Added by help_needed on Fri, 24 Sep 2021 14:52:46 +0300
Installing Docker engine on CentOS
To start using Docker Engine on CentOS, make sure Preconditions met , then Install Docker.
precondition
Operating system requirements
To install the Docker engine, you need a maintenance version of CentOS 7 or 8. Archive version is not supported or tested.
The CentOS extras library must be enabled. This repository is enabled ...
Added by zoki on Wed, 22 Sep 2021 09:09:17 +0300
kubernetes persistent storage capability detection
catalogue
background
problem
improvement
install
CSI storage capability detection
Persistent volume snapshot and recovery feature validation
Basic performance test
reference resources
background
Kubernetes (K8S) The Container Storage Interface (CSI) was upgraded to GA status in K8S v1.13 at the end of 2018. It provides a stan ...
Added by FraggleRock on Wed, 22 Sep 2021 07:00:48 +0300
About Firewall
Preface
Firewall is just like the Great Wall of China. It is used to protect the people inside the wall from outside malicious invasion. So is the firewall of Linux. It can filter and restrict data packets, which is the package filtering firewall to be explained in this paper.
1. Packet Filtering Firewall
1. Understanding the packet filt ...
Added by BIOSTALL on Tue, 21 Sep 2021 22:24:04 +0300
Centos8 startup reported error
Record the errors reported by Centos8 during startup and the solutions
Startup error 1:
Note: in this case, it means that the Centos8 service has been started, but there is a problem with the interface startup. At this time, it can be used (xshell connection) and the service can be accessed.
Solution 1:
1. Use xshell and other soft ...
Added by frans-jan on Tue, 21 Sep 2021 05:33:20 +0300
nginx load balancing upstream and proxy_pass - (linux operation and maintenance 23)
1. Cluster preparation
Cluster: a group of servers doing the same work
1.1 cluster construction of virtual environment
The web01 virtual machine will be shut down first for cloning. Boot configuration ip hostname The configuration of the web cluster is as follows:
Host nameipweb01192.168.246.7web02192.168.246.8web03192.168.246.9
Mo ...
Added by sasi on Mon, 20 Sep 2021 17:01:00 +0300
Installing Sonatype Nexus Repository OSS on CentOS 7
[transferred from Darshana of FOSS Linux< Installing Sonatype Nexus Repository OSS on CentOS 7 >[translation]
Sonatype Nexus is a popular repository manager for most components, binaries, and build artifacts worldwide. It supports the Java virtual machine (JVM) ecosystem, including Gradle, Ant, Maven, and Ivy.
Compatible standard tools ...
Added by dasding on Mon, 20 Sep 2021 12:21:22 +0300