Linux Phase 11: Ke keepalived High Availability Cluster

11. Ke keepalived Highly Available Clusters Chapter (1) Description of keepalived service concept What can keepalived do? The Keepalived software was originally designed for LVS load balancing software. Used to manage and monitor the status of each service node in the LVS cluster system, and later added VRRP capabilities that enable high availa ...

Posted by EvanMartin on Sun, 03 May 2020 07:46:07 -0700

Eight of three phases of Linux: Architecture nginx practical application

8, Architecture nginx practical application (1) Introduction of web service software There are three kinds of software commonly used to provide static Web services: 1 Apache: This is the mainstream of small and medium-sized Web services, the big brother of web servers. 2 Nginx: The mainstream of Web services for large-scale websites, onc ...

Posted by cdinca on Sat, 02 May 2020 14:52:31 -0700

Nginx access log, nginx log cutting, nginx does not record static files

Access log for Nginx The log format of Nginx is in the main configuration file of Nginx (/ usr/local/nginx/conf/nginx.conf) [root@shuai-01 vhost]# vim /usr/local/nginx/conf/nginx.conf You can change the log format name to shaui The meaning of Nginx log field Define the format of the log in the main configur ...

Posted by Devine on Fri, 01 May 2020 03:42:12 -0700

Configuration and beautification of Ubuntu after installation

Configuration and Beautification after Ubuntu Installation (2) The previous article described a series of basic configurations after the installation of ubuntu, which are already available for daily use. This article describes the installation of IDE and some other configurations. 1. Install SSR Download SSR Client git clone https://githu ...

Posted by tbare on Tue, 21 Apr 2020 09:23:20 -0700

Gin framework series 02: routing and parameters

review In the previous section, we used the Gin framework to quickly build an interface for GET requests. Today, we will learn how to GET routes and parameters. Request verb Students who are familiar with RESTful should know that RESTful is a design style and development mode of network applications. Each URI represents a resource. The client u ...

Posted by endurox on Wed, 08 Apr 2020 00:54:57 -0700

Run / bin/kibana to report fat error: listen eaddrnotavail 123.57.251.57:5601

Previous picture FATAL Error: listen EADDRNOTAVAIL 123.57.251.57:5601 The configuration file is configured as follows: [root@head-kib ~]# cd /usr/local/kibana-6.5.4-linux-x86_64/config/ [root@head-kib config]# vim kibana.yml server.port: 5601 server.host: "123.57.251.57" elasticsearch.url: "http://192.168.246.234:9200 "ාes node kibana.in ...

Posted by blackcode on Mon, 06 Apr 2020 08:45:55 -0700

Huawei intermodal service login payment signature

When Huawei SDK is accessed, all kinds of signatures are annoying. Official documents do not have detailed DEMO and debugging tools, so it is very difficult to debug. After stepping on many pits, it finally passed the verification. 1. Verify login signature Parameters: public function callGameLoginSer ...

Posted by joking on Sun, 05 Apr 2020 00:56:54 -0700

Spring cloud gateway dynamic routing

Summary Online project publishing generally has the following schemes: Downtime release Blue green deployment Rolling deployment Grayscale release This kind of release is usually released at night or during major version upgrade. Because it needs to be stopped, now everyone is studying Devops scheme. Blue green deployment requires t ...

Posted by Maq on Sat, 04 Apr 2020 23:15:39 -0700

Initial use of haproxy

Initial use of haproxy brief introduction HAProxy provides load balancing and proxy based on tcp and http applications. It is a fast, free and reliable solution Although the performance and stability of HAProxy are not as good as lvs, it is much better than lvs in function install On centos7, HAProxy can be inst ...

Posted by Xu Wei Jie on Sat, 04 Apr 2020 14:50:33 -0700

A complete solution to the installation and version switching of PHP on Ubuntu

The official sources on Ubuntu, such as PHP5.6.x in Ubuntu 14.04 and PHP7.0.x in Ubuntu 16.04, what should I do if I want to install PHP7.1 and PHP7.2 on Ubuntu 16.04? The answer is to install from a third-party source, ppa:ondrej/php It is a well-known PHP source (currently maintaining php5.6,php7.0,php7.1,php7.2). Use this source to install t ...

Posted by RobNewYork on Fri, 03 Apr 2020 15:54:46 -0700