Linux. Page 7

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 ...
5:15 3 December 2019

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...
0:13 3 December 2019

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...
21:57 2 December 2019

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...
19:43 2 December 2019

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...
15:45 2 December 2019

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...
11:27 2 December 2019

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....
10:06 2 December 2019

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...
6:39 2 December 2019

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...
5:52 2 December 2019

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...
4:16 2 December 2019

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...
22:42 24 November 2019

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...
11:26 10 November 2019

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...
9:56 10 November 2019

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...
8:26 10 November 2019

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 ...
16:27 7 November 2019

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...
13:35 7 November 2019

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...
10:58 7 November 2019

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...
9:57 7 November 2019

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 ...
18:19 6 November 2019

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...
14:06 6 November 2019

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...
8:16 6 November 2019

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...
5:12 6 November 2019

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 ...
4:11 6 November 2019

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...
16:13 5 November 2019

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...
15:57 5 November 2019

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...
9:37 5 November 2019

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...
6:12 5 November 2019

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'...
20:09 4 November 2019

Shell script Basics

Bowen catalogueI. Shell script FoundationRedirection and pipeline operation3. Use Shell variable I. Shell script Foundation Shell script in Linux sys...
19:50 4 November 2019

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...
19:32 4 November 2019