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

CentOS 7 firewall policy configuration necessary for operation and maintenance beginners

CentOS 7 firewall policy configuration necessary for operation and maintenance beginners 1. Preface: All distributions above CentOS 7 try to bring their own firewalld firewall, and firewalld brings iptables firewall. The reason is that the firewall policy of iptables is handled by the netfilter network filter at the kernel level, while firewa ...

Added by DigitalExpl0it on Mon, 27 Dec 2021 20:58:04 +0200

Container Data Volume Technology for Getting Started with docker

Preface When we start a container, all kinds of data are stored in the container. Once the docker rm command is executed accidentally, the container will be deleted and the data will be lost. The data generated by the docker container must be persisted in the production environment, and the problem of data sharing among multiple contain ...

Added by russian_god on Mon, 27 Dec 2021 10:28:32 +0200

Record a survey and solution of mykings-dark cloud mining Trojan horse

WeChat Public Number: Operations and Maintenance Development Story, Author: wanger cause The firewall of a Windows server 2012 Ali Cloud Server that was tested before always starts after it is shut down. After thinking about many ways and without finding the reason, I asked the worksheet for the sale, and found no problems after the sale, a ...

Added by MA06 on Sun, 26 Dec 2021 14:48:53 +0200

k8s workload controller

k8s workload controller 1.k8s workload controller Workloads are applications running on kubernetes. Whether your load is a single component or multiple components working together, you can run it in a set of Pods in Kubernetes. In Kuberneres, pod represents a set of containers running on the cluster. Kubernetes Pods has a defined life cyc ...

Added by Skor on Sun, 26 Dec 2021 11:06:10 +0200

Kubernetes workload controller

Workload Controller Workload Controllers are an abstract concept of K8s for deploying and managing Pod s at higher levels of objects. Common workload controllers: Deployment: Stateless application deploymentStatefulSet: Stateful application deploymentDaemonSet: Make sure all Node s run the same PodJob: One-time taskCronjob: Timed tasks Cont ...

Added by gchouchou on Sat, 25 Dec 2021 21:48:24 +0200

acme.sh issue SSL certificate free of charge

acme.sh overviewAn ACME protocol client written purely in Shell (Unix shell) language.Complete ACME protocol implementation. Supports ACME v1 and ACME v2 wildcard certificatesSimple, powerful and easy to use. You only need 3 minutes to learn it.Let's Encrypt free certificate client is the simplest shell script.It is written purely in Shell and ...

Added by michaelkirby on Sat, 25 Dec 2021 19:28:54 +0200

Use of disk partition tools in Linux system

1. Preface In the daily operation and maintenance work, partitioning the Linux system disk is a very common operation. Generally speaking, whether you use the fdisk tool or the parted tool, the general steps are the same. You need to mount the disk first, then partition the target disk and format it into the specified file system type, a ...

Added by if on Sat, 25 Dec 2021 18:06:57 +0200

Prometheus configuration details

1, Configuration file https://prometheus.io/docs/prometheus/latest/configuration/recording_rules/#configuring-rules To specify the configuration file to load, use – config File flag. The file is in YAML Format, defined by the scheme described below. Parentheses indicate that the parameter is optional. For non list parameters, this v ...

Added by said_r3000 on Sat, 25 Dec 2021 15:59:04 +0200

System D process management

systemd introductionsystemd is the main system daemon management tool on Linux system at present. On the one hand, init manages the process serially, which is prone to blocking. On the other hand, init only executes the startup script and cannot manage the service itself. Therefore, starting from CentOS 7, init has been replaced by systemd as t ...

Added by sdjensen on Sat, 25 Dec 2021 05:34:46 +0200