[Euler openEuler 21.03 (arrch64 Architecture) ssh installation, configuration and remote control]
1. Check whether SSH is installed: it is generally installed by default
[changairjb@localhost ~]$ rpm -qa | grep ssh
libssh-0.9.5-1.oe1.aarch64
openssh-8.2p1-13.oe1.aarch64
openssh-server-8.2p1-13.oe1.aarch64 //Server
libssh2-1.9.0-6.oe1.aarch64
openssh-clients-8.2p1-13.oe1.aarch64 //client
2. If not installed: enter the following com ...
Added by trevHCS on Tue, 14 Dec 2021 07:40:01 +0200
26, K8s system enhanced 2-seccomp and sysdig
1, Experimental environment
The underlying system is Ubuntu 18 04, then install k8s on each node and build a cluster. The IP address of the Master node is 192.168 26.71/24, the IP address of two worker nodes is 192.168 26.72/24,192.168. 26.73/24.
2, Seccomp
1.Seccomp concept seccomp (full name: secure computing mode) is a security mechanis ...
Added by viraj on Tue, 14 Dec 2021 03:53:54 +0200
Directory operation related functions
chdir
Modify the current process path;
SYNOPSIS: #include <unistd.h>
int chdir(const char *path);
DESCRIPTION:
path: the working directory to be changed, similar to the cd command; RETURN VALUE: 0 is returned for success and - 1 is returned for failure;
getcwd
Obtain the working directory of the current process;
SYNOPSIS: #inc ...
Added by bl00dshooter on Tue, 14 Dec 2021 02:59:48 +0200
CentOS 7 deployment k8s cluster
1. Version and planning
1.1 version information:
nameVersion numberkernel3.10.0-1160.el7.x86_64operating systemCentOS Linux release 7.9.2009 (Core)docker20.10.11kubeadm1.23.0kubelet1.23.0kubectl1.23.0
1.2 cluster planning
IPhostname192.168.0.114k8s-master192.168.0.115k8s-node01192.168.0.116k8s-node02
2 deployment
explain:
From step 1 t ...
Added by claire on Mon, 13 Dec 2021 18:59:49 +0200
[Linux] file system and file management summary
In Linux, the kernel is for each
Open files provide three data structures to maintain them. The relationship between them determines the possible impact of one process on another in file sharing.
Process level file descriptor tableSystem level open file tableinode table of the system
I Open file descriptor table
1. What is an open file ...
Added by bbxrider on Mon, 13 Dec 2021 09:13:50 +0200
One day introduction to linux detailed explanation of linux operating system foundation
preface
This article also cost me a lot of effort. First of all, I want to make it clear that at least more than 100% of the knowledge points in this article before I write this article are not clear. Moreover, the total number of words after writing this article is no more than 24 hours, with a statistics of more than 27800 words and more tha ...
Added by andreiga on Mon, 13 Dec 2021 01:58:37 +0200
Compiling WebRTC under Linux (Linux and Android versions)
prefaceWith the influence of COVID-19, the demand for audio and video has explode in the past two years. In the field of audio and video, WebRTC can be said to be an inseparable treasure house, including the whole process of audio and video acquisition, encoding and decoding, transmission and rendering. This paper mainly records the whole proce ...
Added by wiegs on Sat, 11 Dec 2021 11:53:51 +0200
Prometheus service discovery
1, Prometheus deployment
Environmental preparation
hostnamectl set-hostname prometheus
systemctl stop firewalld
systemctl disable firewalld
setenforce 0
vim /etc/resolv.conf
nameserver 114.114.114.114
ntpdate ntp1.aliyun.com #Time synchronization must be done, otherwise there will be problems
Unpack and start service
#Drag the ...
Added by airdee on Sat, 11 Dec 2021 09:58:23 +0200
Linux system programming mutex semaphores, multitask mutex and synchronization
Multitask Mutual Exclusion and Synchronization
Overview of Mutual Exclusion and Synchronization
In a multitask operating system, multiple tasks running at the same time may need to access/use the same resource. Many tasks depend on each other. One task depends on another task. Synchronization and mutually exclusion are the solutions to both ...
Added by vurentjie on Fri, 10 Dec 2021 19:10:07 +0200
Installation and use of muduo Library
Today, we started Chen Shuo Da's journey of linux multithreaded server programming to learn the muduo network library. Here we mainly record the installation of muduo in the ubuntu subsystem of WSL under win11. Firstly, since muduo uses cmake as the build system, cmke must be installed first. In addition, since muduo depends on Boost (the core ...
Added by bytes on Fri, 10 Dec 2021 16:57:53 +0200