Compression and caching for Apache web page optimization

Overview of Apache Web Page Optimization In the enterprise, when Apache is deployed, only the default configuration parameters are used.This causes a lot of problems for the website, in other words, the default configuration is for a lower level than beforeServer Configuration, Previous Configuration No longer Applies to Today's Internet AgeTo ...

Posted by jaiswal on Tue, 12 Nov 2019 01:10:50 +0100

Upgrade, rollback, expand and shrink of k8s resource object

1. One of the ways to create resources is to create resources by command, understand the actions after the command runs, and summarize the origin of Pod name by viewing resources. When we execute the command to create resources, the deployment controller will manage the pod through the replicaset controller. Next, we will analyze through an ex ...

Posted by westen on Thu, 07 Nov 2019 07:11:11 +0100

Load balancing of LVS-DR mode in four layers

Two methods of LVS-DR construction matters needing attention: At this time, there is only one network card for LVS service; The IP forward forwarding function of the route must be enabled; For client access, the gateway must be specified; The VS service must be configured with a gateway. If the gateway is not ...

Posted by expertis on Mon, 04 Nov 2019 18:34:19 +0100

Introduction to Apache working mode

Introduction to Apache working mode 1.Apache is the most widely used and stable open source server software for today's web servers 2. There are many working modes. When the source package installs httpd, you can view the httpd-mpm.conf file, which is located in the extra/conf directory 3. At present, there are two modes: event mode: multiple ...

Posted by Lahloob on Sun, 03 Nov 2019 11:19:24 +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

The method of building gitee hexo blog

The method of building gitee warehouse + hexo static blog on windows Build gitee blog Environmental requirements system Software windows Git, node.js (cnpm is recommended) Install Nodejs windows download binary package link: https://nodejs.org/dist/v10.16.3/node-v10.16.3-win-x64.zip Manually unzip it to the directory you want to store. H ...

Posted by peyups on Fri, 25 Oct 2019 13:19:47 +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

Establishment of redis cluster + redis replication

Environmental Science Deployment and construction 192.168.255.250 [root@vt-manager 3010]# grep -vE "^#|^$" redis.conf bind 192.168.255.250 ##Be sure to write the local ip and use this ip to set up the cluster. port 3010 daemonize yes #Daemons mode (background start) pidfile /etc/redis-cluster/3010/redis_3010.pid #pid file logfile "/etc/re ...

Posted by NikLP on Tue, 22 Oct 2019 09:31:21 +0200

Shell script if conditional statement

Condition testing Test command: Test whether a particular expression is valid. When the condition is valid, the return value of the test statement is 0, otherwise it is another value. Format 1: test conditional expressionFormat 2: [conditional expression] (note that there is a space between the brackets and the expression) Document testing: ...

Posted by bobbythenewb on Sat, 12 Oct 2019 00:10:37 +0200