Nginx installation of Alibaba cloud server Centos7.0

Alibaba cloud server, operating system CentOS 7.0, installs nginx. 1. First, set alicloud's security group settings and open the 80 port limit: Open Alibaba cloud official website > console > ECS > Security Group > security group rules: Select any rule column, click "clone", select "HTTP(80)" for "protoco ...

Posted by mike760534211 on Mon, 04 May 2020 17:06:24 -0700

NSIS tutorial (9): NSIS+duilib QQ like installation package

In this paper NSIS tutorial (8): installation package interface based on third-party interface library On the basis of this, share the process of how to use NSIS in combination with duilib high imitation QQ installation package. Let's start with the renderings! Full NSIS script # ======================Custom macro================== ...

Posted by DataRater on Sun, 03 May 2020 17:44:29 -0700

Application and summary of CRC32Mpeg2 implemented by python

Application and summary of CRC32Mpeg2 implemented by python At present, there are two kinds of Crc calculation methods: Crc32 and CRC32Mpeg2. CRC error detection technology of cyclic redundancy test can prove that the data is complete and error free (it is only very similar to think that it is error free). The methods to ensure reliable data t ...

Posted by aspbyte on Fri, 24 Apr 2020 14:21:05 -0700

How to read large files in PHP

As PHP developers, we don't need to worry about memory management. The PHP engine has done a good job of cleaning up behind us. The web server model of short execution context means that even the most sloppy code has no lasting impact.   In rare cases, we may need to get out of the comfort zone - for example, when we try to run Composer for a l ...

Posted by jbrave on Tue, 14 Apr 2020 01:02:15 -0700

Python 3 standard library: zlib GNUzlib compression

1. zlib GNUzlib compression Zlib module provides the underlying interface for many functions in the zlib compression library of GNU Project. 1.1 processing data in memory The simplest way to use zlib requires that all data to be compressed or decompressed be stored in memory. import zlib import binascii original_data = b'This is the original ...

Posted by zippers24 on Fri, 27 Mar 2020 10:20:54 -0700

Python3 Standard Library: codecs string encoding and decoding

1. Codcs string encoding and decoding The codecs module provides both stream and file interfaces to convert different representations of text data.Usually used to process Unicode text, but additional encoding is provided for other purposes. 1.1 Getting started with Unicode CPython 3.x distinguishes between text and byte strings.The bytes instan ...

Posted by melittle on Thu, 19 Mar 2020 18:54:34 -0700

CentOS 7.6 builds nginx 1.16.1 and uses the upstream check module

Environmental description: host name Operating system version ip nginx version httpd version Remarks nginx Centos 7.6.1810 172.27.34.41 1.16.1 / nginx server web01 Centos 7.6.1810 172.27.34.161 / 2.4.6 web server web02 Centos 7.6.1810 172.27.34.162 / 2.4.6 web server web03 Centos 7.6.1810 172.27.34.163 / 2.4.6 web server 1, Brief ...

Posted by jungalist on Wed, 22 Jan 2020 07:36:22 -0800

Build lnmp+wordpress environment

Question Summary Nginx section Essential Library yum install -y wget vim gcc gcc-c++ zlib-devel pcre-devel openssl-devel Compile Options ./configure --with-http_stub_status_module --prefix=/data/wwwroot/nginx-1.17.1 --user=www --group=www --with-http_ssl_module Matters needing attention To be added start-up .../sbin/nginx Common Errors To be a ...

Posted by trink on Mon, 06 Jan 2020 14:30:06 -0800

Nginx 1.14.0 full version compiled from CentOS 7 source code

1, Installation preparation 1. Go to the nginx source package on the official website http://nginx.org/en/download.html ] 2. Loading dependence yum -y install pcre pcre-devel yum -y install openssl openssl-devel yum -y install gcc-c++ autoconf automake yum install -y zlib-devel yum -y install libxml2 libxml2-dev yum -y install libxslt-devel yum ...

Posted by egturnkey on Thu, 02 Jan 2020 05:30:49 -0800

Installing 32-bit PostgreSQL 8 on 64 bit CentOS 7

Recently, Alibaba cloud urged a friend to deal with the system vulnerability quickly, and shut down the machine if he didn't deal with it again. This friend deployed 32-bit PostgreSQL 8.1 on a CentOS 6 host in Alibaba cloud. He wants to use this. Think about it, or install PostgreSQL 8.1 on CentOS 7. The former is a 64 bit operating system, an ...

Posted by Majes on Mon, 30 Dec 2019 18:50:21 -0800