Providing reverse proxy for Kubernetes cluster, accessing internal applications such as kube-Dashboard from outside the cluster through standard http ports
Install Ingress Controller
Deploy default http backend
Deploy nginx ingress controller
Install and access kubernetes dashboard
Deployment of dashboard
Configure ingress
Visit dashboard website on windows machine
Install Ingress Controller
Ingress Controller runs in the container of the k8s cluster. It allows each node to list ...
Posted by timon on Mon, 01 Jul 2019 01:55:27 +0200
Execution phase of the Nginx stream module
Nginx's stream module provides TCP load balancing functionality. The original stream module was relatively simple, and after nginx-1.11.4 it began to process requests in a phased manner similar to the HTTP module.
Processing phase of stream module
Seven stages of the stream module are defined in ngx_stream.h.As shown below
typedef enum {
NG ...
Posted by admin on Tue, 18 Jun 2019 18:49:52 +0200
Project Deployment Cloud Server Process~
From Congo: https://www.cnblogs.com/ZKPython/p/10992326.html
First, to install nginx and MySQL on the server, the website file is recommended at / usr/local/www, environment Python 3.6+mysql 5.7. Ali cloud's server can have a configured public image, otherwise install the environment on its own.
Name of this project: loginOrRegister
For X ...
Posted by stlewis on Sat, 08 Jun 2019 19:04:24 +0200
Centos Nginx Multi-php Version
Record the process of an installation
System: centos
php version: 5.4 5.6
Purpose: Install two php versions
1: First install the first version of php5.4 via lnmp specific command lnum has specific operations on the official network
2: Modify the configuration of php-fpm
Stop running php-fpm first, check pid of php-fpm first
[roo ...
Posted by ciciep on Fri, 07 Jun 2019 19:57:19 +0200
Details of Ansible installation, deployment and common modules
Reprinted from http://www.178linux.com/79792
The Ansible command uses
Ansible syntax uses ansible-m-a
-m NAME, -module-name=NAME: Specifies the module used for execution
-u USERNAME, -user=USERNAME: Specify the remote host to run the command with USERNAME
-s, -sudo: equivalent to sudo commands on Linux systems
-USUDO_USERNAME, -sudo-use ...
Posted by rockstar_tom on Thu, 06 Jun 2019 18:25:25 +0200
centos 7 compile install deploy zabbix-server side
Compile and install the zabbix-server side of the deployment in the CentOs 7.0 environment
First you need to close selinux
[root@bogon ~]# sed -i 's/SELINUX=.*/SELINUX=disabled/' /etc/selinux/config
[root@bogon ~]# setenforce 0
Close Firewall
[root@bogon ~]# systemctl stop firewalld.service
About zabbix and related service software ...
Posted by fatal on Thu, 06 Jun 2019 18:12:44 +0200
Nginx Handbook (V) Static Resources, gzip Compression
I. Relevant Grammar
# 1. File reading (whether or not to use the kernel to transfer files)
Syntax: sendfile on|off
Default value: sendfile off
Context: http,server,location,if in location
#2,tcp_nopush
# Function: Enhance the transmission efficiency of network packets when sendfile is opened.
# Explanation: When tcp_nopush on, network packe ...
Posted by scliburn on Wed, 29 May 2019 11:45:55 +0200
Nginx Handbook (IV) Access Control
Access Control of Nginx
IP-based access control: http_access_module
User-based Trust Logon: http_auth_basic_module
I. http_access_module access module
# Allow: Allow access to or all socket s on specified ip or ip segments or unix
Syntax: allow address|CIDR|unix:|all
Default value: none
Context: http,server,location,limit_except
# Prohibi ...
Posted by carlosx2 on Wed, 29 May 2019 11:35:12 +0200
Common Manual Commands of [svc]linux - md Edition
Related code
env configuration file
/.bash_profile: User executes each login
/.bashrc: Executed every time you enter a new Bash environment
/.bash_logout: executed every time the user logs out
Seymail Mail Configuration
yum install sendmail -y
cat >>/etc/mail.rc<<EOF
set from=xxx@tt.com
set smtp=smtp.exmail.qq.com
se ...
Posted by php_jord on Mon, 27 May 2019 22:22:27 +0200
ghost blog deployment
Summary
ghost is an open source blog platform based on nodejs
There are many articles about ghost blog deployment, including ghost Chinese network. There are many ways to deploy ghost blog. But I think the most convenient way is to deploy ghost with ghost_cli. ghost-cli is a new tool after version 1.0. Simply put, it can help us install, sta ...
Posted by sfc12345 on Fri, 24 May 2019 22:37:16 +0200