Implement LNMP architecture, deploy WordPress and configure NGINX virtual host

1. Compile and install LNMP and wordpress 1.1 install PHP, php mysql, mysql, PHP FPM [root@c1 ~]# yum install php php-mysql ngnix mariadb-server php-fpm -y 1.2 compile and install nginx 1.2.1 installation dependency package [root@c1 nginx]# yum install gcc pcre-devel openssl-devel zlib-devel -y 1.2.2 creating nginx users [root@c1 ~]# useradd ...

Posted by murali on Mon, 01 Jun 2020 07:59:42 -0700

Opencv + nginx RTMP module for image streaming

This scheme realizes RTMP streaming after single frame image processing Reference resources Nginx and nginx RTMP module building RTMP video live and on demand servers,<jkuri /opencv-ffmpeg-rtmp-stream>,Compiling and installing ffmpeg under Linux (modification - simple and complex final version) Setting up nginx server download ngin ...

Posted by naskar on Fri, 29 May 2020 09:06:38 -0700

Istio fault injection

Index total: istio from getting started to giving up series 1. Introduction Istio fault injection is different from other mechanisms that introduce errors (such as delaying packets or killing Pod directly) in the network layer. Istio allows fault injection in the application layer. This enables injection of more related faults, such as HTTP er ...

Posted by genista on Fri, 29 May 2020 07:15:01 -0700

Nginx problem record (continuous update)

To record the Nginx problems encountered: 1. nginx is forwarded to other addresses because the proxy configured by default in the server layer_ set_ header Host $host;Proxy needs to be configured in the location layer_ set_ header Host $proxy_ host; location /xxx/ { proxy_pass http://www.baidu.com/; proxy_set_header Host $proxy_host; } 2. Cro ...

Posted by assafbe on Fri, 22 May 2020 08:50:50 -0700

Introduction to Docker foundation of container technology

We have learned the basic usage of LXC and the simple use of LXC WEB Panel, which can be referred to by interested friends https://www.cnblogs.com/qiuhom-1874/p/12904188.html Today's essay is mainly about the basic knowledge of docker; I. docker and LXC First let's talk about the difference between docker and traditional LXC containers. The tra ...

Posted by drag0n on Fri, 22 May 2020 06:47:21 -0700

K8S deploy stateful application through Statefulset

1, Understanding statefuse 1. Statefuse ensures that pod s retain their identity (container name) and state after rescheduling.2. Statefuse achieves that each pod corresponds to the corresponding PV volume, and each pod can support a set of independent data volumes.3. Provide a stable network identity. Each pod created by a Statefulset has a z ...

Posted by kh411dz on Thu, 21 May 2020 08:38:01 -0700

nginx forward proxy http/https and proxy mail service

nginx forward proxy http/https and proxy mail service Demand background: In the company's Intranet environment, you cannot directly connect to the external network. The intranet service is required to access the Internet through the forward proxy. Installation environment preparation: Nginx itself does not support https protocol request forwa ...

Posted by nats on Thu, 21 May 2020 07:53:45 -0700

Using Nginx to record and display the TOP 20 Web interface with slow response

I believe that many small partners have seen the response time and real-time display function of url interface in some commercial products. It can be understood that the slow query of web interface and the slow query of sql have the same magic, but if you want to do it, you have no way to start and don't know how to realize this function, so to ...

Posted by Jak on Mon, 18 May 2020 23:19:14 -0700

ELK 7.X Use kiana's built-in analysis module to display icon problem records

Built a set of elk by myself 7.x Version environment found that using filebeat to collect nginx or apapche could not customize the directory log directory. If you customize the log directory, it would not be segmented. If you use the default log location, it would be segmented The solution is hereby recorded Default load path [root@kangcw e ...

Posted by phithe on Mon, 18 May 2020 09:03:04 -0700

lnmp build (Nginx1.12.1; MySQL 5.7.20; php7.2.0)

Install dependent packages: #yum install gcc bison bison-devel zlib-devel libmcrypt-devel mcrypt mhash-devel openssl-devel libxml2-devel libcurl-devel bzip2-devel readline-devel libedit-devel sqlite-devel libpng-devel libjpeg-devel freetype freetype-devel Create a WW user: #groupadd www #useradd -g www -s /sbin/nolo ...

Posted by ChrisDarl on Fri, 08 May 2020 11:18:51 -0700