Use of Linux signals

1. Basic concept of signal A signal is an event generated by the system in response to a condition. The process will perform the corresponding operation after receiving the signal. System calls related to signals are declared in the "signal.h" header file. Values of common signals and corresponding function descriptions: The value o ...

Added by elearnindia on Tue, 21 Sep 2021 10:53:38 +0300

Introduction to Linux Firewall

catalogue preface 1, Relationship between netfilter and iptables (1)netfilter (2)iptables 2, Four tables and five chains (1) Four tables (2) Five chain (3) Matching order between rule chains (4) Matching order within the rule chain 3, Installation and usage of iptables (1) Configuration method of iptables firewall (2) iptables comma ...

Added by fris on Tue, 21 Sep 2021 09:50:24 +0300

Set up K8s environment tutorial on CentOS 7!

1. Why k8s v1.16.0? The latest version of v1.16.2 has been tried and can't be installed. After installing to kubeadm init, a lot of errors have been reported, such as node xxx not found ation. centos7 has been reinstalled several times, or can't be solved. It took a day to install and almost gave up. Later, the installation tutorials found ...

Added by jbbadaz on Tue, 21 Sep 2021 08:07:12 +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

Docker installation, common docker commands, docker visualization, docker image, docker container data volume, DockerFile

Docker Refer to learning video: [crazy God talking about Java] Docker's latest super detailed tutorial is easy to understand 1, Docker overview 1.1 why does Docker appear? One product: development – online two sets of environments! Application environment, application configuration! Development - operation and maintenance. Question: ...

Added by timbr8ks on Mon, 20 Sep 2021 14:35:34 +0300

Deploy an Enterprise Private Mirror Warehouse Harbor

Private mirror warehouses have many advantages 1) Save network bandwidth, do not download from the central warehouse by everyone for each mirror, just download from the private warehouse; 2) Provide mirroring resources for internal use and push them to local private warehouses for internal use. VMware has an open source enterprise Registry proj ...

Added by SeaJones on Mon, 20 Sep 2021 07:54:43 +0300

❥ you can't learn a series ❥ -- network programming based on Python

1, IP address 1. Concept of IP address IP address is an address that identifies devices in the network, just like the home address in real lifeRendering of equipment in the network: 2. Expression of IP address IP addresses fall into two categories: IPv4 and IPv6IPv4 is the currently used ip addressIPv6 is the ip address to be us ...

Added by Anarking on Sun, 19 Sep 2021 14:14:08 +0300

Linux_RHCE self-study teaching notes - Redhat 8.2 DHCP service teaching and Research Notes

DHCP - Dynamic Host Configuration Protocol Dynamic Host Configuration Protocol: A range of IP addresses is controlled by the server, and clients can automatically get the IP addresses and subnet masks assigned by the server when they log on to the server. Service Port: UDP 67-Response 68-Request; This protocol is often used in large local a ...

Added by GetPutDelete on Sun, 19 Sep 2021 07:55:30 +0300

Common Linux optimizations

Swappiness Virtual Memory Swappiness virtual memory is a kernel parameter for Linux. When swap virtual memory is used by the control system, the relative weight of memory usage can be set between 0 and 100. The lower this parameter value is, the less swap virtual memory partitions will be used and the more memory will be used by the Linux ...

Added by bubblybabs on Sun, 19 Sep 2021 03:20:11 +0300