The construction of virtual host -- Based on domain name, port and IP

Building a virtual host 1. Introduction to virtual host There are three types of virtual hosts commonly used in Enterprises: (1) based on domain name(2) port based(3) IP based Virtual web host Running multiple web sites in the same physical server, each of which does not occupy a real computer independently Types of virtual hosts supported by ...

Posted by wildncrazyath3rt on Wed, 23 Oct 2019 12:29:06 -0700

CentOS7 builds virtual Web host (based on domain name, port, IP address)

Virtual Web host Running multiple Web sites in the same physical server, each site does not occupy a real computer independently. Types of virtual hosts supported by httpd Domain name based virtual host Virtual host based on IP address Port based virtual host Build virtual host -- Based on domain name (1) install bind and httpd services. (2 ...

Posted by *Lynette on Tue, 22 Oct 2019 23:10:24 -0700

Shell Programming case Multi-Branch Statement, Loop Statement (for, while, etc.), Shell Function, Shell Array

case multi-branch statement The structure of case statement: Execute different command lines for different values of variables case variable value in Mode 1) Command Sequence 1 ;; Mode 2) Command Sequence 2 ;; ..... *) Default command sequence esac Example: Character type recognition: Prompt the user to enter a character ...

Posted by merrydown on Sun, 13 Oct 2019 18:14:14 -0700

Deploying static websites (nginx) using docker

Article directory Create an interactive container that maps port 80 Install nginx Create static pages Modify nginx configuration file Run nginx Verify Web Site Access Create an interactive container that maps port 80 [root@localhost ~]# docker run -it -p 80 --name web centos /bin/bash Instal ...

Posted by richardw on Sun, 13 Oct 2019 14:37:29 -0700

Pinpoint 1.8.5 Installation and Use Guide

brief introduction pinpoint is an open source APM monitoring tool on github. It is written in Java for large-scale distributed system monitoring. It has the smallest impact on performance (only about 3% increase in resource utilization), and the installation agent is non-intrusive. Major APM tools are almost based on this classic apper paper by ...

Posted by JADASDesigner on Sat, 12 Oct 2019 20:17:50 -0700

Installation of YouCompleteMe Tutorial in vim under ubuntu

Installation of YouCompleteMe tutorial in vim under Ubuntu 16.4 YouCompleteMe Is the vim code prompt plug-in 1 First check the vim version vim --version As shown below VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Nov 24 2016 16:44:48) Included patches: 1-1689 Extra patches: 8.0.0056 Modified by pkg-vim-maintainers@lists.alioth.debian.org Com ...

Posted by john0117 on Sat, 12 Oct 2019 14:19:59 -0700

Saltstack deploys keepalived to achieve high availability of haproxy

Saltstack deploys keepalived to achieve high availability of haproxy Illustration: Environmental Science: Server1(salt-master,keepalived-backup,haproxy)172.25.254.1 Server2(salt-minion,keepalived-master,haproxy)172.25.254.2 Server3(salt-minion,RS,httpd)172.25.254.3 Server4(salt-minion,RS,httpd ...

Posted by avo on Sat, 12 Oct 2019 08:53:54 -0700

iOS Development Advancement (Tang Qiao) Reading Notes

How to Improve iOS Development Skills 1. Reading blogs: https://github.com/tangqiaoboy/iOSBlogCN Blog addresses of more than 40 iOS development bloggers 2. Reading: Reading a high-quality iOS development book every year 3. Watch WWDC Video 4. Look at Apple's official documents 5. Look at the code for open source projects 6. Write more code and ...

Posted by Sonu Kapoor on Thu, 10 Oct 2019 04:53:56 -0700

Shell Programming Foundation

This article mainly writes some basic knowledge of shell scripts, programming specifications. The first shell script [root@localhost ~]# vim first.sh #!/bin/bash # This is first Shell Script ! cd /boot/ echo "The current path:" pwd echo "with vml File information for the beginning:" ls -lh vml* Execution script source [root@localhost ~]# sour ...

Posted by rossmurphy on Tue, 08 Oct 2019 20:09:34 -0700

Linux DNS Separation and Resolution

Setting up DNS separate parsing can provide different domain name parsing records for different clients. When a client from different addresses requests the same domain name, it provides different parsing results. Install the bind package [root@localhost ~]# yum install bind bind-utils -y Dual Network Card Configuration Both network cards ar ...

Posted by bradleybebad on Tue, 08 Oct 2019 15:48:07 -0700