Using Nginx under Windows

Sketch: Nginx is an open source Web server, and Nginx also provides Reverse proxy and load balancing Functions. - Nginx is usually exposed as a load balancer to accept user requests in the external network, but also uses its reverse proxy function to forward user requests to the actual intranet serv ...

Posted by d_barszczak on Fri, 19 Jul 2019 05:33:54 +0200

C # Log4Net for Logging

This paper mainly explains how to log with Log4Net and the advantages of logging in the process of program development. It can provide a precise environment for application runtime, and it can help developers find the Bug in the application as soon as possible. Once the Log output code is added to the program, the log information can be genera ...

Posted by emceej on Wed, 17 Jul 2019 22:40:25 +0200

Digital Signature Verification Method for Byronsh Blog

English Title: signature verification process for digital signature of Byronsh's blog Some of the bloggers have digital signatures. The signature algorithm is SHA512+RSA4096, and only the text part is signed. The public key of RSA4096 is as follows: -----BEGIN PUBLIC KEY----- MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAnrJo0wOPcH+ZeAb+UsGh yHhP ...

Posted by Mad_Mike on Sat, 13 Jul 2019 22:57:23 +0200

Solr 6.5 configures Chinese word segmentation IK Analyzer and Pinyin analyr (2)

Previously, Installation and Configuration of Solr 6.5 on Centos6 (I) Installation of Solr 6.5 is introduced in this paper. This article focuses on creating Solr Core and configuring Chinese IKAnalyr word segmentation and Pinyin retrieval. First, create Core: 1. First, in solrhome (see the path and configuration of solrhome) Installation and ...

Posted by rookie on Sat, 13 Jul 2019 21:03:06 +0200

Springboot MyBatis Multiple Data Source Switching

Springboot MyBatis Multiple Data Source Switching In practical development, we may use multiple databases for a project, usually one database for a data source.In this example, switch between multiple data sources in two ways 1) Manual switch 2) Switch using annotations Code structure: Brief Principle: 1) DataSourceType lists the key-key ...

Posted by fuii_koh on Thu, 11 Jul 2019 19:22:43 +0200

Introduction to Concurrent Pressure Performance Test Tools

1. AB Pressure Test Tool (ApacheBench) 1. Installation linux Installation yum -y install httpd-tools windosinstall // Download Apache software (ab software is not updated separately, but integrated independently into Apache) download https://de.apachehaus.com/downloads/httpd-2.4.39-o102s-x64-vc14.zip // Open Compressed Package unzip httpd-2 ...

Posted by BinaryBird on Thu, 11 Jul 2019 18:07:57 +0200

Configuration and use of log4cpp

1. Basic concepts Hierarchical System of categories Logs Where can the appenders log be printed, either as a file or as a terminal The layouts log output format, which defines an output mode similar to that in printf. There are three kinds, followed by examples, the three are: basic, simple, pattern. The level of priority log is EMERG, ...

Posted by penguinboy on Tue, 09 Jul 2019 21:46:48 +0200

mac upgrade php7 series of problems and Solutions

Causes: Because the computer has its own php 5.3, try to run a php project, database import, and configuration file modification is not a problem, but the final error: Message: Cannot modify header information - headers already sent by  ... Search for information: According to the following blog try in n ways http://www.dabu.info/warning_can ...

Posted by Scriptmaker on Mon, 08 Jul 2019 23:42:08 +0200

The Simplest Spring Cloud Tutorial in History | Chapter 8: Message Bus

For reprinting, please indicate the source: Spring Cloud Bus connects distributed nodes to lightweight message brokers. This can be used for broadcasting configuration file changes or other management work. One of the key ideas is that message bus can monitor micro services or communicate with each other as applications. This article describes ...

Posted by gerbs987 on Mon, 08 Jul 2019 21:36:31 +0200

Generating and parsing json using JSONObject

1. json data type type describe Number Digital type String String type Boolean Boolean type Array array Object object null Null value (1) json does not distinguish between integer and decimal types, but uses Number to store numbers. (2) Array represents an array, enclosed in brackets "[]", separated by commas between ...

Posted by worldworld on Mon, 08 Jul 2019 02:07:54 +0200