Install and configure Redis service under CentOS7
Official website: https://redis.io
Download: https://redis.io/download
1. Installation dependency
➜ yum install -y gcc gcc-c++ kernel-devel
2. Download the source package
# It is recommended to store the source code of each software in this directory
➜ cd /usr/local/src
# Download the specified version
➜ wget http://download.redis.io/rele ...
Added by mcl on Mon, 11 Nov 2019 18:04:03 +0200
Apache service ab stress test
Before ab stress test, explain the following concepts:
Requests per second
The quantitative description of the concurrent processing capability of the server, in reqs/s, refers to the number of requests processed in unit time under the number of concurrent users. The maximum number of requests that can be processed per unit time under the numb ...
Added by jakebur01 on Tue, 05 Nov 2019 19:34:28 +0200
The construction of NAT load balancing
**Four virtual machines
Client
lvs server
rs1 server
172.22.144.188
VIP-172.22.144.59 DIP-192.168.49.2
RIP-192.168.49.3
rs2 server
RIP-192.168.49.4
**Note that LVS server needs to play the role of scheduling and routing. Two IP addresses need to be enabled
Whether lvs server, rs1 server and rs2 server are in time synchronization ...
Added by davemwohio on Tue, 05 Nov 2019 18:05:56 +0200
Using IK word breakers, extending IK word banks, and stopping word banks
Using IK word breakers
Integrated ik word breaker https://mp.csdn.net/postedit/93602713
Entity class PosEntity
/** Omit getter and setter*/
class PosEntity{
private Integer posId;
private String posName;
private String posAddress;
}
In entity class, posName and posAddress are both used as Chinese fields, a ...
Added by tomm098 on Thu, 31 Oct 2019 10:41:32 +0200
Apache Web page optimization: Web page compression and caching
Apache Web page optimization concept
In an enterprise, only the default configuration parameters are used after deploying Apache, which will cause many problems in the website. In other words, the default configuration is for the previous lower configuration.Server configuration, the previous configuration is not suitable for today's Internet ...
Added by bobbfwed on Tue, 29 Oct 2019 10:13:44 +0200
Advanced Git application
Git advanced (2)
===============================================================================
Summary:
===============================================================================
Git bifurcation
1. Branch naming rules and common commands
master is the latest commit to the specified branch.
Dev is the latest commit to the dev branch;
...
Added by jamiet757 on Mon, 28 Oct 2019 21:36:25 +0200
Apache configuration and application: AWStats log analysis system (actual combat!)
AWStats log analysis system
An open source log analysis system developed by Perl
It can be used to analyze the access logs of Apache, Samba, Vsftpd, IIS and other servers.
Information combined with crond and other scheduled task services can regularly analyze the log content
Environmental Science
One Linux service host (192.168.13.132)
A win ...
Added by breckenridge on Fri, 25 Oct 2019 18:03:22 +0300
Nginx installation and depth optimization
Blog Outline:
I. optimization before compilation and installation
II. Nginx configuration item optimization
1. Adjust the number of Nginx running processes
2. CPU affinity of Nginx
3. Nginx event processing model
4. Enable efficient transmission mode
5. Connection timeout
6. fastcgi optimization
7. gzip tuning
8. Tuning of expires cache
9. ...
Added by choubix on Fri, 25 Oct 2019 15:17:40 +0300
Infoxdb-1.7.8 green installation centos7
As a powerful sequential database, once it is owned, there is no need for anything else. This paper introduces its green installation method.
Environment preparation, download, decompress.
[dev5@7bdc6644c7c4 influxdb-1.7.8] cat /etc/redhat-release
CentOS Linux release 7.6.1810 (Core)
[dev5@7bdc6644c7c4 influxdb-1.7.8] pwd
/home/dev5/tools/
...
Added by Ellypsys on Fri, 18 Oct 2019 23:06:41 +0300
Nat address translation details (static NAT, port mapping, dynamic NAT,PAT)
NAT address translation overview
In this chapter, we will learn and practice static NAT address translation, dynamic NAT address translation.
Port mapping, PAT port multiplexing
I. understand the advantages and disadvantages of NAT
II. Operation principle of NAT
Static translationDynamic TranslationPort Address Translation
III. terminolo ...
Added by cerebrus189 on Wed, 16 Oct 2019 21:21:18 +0300