Nginx Construction and Use
I. Introduction
Nginx (engine x) is a high performance HTTP and reverse proxy server, as well as an IMAP/POP3/SMTP server. [Introduction to Baidu Encyclopedia] Reverse Delivery and Load Balancing are commonly used
Home brew Installation
Installation of Nginx, here we use the homebrew tool to install the diagram. As f ...
Posted by mjdamato on Sat, 18 May 2019 17:24:19 +0200
Alipay interface integration and error elimination
I integrated Alipay interface to pay for it, but there seems to be no callback in notify_url.php. Therefore, according to official documents, I made the following modifications.
$verify_result = $alipayNotify->verifyNotify();
if($verify_result) {
//Merchant Order Number
$order_id = $_POST['out_trade_no'];
//Alipay tran ...
Posted by jandrox_ox on Sat, 18 May 2019 14:06:13 +0200
centos7.4 source code build LAMP_ Nginx configuration ——1;
1. Default Virtual Host
Modify configuration files
vim /usr/local/nginx/conf/nginx.conf
Add "include vhost/*.conf;" in the last penultimate line (all files ending with. conf under vhost will be loaded so that all virtual host configuration files can be placed in the vhost directory)
Create vhost, edit configu ...
Posted by phpBever on Wed, 15 May 2019 22:49:45 +0200
Talk about Code Cache of jvm
order
This paper mainly studies the Code Cache of jvm.
Code Cache
The memory space of native code generated by JVM is called Code Cache; JIT compilation, JNI and so on compile code to native code, and the native code generated by JIT occupies most of the space of Code Cache.
Related parameters
Codecache Size Options
-XX:InitialCodeCacheSize
...
Posted by rjs34 on Sat, 11 May 2019 10:40:14 +0200
DR Mode + Keepalived for LVS (High Availability)
1. Basic concepts
1.keepalived is a software similar to layer3, 4 & 5 exchange mechanism, which is commonly referred to as Layer 3, Layer 4 and Layer 5 exchange.Keepalived is done automatically without manual intervention.2.Keepalived's function is to detect the state of the server. If a web server is down or fails to work ...
Posted by d22552000 on Fri, 10 May 2019 19:41:10 +0200
centos installation operation and partial understanding of docker
After installing the docker locally the other day and getting familiar with the commands, I still couldn't help but go through a wave of golang mirror deployments on centos. Here are my steps and some ideas.Prepare: A networked centos server with docker installed
1. Not to mention, write a Dockerfile (just want to experience the dockerfile proc ...
Posted by ThaboTheWuff on Fri, 10 May 2019 15:47:38 +0200
Android source download compilation
Four processes for Android source code compilation:
1. Source code download, 2. Build compiler environment, 3. Compile source code, 4. Run
My environment here is Ubuntu 16.04 (64 bits), android version 8.1.0, space at least 150G (note)
Source download
As we all know, because Google is walled, we use domestic mirrors here to ...
Posted by bobocheez on Sun, 05 May 2019 10:08:04 +0200