Overview
Using the various Beats modules of the Elastic Stack can completely end the twisted practice of manually collecting logs and checking metrics on the server. With the Elasticsearch service provided by Tencent Cloud, the operation and maintenance of a large-scale cloud environment can be easily done. This article helps you sort out the ...
Posted by brauchi on Wed, 25 May 2022 03:37:30 +0300
preface
It consists of kernel and Nginx module.
Nginx itself does little work. When it receives an HTTP request, it just maps the request to a location block by looking up the configuration file, and each instruction configured in the location will start different modules to complete the work. Therefore, the module can be regarded as the real ...
Posted by locell on Tue, 24 May 2022 05:11:51 +0300
Experimental environment
Alibaba cloud server
Linux centos7
Applicable to all Linux distributions (CentOS, Ubuntu, etc.) and embedded Linux
principle
environment variable
The export command can display all current environment variables
[root@shuaifriend ~]# export
declare -x HISTCONTROL="ignoredups"
declare -x HISTSIZE="1000"
declare -x HOM ...
Posted by lucasrd on Tue, 24 May 2022 00:18:01 +0300
Today, continue the content of the previous article and study several commonly used operation and maintenance codes.
Batch set password
Write a script to batch create 10 system accounts oldboy01-oldboy10 and set the password (the password is a random 8-bit string).
Reference answer: one of the codes found on the Internet is as follows (verifi ...
Posted by maxpup979 on Mon, 23 May 2022 14:58:21 +0300
VMware creates hadoop clusters from scratch
1. Preparation of template virtual machine environment
1) Prepare a template virtual machine Hadoop 100. The virtual machine configuration requirements are as follows:
Note: the Linux system environment in this paper is illustrated by CentOS-7.5-x86-1804
Template virtual machine: 4G memory and 50G har ...
Posted by sunwukung on Mon, 23 May 2022 02:40:46 +0300
1, Origin
Reduce junk codeReduce the workload of driver developmentSeparation of driver code and device informationRefer to Open Fireware designIt is used to record the attribute information of various hardware devices in the hardware platform
2, Basic composition
There are two kinds of source files:
xxxxx.dts is the abbreviation of ...
Posted by phpsir on Sun, 22 May 2022 03:45:21 +0300
netstat command
netstat command comes from the abbreviation of the English phrase "network statistics". Its function is to display various network related information, such as network connection status, routing table information, interface status, NAT, multicast members, etc.
netstat command is not only applied to Linux system, but ...
Posted by perrij3 on Sun, 22 May 2022 03:35:27 +0300
Mall project is a set of e-commerce system, including front office mall system and background management system. It is implemented based on SpringBoot+MyBatis and deployed in Docker container. The front desk mall system includes home page portal, commodity recommendation, commodity search, commodity display, shopping cart, order process, mem ...
Posted by Flinch on Fri, 20 May 2022 22:49:00 +0300
1. Conditional test operation
[conditional expression]
(1) document test[file or directory]-d: Whether the directory is directory (test) -e: Test whether the directory or file exists (Exist) -f: Test whether it is a file -r: Test whether the current user has permission to read, -w: Test whether the current user has permission to write -x: T ...