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.
original_data = b'This is the original ...
Posted by zippers24 on Fri, 27 Mar 2020 10:20:54 -0700
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
Operating system version
1, Brief ...
Posted by jungalist on Wed, 22 Jan 2020 07:36:22 -0800
yum install -y wget vim gcc gcc-c++ zlib-devel pcre-devel openssl-devel
./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
To be a ...
Posted by trink on Mon, 06 Jan 2020 14:30:06 -0800
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
Posted by egturnkey on Thu, 02 Jan 2020 05:30:49 -0800
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
FasterDFS Basic Configuration Installation
FastDFS is an open source, lightweight, distributed file system that manages files, including file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing.It is especially suitable for online services with f ...
Posted by meediake on Mon, 30 Dec 2019 08:25:07 -0800
Some children's shoes participating in the actual project deployment know that it is a very painful thing to deploy Middleware in a completely offline process. Here is a record of the process of deploying an Nginx independently in Readhat.
1. Create nginx exclusive user
Users / user groups www/www
Create user group groupadd www
Posted by Zephyr_Pure on Sat, 28 Dec 2019 08:00:39 -0800
FastDFS is an open-source lightweight distributed file system, which manages files. Its functions include file storage, file synchronization, file access (file upload, file download), etc. It solves the problems of mass storage and load balancing. It is especially suitable for online services based on documents, such as album w ...
Posted by rickbond79 on Tue, 24 Dec 2019 04:24:37 -0800
Raspberry Pie Compile Install LANMP
My raspberry pie here is 3 B Edition, CPU4 Kernel, memory 1 G，System I use is Ubuntu 19.10 Edition.The mirror uses Ali's mirror with the following source:
deb https://mirrors.aliyun.com/ubuntu-ports eoan main restricted
deb https://mirrors.aliyun.com/ubuntu-ports eoan-updates main rest ...
Posted by dotty on Mon, 16 Dec 2019 20:28:04 -0800