Simple building of LNMP environment

1. The user initiates the request through http protocol, and the request will first arrive at Nginx in LNMP architecture 2.Nginx will match the Location rule according to the user's request 3.Location if the matching request is static, it will be read by Nginx and returned directly locally 4.Location if ...

Posted by Toonster on Fri, 17 Jan 2020 14:16:52 +0100

Nginx+Tomcat realize 80 port forwarding 8080 port

Nginx+Tomcat implements port 80 forwarding port 8080. First Install Nginx Secondly, install jdk, that is, configure java environment, then install Tomcat, and then modify forwarding, proxy address and port. Install and configure Nginx Reference link: https://blog.csdn.net/Sunny_Future/article/details/81353755 Open Nginx, ...

Posted by pb4life55 on Wed, 08 Jan 2020 18:37:55 +0100

How to deploy the traifik ingress controller in K8S cluster

Note: the version of traifik used in this article is 1.x In the production environment, we often need to control the external access from the Internet to the cluster, which happens to be the responsibility of Ingress.  The main purpose of Ingress is to expose HTTP and HTTPS from outside the cluster to the services running in the cluster. Thi ...

Posted by mulysa on Tue, 07 Jan 2020 11:13:53 +0100

k8s creates resources, and

Two ways to create resources Command-based approach: Simple, intuitive and quick to use. Suitable for temporary testing or experimentation. Profile-based approach: The configuration file describes What, that is, the state the application will ultimately achieve. Configuration files provide templates for creating resources that can be deploy ...

Posted by damianjames on Mon, 06 Jan 2020 11:45:50 +0100

Build Nginx Server and Deep Optimization

1. Introduction to NginxNginx is developed for performance optimization. Its greatest advantage is its stability, low system resource consumption, and high processing power for http concurrent connections. A single physical server can support 20,000-50,000 concurrent requests. This is why a large number of enterprises providing services such a ...

Posted by Slip on Mon, 06 Jan 2020 08:21:31 +0100

zabbix add nginx, percona, java monitoring items (2)

This film is related to the blog of zabbix installation and deployment: https://blog.csdn.net/Ying_smile/article/details/81736349 Add nginx monitoring item zabbix-agent: [root@server6 ~]# rpm -ivh nginx-1.8.0-1.el6.ngx.x86_64.rpm [root@server6 ~]# cd /etc/nginx/conf.d/ [root@server6 conf.d]# vim default.conf 12 loc ...

Posted by asunsha on Mon, 06 Jan 2020 00:51:17 +0100

Docker Private Warehouse Deployment and Management

Docker Private Warehouse Deployment and Management Structure of this chapter: Introduction to Harbor Deploying the Docker Compose service on which Harbor depends Deploy Harbor Service Harbor Daily Operations Management Harbor Management Life Cycle Introduction to Harbor Harbor is an open source enterprise Docker Registry project for VMware A ...

Posted by bilis_money on Sun, 05 Jan 2020 10:11:31 +0100

Linux Cluster Architecture (LVS DR mode building, preserved + LVS)

LVS DR mode building Preparatory work: three machines Distributor, also called scheduler (dir in short): 192.168.248.128 rs1 : 192.168.248.129 rs2 : 192.168.248.130 vip : 192.168.248.200 1. Edit the script file * * / usr/local/sbin/lvs_dr.sh * * on dir as follows: #! /bin/bash echo 1 > /proc/sys/net/ipv4/ip_forward #Open port forwarding ipv= ...

Posted by jackpf on Sun, 05 Jan 2020 09:12:48 +0100

nginx configures multiple front-end projects

Recently, a server needs to configure multiple front-end projects. Of course, nginx is needed to configure the front-end and back-end separation. The individual projects are as follows Modify nginx.conf configuration file of nginx #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log ...

Posted by AceE on Sat, 04 Jan 2020 05:42:00 +0100

Introduction to the definition of kubernetes resource list

Kubernetes resource list definition Kubernetes is a ReSTful APIGET,PUT,DELETE,POST kubectl run ,get,edit Resources, objectsworkload: Pod, replicate, Statefulset, Daemonset, job, Cronjob, etc Service discovery and load balancing: service, Ingress Configuration and storage: Volume, CSI     ConfigMap,Secret     DownwardAPI Clus ...

Posted by alecjw on Thu, 02 Jan 2020 04:24:16 +0100