Delete folders larger than specified size on Linux at regular intervals
Background: There is no room for the development environment to move around, mostly debug logs.So it's necessary to delete unnecessary logs when ...
Centos7 haproxy dynamic and static separation
Results achieved:When the client accesses haproxy, when the request is static file content, the request is transferred to static server, when the req...
Application instance of rewrite Module of Nginx service (actual combat! Can do with it!)
Experimental environment Linux CentOS7 virtual machine (IP: 192.168.52.132)win10 virtual machine (as test machine) 1. Install Nginx and bind services...
django development - building distributed (multi node) task queue with cellery
Today, I'll show you how to use cellery to build a task queue with two nodes in django project (one master node and one child node; the master no...
Nginx learning notes virtual machine host
Virtual host web service publishing needs to meet three preconditions: IP, PORT and domain name; A web server can only publish one web by default; In...
Some tips when the disk is filled with large files
In the production environment, the disk will be filled with some large files, but the large files cannot be deleted immediately because they are open...
Saltstack user guide 03 configuration management
1. Host planning Matters needing attention If the configuration file of master or minion is modified, the corresponding service must be restarted. 2....
Theory+Practice: shell case statement for/while/until loop statement, function, array-full dry goods
Preface: Single quotation marks denote pure symbols with double quotation table strings case multi-branch statement Loop statement for loop statement...
Shell develops MySQL master-slave monitoring script
Monitor whether the master-slave synchronization of MySQL is abnormal. If not, send SMS or email to the administrator. 1) develop a daemons script to...
How to install multiple versions of CUDA
My machine is CUDA16.04, and CUDA10.0 was installed before. For some reasons, now I need to install CUDA9.0. 1. first https://developer.nvidia.com/cud...
024. Master Pod-Deployment MongoDB
1. Pre-preparation 1.1 Preconditions Cluster deployment: Kubernetes cluster deployment reference 003-019. glusterfs-Kubernetes Deployment: Refer to Gl...
Go is fun, 5.20 make a diagram with go / let the words dance
Today, I'd like to introduce an interesting codeThe picture is generated into a pattern of text. Have you seen the GIF of dancing sister composed...
zabbix monitoring mysql survival and performance
The Zabbix environment has been deployed:Zabbix_aget: installed in / etc/zabbix1. Open port 10050 firewall-cmd --zone=public --add-port=10050/tcp --p...
1 Directory Description
Directory Description **bin**Essential command binaries Binary program of basic commands available to all users **boot**Static files of the boot load...
Linux Account and Rights Management
Linux/Centos7 Account and Rights Management Manage user accounts, group accounts Query account information Set permissions for files and directories ...
Song Baohua: A Complete Case of Ftrace
This article is reproduced and the copyright is owned by the author.For commercial reprinting, please contact the author for authorization. For non-co...
Hints for You have new mail in/var/spool/mail/root on Linux
1. Sometimes we operate under the root user and often prompt you after login: You have new mail in/var/spool/mail/root. This prompt is due to reminde...
Centos Docker Configuration Overview
Coordinates a school in Nanjing. Campus Network Configuration Docker needs to configure a proxy server. From 2 p.m. to 19.38 p.m., make a note to mak...
Apache Web page and security optimization in Linux system
Apache Web page optimization Apache Web page optimization overview In an enterprise, only the default configuration parameters are used after Apache ...
Linux operation command df
Home page of personal blog (click to view details)-- https://blog.51cto.com/11495268Linux Shell command directory overview (click for details)-- http...
The most complete pip use guide, 50% you may not have used it
All Python developers know that Python is so popular, which can stand out among many high-level languages. In addition to its simple syntax and easy t...
podman pilot test - comparison with docker
1. What is docker? Docker is an open source application container engine, which belongs to the encapsulation of Linux containers. Docker provides a s...
Regular expression and document editor sed of Linux O & M Yunsheng notes
Overview of regular expressions It uses a single character to describe and match a series of strings that conform to the rules of a statement. It is ...
Samba server configuration under Centos7 (actual combat!)
Samba overview Samba is a free software to implement the SMB protocol on Linux and UNIX systems, which consists of server and client programs. SMB (S...
Single arm Routing - logical interface (detailed transmission process!)
Single arm routing Single arm routing (router-on-a-stick) refers to the interconnection and interworking between different VLAN s (virtual LANs) isol...
A complicated socket program under Windows
In the previous section, I demonstrated the socket program under Linux. In this section, I will take a look at the socket program under Windows. Othe...
Ranking analysis of application access regions
Application access region ranking Topic content: given Nginx AccessLog (multiple files, estimated to be about 66G) for a period of time, find the five...
Java GC learning practice
Recently, I often go to the customer's site. If there is a problem on the site, I will send it to the company's leaders (I really don'...
Shell script Basics
Bowen catalogueI. Shell script FoundationRedirection and pipeline operation3. Use Shell variable I. Shell script Foundation Shell script in Linux sys...
Nginx configuration - virtual host is based on IP, domain name and port (actual combat!)
Nginx virtual host Domain name based virtual host Virtual host based on IP address Port based virtual host 1. Install DNS domain name resolution serv...