Simulate nginx hot deployment

Hot deployment is to upgrade the software while the application is running without restarting the application. First, simulate an online environment where Nginx needs to be upgraded. Assuming that the old version is nginx-1.0.15, it needs to be upgraded to nginx-1.16.0. Configure older versions # Download nginx-1.0.15 wget http://nginx.org/down ...

Posted by fatmikey on Fri, 01 Nov 2019 14:26:35 -0700

[CentOS 7LNMP architecture 30], set nginx agent#

shallow A kind of ove nginx agent The user sends information to the proxy server, the web server receives the information from the proxy server, returns it to the proxy server, and finally sends it to the user The online environment needs to resolve the domain name of the website to the proxy server, so that the user's request goes to the p ...

Posted by wilzy1 on Fri, 01 Nov 2019 01:25:04 -0700

Alibaba cloud Kubernetes CSI practice - static NAS volume

Environmental preparation For cluster creation, dependency configuration and CSI plug-in deployment, please refer to: CSI deployment details Create NAS volume To create a NAS disk in the NAS console: Reference document To create a NAS mount point on the NAS console: Reference document Note: the NAS mount point needs to be in the same vpc as the ...

Posted by rascle on Tue, 29 Oct 2019 08:14:59 -0700

Java implement a simple java Web container

Instance - implement a simple java Web container Latest updates Technology stack java.net.Socket java.net.ServerSocket Execution process Create a ServerSocket object; Call the accept method of the ServerSocket object and wait for the connection. If the connection succeeds, a Socket object will be returned. Otherwise, the wait will be block ...

Posted by Ice on Wed, 23 Oct 2019 09:11:45 -0700

The installation and configuration of NGINX+PHP under Centos7

First compile and install NGINX: 1. Install dependency package yum install -y gcc-c++  pcre pcre-devel  zlib zlib-devel openssl openssl-devel 2. Run configure configuration cd /usr/local/src/nginx-1.14.0 && ./configure --prefix=/usr/local/nginx 4. Compile and install make && make install 5. Start NGINX /usr/local/nginx/sbin ...

Posted by coupe-r on Mon, 21 Oct 2019 10:48:16 -0700

Getting started with nginx Progress Controller

What is Ingress? In the Kubernetes cluster, Ingress is a rule set that authorizes inbound connections to reach the cluster service, providing seven layers of load balancing capability. It can provide external accessible url, load balancing, SSL, name based virtual host, etc. for Ingress configuration. In short, Ingress says a set of rules that ...

Posted by Simplicity on Mon, 21 Oct 2019 02:37:14 -0700

Cross domain failover of nginx configuration

nginx configuration does not work across domains, as follows server { listen 80; server_name localhost; # Interface forwarding location /api/ { # Allow request address cross domain * as wildcard add_header 'Access-Control-Allow-Origin' '*'; # Set request method ...

Posted by dabigchz on Fri, 18 Oct 2019 11:40:20 -0700

[Kubernetes Series] Part 6 Introduction to Ingress controller - nginx components

1. overview In the last article, we introduced how to install and deploy traefik components through helm. Besides traefik, we also mentioned that the commonly used ingress controller s include Nginx, HAProxy, Kong and so on. In this article, we introduced how to install and deploy Nginx-ingress. Only after accumulating the experience of using d ...

Posted by nocontrol on Mon, 14 Oct 2019 05:33:36 -0700

Centos7 installs jumpserver fortress

1. Firewall Selinux settings echo -e "\033[31m 1. firewall Selinux Set up \033[0m" \ && if [ "$(systemctl status firewalld | grep running)" != "" ]; then firewall-cmd --zone=public --add-port=80/tcp --permanent; firewall-cmd --zone=public --add-port=2222/tcp --permanent; firewall-cmd --permanent --add-rich-rule="rule family="ipv4" sour ...

Posted by mr_badger on Fri, 11 Oct 2019 11:18:37 -0700

Health Check of k8s

Powerful self-healing capability is an important feature of container orchestration engines such as Kubernetes. The default way to implement self-healing is to automatically rekindle the failing container. In addition, users can use Liveness and Readines detection mechanism to set up more detailed health checks, and then achieve the following ...

Posted by dinger on Thu, 10 Oct 2019 11:54:38 -0700