Linux command line and shell Scripting v3 Richard Blum
1. Initial Linux shell
Linux kernel
System memory managementSoftware program managementHardware device management: character type, block, network device fileFile system management GNU tools: coreutils packageGraphical desktop environment: X Window, KDE, GNOME, UnityApplication software
2. Enter the shell
Set terminal color
setterm -for ...
Added by kecebong_soft on Mon, 31 Jan 2022 03:31:09 +0200
Exploration of pika in codis
background
Faced with the increasing storage capacity of kv type data in the company and the fact that the performance response is not sensitive, the cost of using the original codis scheme to store data is becoming higher and higher. In this scenario, there is an urgent need for an alternative scheme that can effectively take into account bot ...
Added by TecBrat on Mon, 31 Jan 2022 01:54:39 +0200
Overview of linux namespace
What is the namespace of linux
About the linux namespace, Official documents Here's what it says:
A namespace wraps a global system resource in an abstraction that makes it appear to the processes within the namespace that they have their own isolated instance of the global resource. Changes to the global resource are visible to other proc ...
Added by daveh33 on Sun, 30 Jan 2022 23:05:55 +0200
Steps for deploying flash with DockerDesktop installed on Mac
1, Download docker
stay Docker official website Find the corresponding mac download in. After clicking in, I choose the version of the corresponding chip of my computer and start downloading. I own m1 chip.
2, Install and run docker on MAC computer
1. Double click Docker DMG open the installer and drag the Docker icon to the Applicatio ...
Added by LuciBKen on Sun, 30 Jan 2022 20:22:28 +0200
[prepare for autumn recruitment] interview of Linux operation and maintenance electronics factory
1. The database data is damaged due to misoperation of drop statement. Please write down the recovery idea and actual general steps?
#The recovery of all data depends on backup. If there is no backup, it cannot be recovered In case of recovery after misoperation, the incremental recovery method shall be used for recovery. The specific steps ...
Added by beckjoh on Sun, 30 Jan 2022 16:27:23 +0200
Linux driver development block device driver
Block device driver
Block device driver is one of the three driving types of Linux. Block device driver is much more complex than character device driver. Different types of storage devices correspond to different driving subsystems. The block device driver framework and its application are introduced below
1, Block device introduction
Block ...
Added by cockney on Sun, 30 Jan 2022 11:50:16 +0200
Kafka security authentication SASL/PLAINTEXT, account password authentication
Environment centos7 kafka cluster and zookeeper cluster do not have user password by default.
1. Configure zookeeper cluster SASL
All nodes of zookeeper are peer-to-peer, but the roles of each node may be different. The configuration of all nodes in the following steps is the same.
1. Add SASL support for zookeeper in the configuration file ...
Added by saami123 on Sun, 30 Jan 2022 11:34:58 +0200
Demonstration of the most basic configuration of nginx
Reverse proxy
Reverse proxy diagram
Configuration file nginx conf
Just configure the proxy in the server_ Pass is OK. Everything else is the default.
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker ...
Added by noimad1 on Sun, 30 Jan 2022 09:16:55 +0200
Basics of nginx
1, Basic concepts
nginx: high performance HTTP and reverse proxy server, supporting hot deployment, high concurrency, reverse proxy, load balancing, dynamic and static separationForward proxy: the client configures a proxy server to directly access the browser. This method is called forward proxy.Reverse proxy: the client accesses the prox ...
Added by Roger Ramjet on Sun, 30 Jan 2022 08:12:14 +0200
LVS introduction and NAT mode configuration and implementation of Linux Enterprise load cluster
1, Introduction to LVS 1.LVS(Linux Virtual Server), load scheduler, kernel integration 2.LVS architecture The server cluster system based on LVS architecture consists of three parts: Loader balancer (load balancing layer), server array (middle server group layer) and shared storage (data shared storage layer). 3. Working principle of LVS
When ...
Added by Z3roDowner on Sat, 29 Jan 2022 17:30:41 +0200