Complete steps of source code installation of Nginx on centos7 platform
1. install make
yum install gcc automake autoconf libtool make
2. install gcc
yum install gcc gcc-c++
3. Install pcre Library
Download address: https://pan.baidu.com/s/13Kojg2Xcnp06qiw023uHoQ
Upload the downloaded pcre-8.35.tar.gz through ftp to the directory / usr/local/src of centos7.
cd /usr/local/src
# New pcre directory
mkdir /usr ...
Posted by xux on Fri, 25 Oct 2019 09:40:19 -0700
The installation and configuration of NGINX+PHP under Centos7
First compile and install NGINX:
1. Install dependency package
yum install -y gcc-c++ pcre pcre-devel zlib zlib-devel openssl openssl-devel
2. Run configure configuration
cd /usr/local/src/nginx-1.14.0 && ./configure --prefix=/usr/local/nginx
4. Compile and install
make && make install
5. Start NGINX
/usr/local/nginx/sbin ...
Posted by coupe-r on Mon, 21 Oct 2019 10:48:16 -0700
MySQL + maintained dual active hot standby highly available operation records
MySQL + maintained dual active hot standby highly available operation records
Environmental Science:
ubuntu18.04.2
mysql5.7.21
1 #1)install keepalived And configure it as a system service. master1 and master2 The following operations are also performed on both machines:
2 apt-get install libssl-dev
3 apt-get install openssl
4 apt-g ...
Posted by Arsench on Wed, 16 Oct 2019 15:07:30 -0700
Saltstack deploys keepalived to achieve high availability of haproxy
Saltstack deploys keepalived to achieve high availability of haproxy
Illustration:
Environmental Science:
Server1(salt-master,keepalived-backup,haproxy)172.25.254.1
Server2(salt-minion,keepalived-master,haproxy)172.25.254.2
Server3(salt-minion,RS,httpd)172.25.254.3
Server4(salt-minion,RS,httpd ...
Posted by avo on Sat, 12 Oct 2019 08:53:54 -0700
Technology Sharing | InnoDB Table Space Encryption
Author: Qin Pei
Contents of this article:
Summary of Table Space Encryption
Response Scene
Encryption plug-in
Encryption restrictions
Matters needing attention
2. Encrypted Table Space
Install encryption plug-ins
Configuration table space encryption
View Encrypted Tables in Table Space
3. Update master encryption key
IV. Derivation of Guid ...
Posted by khanuja.sunpreet on Wed, 09 Oct 2019 23:32:25 -0700
linux System nginx Server Replacement Aliyun Certificate
A blank page. Visits to webpages are also prompts. Skip the prompt to continue visiting, the page is normal. So it's not the system that went wrong. The certificate has expired.
Chief, give me a certificate and compress the package. It's this after decompression.
So where should I put this? Do ...
Posted by wei on Sun, 06 Oct 2019 08:39:22 -0700
Asynchronous redis of Swoole learning
I. Asynchronous redis service installation
Swoole Official Documents Guide - > Quick Start - > Asynchronous Redis client
1. swoole uses asynchronous redis preconditions
redis services
hiredis library (X)
Compiling swoole requires adding -- enable-async-redis (X)
Note: If your version of swoole is over 4.3, you only need to install redi ...
Posted by will35010 on Mon, 30 Sep 2019 21:34:28 -0700
Linux Centos 7 - Redis Offline Installation
Install Redis in a disconnected environment.
1. Reference Articles
Ali Cloud Mirror centos7 rpm package download address http://mirrors.aliyun.com/centos/7/os/x86_64/Packages/
Redis download address http://download.redis.io/releases/
https://blog.csdn.net/u010177412/article/details/81780844
https://www.cnblogs.com/yy3b2007com/p/1 ...
Posted by cmancone on Tue, 24 Sep 2019 09:58:43 -0700
Using transaction and accessing Alipay payment function in django
I have always wanted to record the transactions used in the project and the payment function of Alipay. I have been lazy all the time. I will take a look at this while I am a bit interested today.
The essential function of the mall project is to pay the order, so it will involve the preservation of the order and the introduction of the payment ...
Posted by trauch on Fri, 06 Sep 2019 21:05:09 -0700
Mysql uses SSL connections
Recently, SSL connection has been used in the project. Record that the environment is Windows 10 and Mysql version is 5.6.
See if SSL is supported
First, execute the following command on MySQL to query whether MySQL supports SSL:
mysql> SHOW VARIABLES LIKE 'have_ssl';
+---------------+-------+
| Variable_name | Value |
+---------------+----- ...
Posted by ghornet on Mon, 26 Aug 2019 06:41:38 -0700