Theory+Practice: apache's Virtual web Host Configuration

@[toc]Common apache features, virtual hosts One: Virtual Web Host Run multiple Web sites on the same server, each of which does not occupy a real computer independently 1.1 Types of virtual hosts supported by httpd (three) Type based on domain name IP Address Based Virtual Host Port-based virtual hostFor example:www.kgc.omwww.accp.comIP Same ...

Posted by mdgalib on Thu, 12 Dec 2019 19:16:14 -0800

Deploy Varnish Cache Handler Server

Blog Outline:1. Overview of Varnish1. Introduction to Varnish2. Differences between Varnish and squid3. How Varnish works4.Varnish architecture5.Varnish Configuration6. Built-in preset variables in VCL7. Subprograms of VCL8. Specific Function Statements9.return statement10.Steps for processing Varnish requests11.Elegant mode of Varnish2. Inst ...

Posted by g_pmattoo on Thu, 12 Dec 2019 18:20:19 -0800

Using python to retrieve the Linux login password in SecureCRT

A Linux system was installed in the virtual machine on the notebook. It didn't work for a while. Suddenly, when it was used, I found that the password had been forgotten.Fortunately, I have used secureCRT software to connect to Linux before, so I can easily use python to retrieve the password. Final effect The red box indicates the password Get ...

Posted by .-INSANE-. on Thu, 12 Dec 2019 13:31:07 -0800

Squid proxy server -- ACL access control, sarg log, reverse proxy

Experimental environment squid server ens33:192.168.13.184 ens36:192.168.10.1 (host mode only) web server 192.168.13.151 client 192.168.10.10 (host mode only) I. ACL access control 1. Modify the configuration file on the squid server [root@squid ~]# vim /etc/squid.conf ##Modify profile # should be allo ...

Posted by MDanz on Thu, 12 Dec 2019 08:29:21 -0800

It only takes 5 minutes for the handles to show you the wrong use of the Handler

The whole collaborative relationship of Hander, Looper, MessageQueue, Message is like the overall operational relationship of a restaurant: Handler - Dinner Looper - Rear Chef. MessageQueue - Order machine. Message - A table-by-table order. Next we review the scene of our restaurant meals, which are divided into standard and special meals. Let ...

Posted by timbo6585 on Wed, 11 Dec 2019 18:56:45 -0800

Centos 7 Builds LVS+Keepalived High Available Web Services Cluster

1. LVS+Keepalived Highly Available Clusters Keepalived is designed to build highly available LVS load balancing clusters that can call ipvsadm tools to create virtual servers and manage server pools rather than just as a two-machine hot standby.Building LVS clusters with Keepalived is easier and easier to use. The main advantages are: hot stan ...

Posted by lighton on Wed, 11 Dec 2019 18:34:52 -0800

Online tracking class method execution time consuming

The online environment is mostly Linux, sometimes the code execution is slow, but you can't locate where it's slow, or it's more difficult to locate. This article introduces a way to facilitate your problem location.     First of all, let's talk about a tool: Arthas, which is mainly an open-source tool of Alibaba. For details, please ...

Posted by parkej60 on Wed, 11 Dec 2019 10:04:30 -0800

Install the specified version of docker service

Reference blog: Docker CE image source Reference blog: docker start exception driver not supported     1. description Before you deploy docker service, you install the latest version of docker and use docker swarm to deploy big data components. However, in a recent deployment, docker 18.06.1 was found. When using docker swarm to deploy big data ...

Posted by Traduim on Wed, 11 Dec 2019 09:32:37 -0800

Talking about Keepalived Double-machine Hot-up

1. Basic knowledge of Keepalived dual-machine warm-up Official keepalived website: www.keepalived.org/ Ke keepalived can also be used as a hot standby software in non-LVS environments. 1. Keepalived role Kekeepalived was originally designed as a powerful assistive tool for LVS, primarily to provide failover and health check functions - to dete ...

Posted by 2levelsabove on Tue, 10 Dec 2019 22:17:26 -0800

Common operations of docker swarm

1. description This document is for docker swarm operations. The system for is a local test system. The machine information is as follows, 172.16.1.13 is the manager of docker swarm.   Machine list information for local test: host name Simulated extranet Intranet IP To deploy a module mini01 10.0.0.11 172.16.1.11 tomcat [swar ...

Posted by ryanschefke on Tue, 10 Dec 2019 11:09:12 -0800