Nginx tcp reverse agent configuration and installation
Nginx upgrade supports stream module
Nginx is used as the reverse proxy of tcp. Currently, in versions 1.7 to 1.9, the [nginx ﹐ tcp ﹐ proxy ﹐ module] module needs to be loaded. After 1.9, the [with stream] module can be used.
Because LNMP is used for installation( https://lnmp.org/ ), the method of upgrading nginx directly ...
Posted by anthonyv on Fri, 03 Jan 2020 20:48:14 -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
nginx deployment and installation
1. When learning ngnix, there is no need to install it. In fact, the installation is very simple. A shell script can do it. Please refer to the following
Use the root user to execute the nginx-install.sh script, which is as follows:
#!/bin/bash
set -o nounset
basedir=$(cd "$(dirname "$0")"; pwd)
# Set user name and password
sys_user=hadoop
sy ...
Posted by bk6662 on Mon, 30 Dec 2019 12:26:23 -0800
Full offline deployment of nginx
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
Cre ...
Posted by Zephyr_Pure on Sat, 28 Dec 2019 08:00:39 -0800
Problems encountered in compiling and installing Apache,nginx,mysql,php, etc. for Raspberry Pie 3B
Raspberry Pie Compile Install LANMP
brief introduction
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
Python Java interworking rsa encryption and decryption
Record a project using RSA encryption and decryption
The project is under development in Java and Python, RSA encryption and decryption interworking Code:
Python code
# -*- coding: utf-8 -*-
"""
RSA Encryption and decryption
"""
import base64
from M2Crypto import BIO, RSA
with open("public_key.pem", 'r') as f:
pubkey = f.read()
with open(" ...
Posted by consultant1027 on Mon, 16 Dec 2019 08:55:20 -0800
SaltStack automatic deployment keepalived to achieve high availability of haproxy
Experimental environment
rhel6.5
serevr1 salt-master,salt-minion keepalived+haproxy ip:172.25.254.100
server4 salt-minion keepalived+haproxy ip :172.25.254.104
server2 salt-minion ip:172.25.254.102
server3 salt-minion ip:172.25.254.103
Virtual IP 172.25.254.200
See https://blog.csdn.net/weixin_/article/details/834 ...
Posted by varzosu on Sat, 14 Dec 2019 12:55:02 -0800
Upload and download alicloud OSS files in Linux Shell script
background
In the work, because the log files generated by our project are very important, and the local disk space is limited for a long time, so considering the backup scheme, we originally intended to save them on nas, but due to various reasons, we communicated with the operation and maintenance department to suggest saving them on oss.
Bec ...
Posted by jmrouleau on Thu, 12 Dec 2019 06:34:17 -0800
dockerfile making image
The process of making nginx image is divided into three steps1. Make dockerfile file2. Make nginx installation script of nginx.sh3. Make ngx-depolyment.yaml file
Here are the details
#mkdir /root/dockerfile
#cd /root/dockerfile
#touch Dockerfile
#mkdir nginx
//Making a dockerfile file
root@<cc_172.16.0.2|~/dockerfile/nginx>:#cat Docker ...
Posted by leon_nerd on Sun, 08 Dec 2019 11:32:00 -0800
13 strategies of Nginx - (VeryNginx)
What is VeryNginx
VeryNginx is developed based on Lua ﹣ Nginx ﹣ module (openretry), which implements advanced firewall, access statistics and other functions. The integration runs in Nginx, extends the function of Nginx itself, and provides a friendly Web interface.
How to install VeryNginx
Nginx compilation environment
yum -y install gcc gcc ...
Posted by FrankA on Fri, 06 Dec 2019 03:42:27 -0800