How to configure Nginx web page optimization in Linux system
Change the number of Nginx running processes
In the high concurrency scenario, more Nginx processes need to be started to ensure fast response, so as to process users' requests and avoid blocking
You can use the ps aux command to view the number of Nginx running processes
Configuration method for changing the number of processes
Modify the ...
Posted by saurabhdutta on Fri, 15 Nov 2019 18:54:17 +0100
nginx domain name configuration virtual host
A domain name, corresponding to an IP addressThrough DNS domain name resolution server, domain name can be resolved to IP address
HereSpecify the IP address of the domain name by modifying the host file
host hijackingIn the host file, configure the domain name and IP address. When accessing the domain name,Because the IP address corresponding ...
Posted by erwt on Fri, 01 Nov 2019 20:51:28 +0100
Compile apache service manually to realize the function of anti-theft chain
Apache security chain
Apache installation package
Links: https://pan.baidu.com/s/11X5CEWoVemxlGuNQqn9cuAExtraction code: jn6l
1. Install and configure Apache service
1.1. Mount the Apache installation package to the virtual machine through sharing
[root@localhost ~]# smbclient -L //192.168.10.64
Enter SAMBA\root's password:
Sharename ...
Posted by josemi on Sun, 27 Oct 2019 00:09:17 +0200
Building virtual host of LAMP architecture
Virtual Web host
Run multiple Web sites on the same server, each of which is not independentTake up a real computer
Types of virtual hosts supported by httpd
1. Domain name based virtual host2. Virtual host based on IP address3. Port based virtual host
Demonstration of examples
Domain name based virtual host
Step 1: environment deployment
1. I ...
Posted by bimmer528 on Thu, 24 Oct 2019 00:28:30 +0200
DNS error java.net.UnknownHostException in kubernetes cluster
problem
Recently, the business log frequently reported java.net.UnknownHostException. At first, I thought that kubernetes could not find SVC in the running process. If there is no endpoint in svc, it should be rejected by the newspaper connection, and it can not be resolved to the host name. My first reaction is that SVC does not exist in dns. ...
Posted by Daveyz83 on Thu, 10 Oct 2019 10:39:06 +0200
python script calls iftop to count business application traffic
Because there are many applications deployed on the company's servers, when there are large concurrent access, business logic problems and repeated calls to each other or abnormal traffic access, it is necessary to locate the fault of business applications. Therefore, using python to call iftop command to obtain the application process traffic ...
Posted by scottbarry on Thu, 10 Oct 2019 02:41:52 +0200
Linux DNS master-slave replication
The main purpose of setting up master-slave DNS is to share the pressure and redundancy so as to prevent DNS from being parsed properly after the server goes down.
Configure master
Normally configure DNS services.
Setting Host Name
[root@localhost ~]# hostnamectl set-hostname master
[root@localhost ~]# bash
Install the bind package
[root@ma ...
Posted by Lee-Bartlett on Wed, 09 Oct 2019 11:10:18 +0200
"F5 Connects NetOps/SecOps and DevOps" - - "5" Application Services 3 Extension
This paper mainly introduces the use of the third declarative component, Application Services 3 Extension (hereinafter referred to as AS3).
AS3 provides a declarative way to configure the L4-L7 configuration of F5 BIGIP, including the configuration of LTM, DNS, AFM, ASM and other modules. It supports the configuration of multi-tenant and multi ...
Posted by mickfitz on Mon, 07 Oct 2019 12:26:09 +0200
Linux Basic Command - dig
dig
Di is a DNS query tool, most administrators will use the dig command to solve DNS problems.
The scope of application of this command: Red Hat, RHEL, Ubuntu, CentOS, Fedora.
1. Grammar
dig [option]
2. List of parameters
@server
Specify server address
-b host
Specify which host to query through
-f file
Qu ...
Posted by rjs34 on Tue, 01 Oct 2019 08:03:53 +0200
Why is the statefulset application of k8s learning notes always pending
Why can't k8s pv and PVC bind together
The statefuse is used to deploy statefuse applications. The application is always in pending state. Before starting, it introduces what statefuse is. In k8s, deployment is used to manage stateless applications. The statefuse is used to manage stateful applications, such as redis, mysql, zookper and othe ...
Posted by Prine on Thu, 12 Sep 2019 13:10:00 +0200