Building a Load Balancing Cluster Based on Address Translation (LVS-NAT) Mode

This post is a case post. For an overview of the principles and related overviews of LVS Load Balancing Clusters, please refer to the post: LVS Load Balancing Cluster for Centos 7 1. Introduction to Cases 1. Case Environment 2. Experimental results Using NAT-mode clustering technology, the LVS load dispatcher is a gateway server where all ...

Posted by scottreid1974 on Sat, 07 Dec 2019 03:02:18 -0800

DR mode of LVS load balancing cluster deployment

I. working principle of DR mode          As shown in the figure, the working principle of LVS-DR has been explained in the figure. Let's list the characteristics of LVS-DR mode: 1. RIP can use private address or public network address. If public network address is used, RIP can be accessed directly. 2. All requested packets must pass through ...

Posted by KC_Geek on Fri, 06 Dec 2019 16:53:46 -0800

Zephir for PHP extension development

If you often pay attention to the PHP framework falcon, you should know that the team of Falcon has developed a high-level language for better development of falcon—— Zephir. Zephir, an open source high-level language, aims to simplify the creation and maintainability of PHP extensions, focusing on type and memory secu ...

Posted by nvidia on Fri, 06 Dec 2019 12:24:58 -0800

CentOS MySQL create database - encoding settings

Create database mysqladmin -h '192.168.2.233' -u root -p create namc; View newly created database encoding mysql> SHOW VARIABLES LIKE 'character%' -> ; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_s ...

Posted by disconne on Fri, 06 Dec 2019 10:59:26 -0800

Summary of HttpServletRequest object

The HttpServletRequest object represents the client's request. When the client accesses the server through the HTTP protocol, all the information in the HTTP request header is encapsulated in a web container. By the method provided by this object, all the information requested by the client can be obtained. Request Common Methods for Getting Cl ...

Posted by lindm on Fri, 06 Dec 2019 10:34:15 -0800

13 strategies of Nginx - (VeryNginx)

What is VeryNginx VeryNginx is developed based on Lua ﹣ Nginx ﹣ module (openretry), which implements advanced firewall, access statistics and other functions. The integration runs in Nginx, extends the function of Nginx itself, and provides a friendly Web interface. How to install VeryNginx Nginx compilation environment yum -y install gcc gcc ...

Posted by FrankA on Fri, 06 Dec 2019 03:42:27 -0800

01Gin source code interpretation

brief introduction Gin source code interpretation, based on v1.5.0 Edition. Process Overview On the official document, an example of getting started is as follows: package main import "github.com/gin-gonic/gin" func main() { r := gin.Default() r.GET("/ping", func(c *gin.Context) { c.JSON(200, gin.H{ "message": "po ...

Posted by brandone on Thu, 05 Dec 2019 04:09:38 -0800

Analysis of configuration file of Kodex Explorer open source private cloud program

config/setting_user.php append content (all of the following, be careful not to use Chinese quotation marks, double quotation marks and semicolons) //[specify multiple languages and keep Chinese only] $GLOBALS['config']['settings']['language'] = 'zh-CN'; //[automatically create a new directory when creating a user-defined group] $GLOBALS['conf ...

Posted by paulareno on Wed, 04 Dec 2019 20:42:40 -0800

k8s using Kube router to build highly available and extensible ingress

brief introduction Use Kube router to realize the function of inress of k8s cluster, which is highly available and easy to expand Environmental description This experiment is based on the k8s cluster which has been installed and configured. For k8s installation, please refer to other blog articles. lab4, as a router, forwards lab5's request Exp ...

Posted by eirikol on Tue, 03 Dec 2019 05:27:35 -0800

LNMP + haproxy + preserved load balancing - basic service preparation

Log service Modify the log service configuration and restart the log service; vim /etc/rsyslog.conf Edit the system log configuration to specify the included profile path and rules: $IncludeConfig /etc/rsyslog.d/*.conf Create a separate configuration file for haproxy; vim /etc/rsyslog.d/haproxy.conf Edit the configuration file as follows: ...

Posted by nadz on Sun, 01 Dec 2019 13:03:36 -0800