Partial optimization and anti-theft chain configuration of in-depth learning of nginx

1, Hide version number 1.1 method of modifying configuration file vim /usr/local/nginx/conf/nginx.conf http { include mime.types; default_type application/octet-stream; server_tokens off; #Add close version number command ...... } systemctl restart nginxcurl -I http://192.168.253.33 1.2 modify the sour ...

Added by acheoacheo on Mon, 31 Jan 2022 06:15:01 +0200

How to synchronize directory contents of different linux servers in two directions

a purpose The purpose of this paper is to solve the problem of directory difference between two servers, that is, you can write or delete any content in the specified directory of A and B servers, and it will be synchronized to another server, that is, to achieve high availability of file storage and reading. environment Server information ...

Added by mbabli on Sun, 30 Jan 2022 13:40:32 +0200

VMware virtual machine extends Linux root disk space (Centos)

Recently, Centos was used on VMware virtual machine, and it was found that the disk space of the virtual machine was insufficient. The disk space of the root directory is successfully expanded through the following steps 1. Turn off Centos, select Edit virtual machine settings, hard disk, and select "extend" in the utility Fill in ...

Added by machina3k on Sun, 30 Jan 2022 12:33:58 +0200

Service orchestration of docker

docker service orchestration Docker service orchestration, also known as docker compose, is designed to solve the problem of deploying large-scale applications using docker. Generally, in the production environment, using docker to deploy an application requires multiple containers, such as deploying front-end, back-end, dependent services, da ...

Added by duklaprague on Sat, 29 Jan 2022 05:38:29 +0200

centos nginx installation lua module support

Special thanks to zhangyichun for sharing Installation steps Install luajit Download LuaJIT source code [root@nginx-4 ~] wget https://github.com/openresty/luajit2/archive/refs/tags/v2.1-20220111.tar.gz [root@nginx-4 ~] tar -zxvf v2.1-20220111.tar.gz [root@nginx-4 ~] cd luajit2-2.1-20220111 [root@nginx-4 luajit2-2.1-20220111] make &&am ...

Added by Mr.Shawn on Fri, 28 Jan 2022 12:25:38 +0200

Huawei cloud Centos installation and configuration PPTP 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 ...

Added by Imperialoutpost on Wed, 26 Jan 2022 00:24:37 +0200

TiDB compilation and sharing on CentOS

Here are some points in the compilation process of TiDB. Although in theory, the source code downloaded from github can be compiled after decompression, in the actual operation process, there may still be errors due to various reasons. This paper shares several problems and solutions in the actual operation process. The environment used in t ...

Added by Donnamabob on Tue, 25 Jan 2022 14:22:14 +0200

linux (centos 7.6) production environment is based on three physical machines to install ceph cluster

Zero revision record Serial numberRevised contentRevision time1newly added20210423 I. summary This article introduces CentOS 7 6 use ceph deploy to install the version of ceph nautilus. This paper mainly deploys ceph based on the production environment, especially the redundant configuration at the network level. II. Environmental informatio ...

Added by nazariah on Tue, 25 Jan 2022 12:26:47 +0200

Deploying JumpServer fortress -- Docker mode

1. Introduction to JumpServer Jumpserver is the world's first open source fortress machine, developed and open source by flying to cloud Internet company. "Fortress machine" is also called operation and maintenance security audit system. The core function of jumpserver is 4a. It uses GNU GPL v2 0 open source protocol, which is ...

Added by SEVIZ on Tue, 25 Jan 2022 09:52:54 +0200

Experience of Openpbs centos7 cluster installation and configuration

Write in front This article is for reference, thanks for the original: https://blog.csdn.net/weixin_45606067/article/details/109962484 https://blog.csdn.net/secyb/article/details/78697976 https://blog.csdn.net/smart9527_zc/article/details/85174102 https://blog.csdn.net/weixin_45842014/article/details/108779004 https://blog.csdn.net/zqwzlan ...

Added by monkey_05_06 on Sat, 22 Jan 2022 05:54:36 +0200