Regular expression explanation of Shell script

catalogue 1, Common pipeline commands 1.1 sort command 1.2 uniq command 1.3 tr command 1.4cut command 1.5 examples 1.5.1 statistics of current host connection status 1.5.2 count the number of currently connected hosts 2, Regular expression 2.1 definition of regular expression 2.2 common metacharacters (supported tools: find, grep, eg ...

Posted by delmardata on Tue, 26 Oct 2021 07:04:13 -0700

curl usage guide

brief introduction curl is a common command-line tool for requesting Web servers. Its name means the URL tool of the client. Its function is very powerful, with dozens of command line parameters. If you are proficient, you can completely replace graphical interface tools such as Postman. This paper introduces its main command line paramete ...

Posted by asmon on Mon, 25 Oct 2021 18:31:53 -0700

I don't know about Nginx thread pool yet. I'll get you started this time [novice collection recommended]

Nginx solves the c10k problem by using multiplexing IO Technology (such as epoll of Linux, kqueue of FreeBSD, etc.), but the premise is that the request of nginx cannot have blocking operation, otherwise the whole nginx process will stop serving. However, blocking is inevitable in many cases. For example, when a client requests a static file, d ...

Posted by murtoz on Mon, 25 Oct 2021 06:56:01 -0700

Working principle and configuration of nginx

Working principle and configuration of nginx Module and working principle of nginx Nginx consists of kernel and modules. Among them, the design of the kernel is very small and concise, and the work completed is also very simple. Only by looking up the configuration file, the client request is mapped to a location block (location is an ins ...

Posted by ChrisMayhew on Mon, 25 Oct 2021 01:59:12 -0700

Zen installation and management

Recently, I changed a new project team. Because the new team is relatively young and does not implement formal project management, I volunteered to contribute to team management and help the team establish agile project management. After many studies and comparisons, I chose the popular open source project management software: Zen. This is a do ...

Posted by shooff2332 on Sun, 24 Oct 2021 19:38:38 -0700

Docker configures the master-slave environment of PostgreSQL13

Docker configures the master-slave environment of PostgreSQL13 preface PostgreSQL database supports a variety of replication solutions to build high availability, scalable and fault-tolerant applications, one of which is pre write log (WAL) delivery. This solution allows the use of file based log shipping or streaming replication, or, wher ...

Posted by Potatis on Sun, 24 Oct 2021 19:20:23 -0700

Process Base Points

Catalog 1. Definition of process 2. State and Transition of the Process 3. Process Control Block 4. Process number   5. Process Creation--fork Function 6. Process Creation   7. exit and _ exit function 8. Recycling of processes 1. wait function 2. waitpid function 9. Orphan Process 10. Zombie Process 1. Definition of p ...

Posted by welsh_sponger on Sun, 24 Oct 2021 09:36:04 -0700

mysql5.7 is manually installed on centos server

Manually install MySQL version 5.7. X in CentOS 7.4 environment. 1. Install MySQL version: 5.7.25 2. Download address https://dev.mysql.com/downloads/mysql/5.7.html#downloads (as time goes by, please refer to the download address of the latest official website) 3. Use the wget command to download the relevant rpm files through breakpoint t ...

Posted by LiamOReilly on Sat, 23 Oct 2021 18:58:50 -0700

Chapter 6 Introduction to Shell script programming

3.bash configuration file There are many bash shell configuration files, which can be divided into the following categories 3.1 it is divided into two categories according to the effective scope Global configuration: for all users /etc/profile /etc/profile.d/*.sh /etc/bashrc Personal configuration: only valid for specific users ~/.bash_p ...

Posted by cristalmolix on Sat, 23 Oct 2021 17:10:41 -0700

Linux user management

1. Basic introduction Linux system is a multi-user and multi task operating system. Any user who wants to use system resources must first apply to the system administrator for an account, and then enter the system as this account. 2. Add user Basic grammar useradd username case Add a user milan. [root@hostName01 ~]# cd /home [root@ho ...

Posted by Seraskier on Sat, 23 Oct 2021 05:11:48 -0700