AF Security Policy of AFNet Working Source
1 HTTPS and SSL/TSL
Secure Sockets Layer (Secure Sockets Layer), because the HTTP protocol used on the Internet is plain text, there are many shortcomings, such as transmission content will be peeped and tampered with. The role of the SSL protocol is to encrypt the network connection at the transport layer.
By 1999, because of its wide applicat ...
Posted by toddg on Sat, 06 Jul 2019 01:03:58 +0200
Construction and Configuration of FTP Server under Ubuntu 14.04
First of all, I installed Ubuntu 14.04 in the virtual machine and Win10 in the physical machine. At first, the ftp server was installed in Ubuntu just for transferring files between two systems, and it can be logged in from the Windows side. Initially, it was configured according to various online tutorials. As a result, all kinds of errors th ...
Posted by rg_22uk on Sun, 23 Jun 2019 01:49:42 +0200
Execution phase of the Nginx stream module
Nginx's stream module provides TCP load balancing functionality. The original stream module was relatively simple, and after nginx-1.11.4 it began to process requests in a phased manner similar to the HTTP module.
Processing phase of stream module
Seven stages of the stream module are defined in ngx_stream.h.As shown below
typedef enum {
NG ...
Posted by admin on Tue, 18 Jun 2019 18:49:52 +0200
2. Do you need a dependency injection container?
This is an article I translated from a website abroad. Do you need a Dependency Injection Container?
This article is part of a series of articles on dependency injection and PHP lightweight container implementations:Part 1: What is Dependency Injection?Part 2: Do you need a Dependency Injection Container?Part 3: Introduction to the Symfony Ser ...
Posted by Unholy Prayer on Mon, 10 Jun 2019 20:28:27 +0200
Ambari Custom Service
1. Ambari Basic Architecture
img016.jpg
Ambari Server reads the configuration files for Stack and Service.When creating services with Ambari, Ambari Server passes configuration files for Stack and Service and control scripts for the service life cycle to Ambari Agent.When the Agent gets the configuration file, it downloads and installs the p ...
Posted by justindublin on Sun, 09 Jun 2019 20:57:13 +0200
Building Web Socket WSS Environment for Small Program Development (Apache+WorkerMan Framework+PHP)
Here we use the WorkerMan framework, the server is CentOS, the Web server is Apache, and the development language is PHP.
Because WSS is a combination of WebSocket and SSL, it is necessary to prepare the SSL certificate for the corresponding domain name in advance. Generally, there are three certificate files, such as the following:
SSLCertif ...
Posted by todayme on Mon, 03 Jun 2019 22:59:10 +0200
Development of custom menu java for wechat subscription number
The younger brother should change the menu of the public number according to the operation requirement. He thought it was configurable on the public number official website. Who knows that it was edited by the developer mode? Helplessly, I have never contacted the public number development. Some began to gnaw away at the api developed by Weixin ...
Posted by KevinMG on Sun, 19 May 2019 21:15:31 +0200
Andriod RX+Retrofit Basic Learning and Simple Encapsulation
Recently, new work has been added. Android products use RX+retrofit as the framework of network interaction, which has never been used before, and only make up for it by themselves. Here I share with you the results of my study, which is also convenient for me to review in the future. There are many similar articles, and the encaps ...
Posted by markjia on Sat, 18 May 2019 14:09:08 +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
Web Front-end Necessary-Nginx Knowledge Summary
Introduction to Nginx
Nginx is a high-performance, lightweight Web and reverse proxy server, which has the characteristics of less memory and resources, and strong concurrency resistance.
Nginx is simple to install, simple to configure, fast and convenient to start, supports hot deployment, supports SSL, and has a highly modular design.
The mai ...
Posted by trixiesirisheyes on Wed, 15 May 2019 20:31:23 +0200