Docker installation, image usage and some simple docker instructions

Docker is an open-source application container engine, which allows developers to package their applications and dependency packages into a portable container, and then publish them to any popular Linux machine. It can also realize virtualization. The container uses the sandbox mechanism completely, and there is no interface ...

Added by ramas on Tue, 31 Dec 2019 15:14:51 +0200

Understand Nginx location matching thoroughly

Nginx's location implements fine-grained processing of requests, some URI s return static content, some distribute to back-end servers, and so on. Understand its matching rules thoroughly today An example of the simplest location is as follows server { server_name website.com; location /admin/ { # The configuration you plac ...

Added by pavanpuligandla on Mon, 30 Dec 2019 06:15:04 +0200

Docker basic control commands (resource control, data volume and data volume container, image creation, port mapping, private warehouse)

1, Resource control 1. CPU usage control Limit the maximum number of containers created by this image to 10% of the total resources docker run --cpu-quota 10000 centos 2. Prorated distribution Create two containers, c1 and c2. If there are only two containers, set the weight of the container so that the CPU resources of c1 and c2 account for 3 ...

Added by burtybob on Sun, 29 Dec 2019 18:04:27 +0200

LNMP Environment Setup (PHP 7.4.0)

Catalog Dead work Install wget Install net-tools Install vim Configure Display Line Number Close Firewall Install Nginx Installation Dependency Compile and install Nginx Configuring environment variables Systemd Management Install M ...

Added by terryl on Fri, 27 Dec 2019 04:51:09 +0200

Getting started with Nginx error page redirection (Nginx installed from yum)

1. Environment: Nginx installed from yum. 2. Scenario: redirect the error prompt page of Nginx. 3. Configuration file / etc/nginx/conf.d/default.conf tip: why is this configuration file? Because include /etc/nginx/conf.d/*.conf is loaded in the nginx.conf file; 4. default.conf source code: server { listen 80; serve ...

Added by southofsomewhere on Tue, 24 Dec 2019 23:04:12 +0200

nginx reverse proxy obtains the real ip of users

When nginx is used as the reverse proxy, the ip obtained by the default configuration backend is from nginx. How to forward the user's real ip to the backend program? For example, in java backend, use request.getRemoteAddr(); obtain the nginx ip address, not the user's real ip address Modify nginx configuration as follows: upstream www.xxx.com ...

Added by Owe Blomqvist on Mon, 23 Dec 2019 19:47:17 +0200

Install and configure Nginx under CentOS 7 to support pseudo static (including all codes)

Install and configure Nginx under CentOS 7 to support pseudo static It is a difficult problem for novices to install and configure Nginx under Linux to support pseudo-static state. They often encounter 404 and other errors. Configuration and debugging is a waste of time. Sometimes they feel that they can't start. Online materi ...

Added by fragger on Sun, 22 Dec 2019 17:31:22 +0200

docker deployment LNMP environment

The first step is to confirm that there are tar packages needed in your environment, and you can use [docker pull]() to download these images Now we're using a downloaded image, so we need to import it [root@docker01 ~]# docker load -i nginx.tar && docker load -i wordpress.tar && docker load -i mysql-5.7.tar && docke ...

Added by Havery Jay on Fri, 20 Dec 2019 22:21:35 +0200

Prometheus application monitoring

This paper describes how to realize the application monitoring of Prometheus Monitoring Nginx nginx: 1.16.1,nginx-vts-exporter: 0.10.3,nginx-module-vts: 1.6.3 Monitoring Nginx mainly uses the following three modules: Nginx module VTS: monitoring module of nginx, which can provide data output in JSON format. Nginx VTS exporter: it is mainly us ...

Added by TempleDMDKrazd on Wed, 18 Dec 2019 11:29:39 +0200

Chapter Twelve Nine takes you through helm3 harbor with ease

This series of articles: Chapter 1: helm explodes easily in a minute Chapter II: helm Easy to Explode Public Warehouse Chapter III: helm Easy to Explode Private Warehouses Chapter IV: helm Easily Burst chart Chapter V: helm Blast release Easy Chapter VI: Nine analysis takes you through helm gitlab easily Chapter VII: Nine analysis takes you t ...

Added by genix2011 on Tue, 17 Dec 2019 21:24:53 +0200