nginx profile parsing
Configuration files are arguably one of the most frequently encountered parts of our use of nginx. After we configure the appropriate configuration items, we typically use the. /sbin/nginx -t command to test the configuration file for parameter errors and reload nginx.This paper will first explain the configuration of nginx configuration file w ...
Added by Cugel on Tue, 17 Dec 2019 05:02:31 +0200
K8s Resource Pod (first article)
Resource configuration format:
apiVersion: The version used to define an api group.
Kind: Used to define resource types.
Metadata: Used to define metadata, what it contains, the name of a resource, its tags, the namespace to which it belongs, and so on.
sepc:
Used to define the expected state of a resource.
status: The actual state of the res ...
Added by cocell on Fri, 13 Dec 2019 05:51:57 +0200
Kube admin: kubernetes learning materials, common commands.
The original connection of this paper is:https://blog.csdn.net/freewebsys/article/details/83618119
The blogger's address is: http://blog.csdn.net/freewebsys
1. About kube video
The first section is shared by foreigners. I'm too lazy to listen to English.
Look straight from the second section. Chinese is still comfortable to l ...
Added by _off_axis_ on Thu, 12 Dec 2019 22:19:10 +0200
nginx configures domain name, reverse agent and load balancing
Listening to different ports
The default commodity of nginx is port 80. If there is a server service in the configuration file, you can copy multiple servers below if you need more than one. Listen to different ports to change the corresponding configuration
server {
listen 80; # Listening port number, 80 by def ...
Added by dennisflash on Thu, 12 Dec 2019 20:59:55 +0200
Brief introduction of new features of systemd and common type analysis of unit, using systemd to manage the nginx of compilation and installation
1. New features of SYSTEMd
Process (start) all services in parallel.
Service control logic based on dependency definition
System state snapshot
Activate the process on demand, only when it is accessed for the first time can it really start;
2. Common unit types of SYSTEMd
target: simulate the implementation level;
service: define system service ...
Added by Sandip on Wed, 11 Dec 2019 20:13:40 +0200
New server building - Summary: Download nginx, jdk8, docker compose (install mysql,redis) with installation
Preface
For example, the company bought a new 4-core 16G server and had to rebuild the environment, so it had to do one by one and make a record
1.nginx: manual installation
2.jdk8: manual installation
3. Install docker and docker compose
3. Docker compose encoding, one click docker to install mysql, redis
nginx installation
Available ...
Added by elgoog on Wed, 11 Dec 2019 15:55:03 +0200
Log interception of nginx and warehousing practice of shell script
Implemented front end monitoring
Understand business access and user distribution
Monitor the stability of business customization key nodes (payment, im message, etc.)
Monitor business system exceptions (exception details, exception occurrence environment)
Monitor business performance (future)
Alarm, mail task (future)
Written in front
This ...
Added by stuworx on Wed, 11 Dec 2019 11:39:42 +0200
CentOS 7.4 source installation nginx 1.14
Operating system: CentOS 7.4
Nginx version: nginx-1.14.1
The current Stable version is nginx-1.14.1 Reference resources
Different from JRE and Tomcat, nginx is not only decompressed, but also compiled and installed. The specific steps are as follows:
I. preparation environment
If the environment preparation is not complete, it will be exec ...
Added by La Parka on Mon, 09 Dec 2019 19:47:30 +0200
kubernetes command summary Set
kubernetes command summary Set
Turn off virtual memory
swapoff -a
vim /etc/fstabl
#/dev/mapper/centos-swap swap
View docker environment variables
systemctl show --property=Environment docker
Set agent cancel agent
export http_proxy="http://127.0.0.1:8123/"
unset http_proxy
View token
kubeadm token list
Get token command in SA
kubectl ...
Added by bobc on Sat, 07 Dec 2019 13:28:49 +0200
Recruitment application for thinkp5 to develop OA office system
Development and operation environment:
Shenzhou notebook K650D-G6D1 i5-6400 GTX950M
Windows 10 professional
Nginx or Apache Web server software
MySQL 5.7. X database
PHP7.1.0
PHPStrom 2017
PowerDesigner 16.5
Axure RP8
Prototype design drawing (recruitment application)
Database table (recruitment application): recruitment application ...
Added by marukochan on Sat, 07 Dec 2019 04:11:50 +0200