[embedded introductory learning notes] - V. shell programming
Embedded introductory Learning Series notes index
1, Introduction to Linux
2, deb package management
3, Special characters in shell
4, Linux common commands
5, shell programming
catalogue
1, shell and variables
1.shell script Basics
2.shell variables
2.1 user defined variables
2.2} position variables (command line parameters)
2.3 p ...
Added by kovudalion on Sun, 23 Jan 2022 11:58:46 +0200
RH358 accessing block based networked storage - automated configuration of iSCSI initiator
RH358 accessing block based networked storage – automated configuration of iSCSI initiator
This section describes how to use Ansible to connect iSCSI storage and management.
1. Use Ansible to connect iSCSI Targets
Use ansible open_ The iSCSI module discovers and logs in to the remote iSCSI target. This module relies on the iSC ...
Added by OLG on Sun, 23 Jan 2022 11:28:56 +0200
In the Docker environment, run Mysql and start Binlog to configure master-slave synchronization
The same server uses Docker to simulate the master-slave synchronization settings of Mysql settings.
1. Run two Mysql: Master Mysql (master library) and slave Mysql (slave Library), database version 5.7.
#Pull image
docker pull mysql:5.7
#y run master and slave containers
docker run -p 13306:3306 --name slavemysql -e MYSQL_ROOT_PASSWORD=12345 ...
Added by jackliu97 on Sun, 23 Jan 2022 10:15:51 +0200
Detailed explanation of Linux netstat command
brief introduction
Netstat command is used to display various network related information, such as network connection, routing table, interface statistics, masquerade connection, multicast members, etc.
Meaning of output information
After executing netstat, the output result is
[vagrant@centos6 ~]$ netstat|more
Active Internet connections (w/ ...
Added by Spartan 117 on Sun, 23 Jan 2022 08:09:42 +0200
Reverse proxy and load balancing
Reverse proxy and load balancing
nginx is usually used as the reverse proxy of the back-end server, which can easily realize dynamic and static separation and load balancing, so as to greatly improve the processing capacity of the server.
Nginx realizes dynamic and static separation. In fact, when reverse proxy is used, if it is static resour ...
Added by Joe_Dean on Sun, 23 Jan 2022 07:07:15 +0200
Software management mechanism:
Software management mechanism:
The installation of software under Linux can be roughly divided into the following types:
1.Binary installation (simplest installation)
2.rpm Program installation (suffix:*.rpm)
3.yum Source installation (essentially rpm Install, it's just rpm It's just an installation method)
4.Source installation
Binary inst ...
Added by zeropaid on Sun, 23 Jan 2022 02:36:09 +0200
python Programming (from introduction to practice) Chapter 3
Chapter III list introduction
What is the list
A list consists of a series of elements arranged in a specific order. There is no relationship between multiple elements. A list usually contains multiple elements. Therefore, assign a name representing a plural number to the list (such as letters, digits, or names).
In python, the list is repre ...
Added by ClanCC on Sun, 23 Jan 2022 02:00:01 +0200
Multithreading Foundation
Thread overview
Thread is a lightweight process (LWP). In Linux environment, the essence of thread is still a process. The program running on the computer is a combination of a group of instructions and instruction parameters. The instructions control the computer according to the established logic. The operating system will allocate syste ...
Added by php-n00b on Sun, 23 Jan 2022 00:58:55 +0200
[Linux deployment] detailed installation steps of the latest version of greenplus-6.19.0 libnsl/libcrypto/libssl/libreadline No such file or directory problem solving
File network disk resources required for problem solving:
Link: https://pan.baidu.com/s/1uMrhVmHlvEQ-sEGZtqhqiw
Extraction code: kkab
File list:
libnsl-2.17.so
libcrypto.so.1.0.2k
libssl.so.1.0.2k
libreadline.so.6.2
1. Environmental description
firewall: after it is turned on, various settings are required, which may cause ...
Added by reub77 on Sat, 22 Jan 2022 16:31:07 +0200
iptables summary
iptables
firewall
Function: prevent others from entering your own computer and attacking your own computer. You can't kill viruses
Attack mode:
dos
ddos
cc
syn flooding et al
SNMP protocol --- simple network manager protocol
Simple network management protocol port 161 tcp/udp
Software firewall
The firewall function of linux system is ...
Added by wizzard81 on Sat, 22 Jan 2022 14:03:59 +0200