Docker Containerized Series
Docker Containerization
[External Link Picture Transfer Failure (img-PGrNBYx3-1564835831568) https://github.com/grandhappy/docker/blob/master/images/0.png)]
Take nginx+tomcat cluster as an example to illustrate how to build services. The usual way is to download, install, configure and deploy code. Ho ...
Posted by NewPHP_Coder on Sat, 03 Aug 2019 14:47:59 +0200
k8s statefulSet-stateful application replica set controller
1. Overview
Stateless applications focus more on groups, and any member can be replaced. Stateless applications focus on individuals. The nginx and myapp managed by deployment controller belong to stateless applications, such as mysql, redis, zookeeper and so on. They also have master-slave and sequential.
The stateful set controller can mana ...
Posted by dotti on Sat, 03 Aug 2019 10:43:46 +0200
nginx lua integrated kafka
NGINX lua integrated kafka
Step 1: Enter the opresty directory
[root@node03 openresty]# cd /export/servers/openresty/
[root@node03 openresty]# ll
total 356
drwxr-xr-x 2 root root 4096 Jul 26 11:33 bin
drwxrwxr-x 44 1000 1000 4096 Jul 26 11:31 build
drwxrwxr-x 43 1000 1000 4096 Nov 13 2017 bundle
-rwxrwxr-x 1 1000 1000 45908 Nov 13 20 ...
Posted by damdempsel on Sat, 03 Aug 2019 10:05:15 +0200
Nginx + Docker Manual Cluster Run EMQ
In the process of supporting customers, EMQ X learns that customers use Nginx for load balancing and that the Docker container manually joins the cluster to run the EMQ cluster. The main process is now recorded.
Business Requirements
Use Nginx as a reverse proxy
Nginx needs to assign the address of the proxy server in advance
Run EMQ using Doc ...
Posted by kishore_marti on Sat, 03 Aug 2019 05:14:43 +0200
FFmpeg Memory H264 Stream Publishing rtmp
background
A lot of information about FFmpeg reading memory 264 directly published into rtmp was searched on the internet. It was found that very little information was available in this area. Recently, the function of this area was done, and it is hereby recorded.
Problem Description
There are many ...
Posted by jdog5 on Fri, 02 Aug 2019 11:23:28 +0200
traefik Ingress https configuration
Environmental Science
. kubernetes 1.14.3
. traefik V1.7.12
.IP 192.168.30.35
.kubectl label nodes ingress ingress=yes
https certificate application
It is recommended to apply for free certificate with acme.sh. The specific method is not described in detail.Use self-visa
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout tls.key -out ...
Posted by MiCR0 on Wed, 31 Jul 2019 18:03:36 +0200
Mass deployment of Nginx by ansible-playbook
nginx is deployed by source code compilation through ansible-playbook.
All deployed nginx hosts are divided into webserver groups:
# vim /etc/ansible/hosts
[webserver]
192.168.30.128
192.168.30.129
192.168.30.130
Create a management directory:
# mkdir -p nginx/roles/nginx_install/{files,ha ...
Posted by CodeToad on Wed, 31 Jul 2019 14:34:17 +0200
ab Testing Tool - Server Stress Testing Details
ab pressure testing tool
Ab is a tool for testing Apache Hypertext Transfer Protocol (HTTP) servers. Apache comes with ab tools, which can test apache, IIs, tomcat, nginx, web and other servers
But ab does not have Jmeter, Loadrunner, such as a variety of scenario design, various graphics reports a ...
Posted by sijis on Wed, 31 Jul 2019 12:08:19 +0200
CentOS 7 Source Installation Nginx
System Platform: Tencent Cloud Server CentOS 7.3 64 bits
Installation of compiler tools and library files
[root@VM_0_5_centos ~]# yum install -y make zlib zlib-devel gcc-c++ libtool openssl openssl-devel
Installation of pcre
The function of PCR E is to enable Nginx to support Rewrite function.
1. Download the PCR E package
[root@VM_0_5_centos ...
Posted by jmgarde on Wed, 31 Jul 2019 10:08:18 +0200
Containers
[TOC]
Containers are one or a group of applications that run independently.Docker containers are created by Docker mirroring.The relationship between containers and mirrors is similar to objects and classes in object-oriented programming.
[info] Container names for the following commands can be replaced with container IDS
operation
# Create a ...
Posted by Hitwalker on Tue, 30 Jul 2019 21:56:03 +0200