Shell programming and variables

1, Overview 1. Concept 1) What is a shell: shell It is a command interpreter, which is at the outermost layer of the operating system. It is responsible for directly talking with the user, interpreting the user's input to the operating system, processing various operating system output results, and outputting them to the screen for feedb ...

Posted by badapple on Wed, 19 Jan 2022 17:42:00 +0100

Huawei cloud Centos installation and configuration XL2 + IPSec VPN service

1, Deploy PPTP VPN server 1. Check whether the server system environment supports the installation of pptp 1,Check whether the system kernel supports MPPE patch [root@PPTP ~]# modprobe ppp-compress-18 && echo success display success Description system support MPPE If the patch is not supported, you need to install it first k ...

Posted by jammer on Wed, 19 Jan 2022 16:34:39 +0100

[learning notes on multithreaded programming 8] thread synchronization using mutex

Statement: This study note is a summary based on the tutorial and combined with your own learning situation. It is not original. If you want to see the original version, please see the C language Chinese network Multithreaded programming (C language + Linux) , the website has many good programming learning tutorials, especially about C language ...

Posted by Atomic Taco on Wed, 19 Jan 2022 11:49:16 +0100

Apache configuration and Application

catalogue 1, Building a virtual web host 2, Domain name based virtual host 3, Options instruction interpreter 4, AllowOverride instruction interpretation 5, IP address based virtual host 6, Apache connection retention 7, Building Web virtual directory and user authorization restrictions 1, Building a virtual web host Virtual web host ...

Posted by Master_Phantom on Wed, 19 Jan 2022 11:09:51 +0100

Enterprise operation and maintenance ---- Saltstack automation (introduction, installation, remote execution, grains, Jinja template)

1, Introduction to Saltstack 1. Introduction saltstack is a configuration management system that can maintain remote nodes in predefined states.saltstack is a distributed remote execution system, which is used to execute commands and query data on remote nodes.saltstack is a powerful tool for operation and maintenance personnel to improve ...

Posted by enfys on Wed, 19 Jan 2022 10:18:40 +0100

Self signed SSL certificate and use of server and client

  Basic generation steps: Generate CA root certificate Generate server certificate Generate client certificate (if two-way authentication is required) 1. Generate root certificate # Generate root private key openssl genrsa -out root.key 1024 # To create a root certificate request file based on the private key, you need to enter some meta in ...

Posted by Flying Sagittarius on Wed, 19 Jan 2022 09:59:13 +0100

Use of Supervisor in Python 3

Introduction to supervisor First, let's introduce supervisor. Supervisor( http://supervisord.org )It is a client/server service developed in Python. It is a process management tool under Linux/Unix system. It does not support Windows system. It can easily monitor, start, stop and restart one or more processes. For a process managed by supervis ...

Posted by psymonic on Wed, 19 Jan 2022 08:55:27 +0100

Operating system course design - Windows process management

1, Experimental purpose (1) Learn to use VC to write basic Win32 console application (console application). (2) By creating processes, observing the programming and debugging operations of running processes and terminating processes, we can further get familiar with the process concept of the operating system and understand the "life" ...

Posted by hiberphoptik on Wed, 19 Jan 2022 02:33:24 +0100

What does the top command output mean?

1. Instance data Taking centOS8 as an example, record the meaning of the parameters in the output result of the top command. top -bn 1 > top.txt //Here, grab the output result of the top command once top - 23:07:37 up 17:09, 1 user, load average: 1.01, 0.41, 0.16 Tasks: 256 total, 1 running, 253 sleeping, 2 stopped, 0 zombie ...

Posted by Sergey Popov on Wed, 19 Jan 2022 01:46:28 +0100

[FTP] in [Linux learning notes]

FTP User classification System user System native user. Linux generally does not restrict entity users, so entity users can work for the entire file system. But they usually do not want to access the system remotely through FTP. Virtual user Users who can only use the system through FTP can not directly log in to the system through Shel ...

Posted by xjake88x on Wed, 19 Jan 2022 00:49:03 +0100