Nginx Optimization Practice (process management, anti-theft chain)
Nginx process management instance:
[root@nginx nginx-1.12.2]# cd /usr/local/nginx/
[root@nginx nginx]# ls
client_body_temp fastcgi_temp logs sbin uwsgi_temp
conf html proxy_temp scgi_temp
[root@nginx nginx]# cd conf/
[root@nginx conf]# vim nginx.conf
//Set timeout
keepalive_timeout 65 180;
client_header_t ...
Posted by newcastle_unite on Fri, 15 Nov 2019 11:09:18 -0800
Docker compose deploy Vue+SpringBoot front and back end separation project
I. Preface
This article will deploy the front-end Vue project to Nginx through docker compose, and run the back-end spring boot project
Basic server environment:
CentOS7.3
Dokcer
MySQL
II. Docker compose deployment of Vue+SpringBoot front and back end separation project
The overall configuration structure of the project does not affect the st ...
Posted by Tomcat13 on Thu, 14 Nov 2019 19:28:45 -0800
Continuously Integrated Gitlab Installation and Application
Preface:
Gitlab is an open source application developed using Ruby on Rails that implements a self-hosted repository of Git projects that can be accessed through the Web interface from public or private projects. Gitlab has Github-like capabilities to browse source code, manage defects and comments.Can manage team access to the repository, he ...
Posted by Alphamonkey on Thu, 14 Nov 2019 11:33:31 -0800
Nginx connection timeout, process management optimization (load balancing)
Connection timeout for Nginx
In corporate websites, avoid wasting resources by occupying connections with the same customer for a long timeConnection timeout parameters can be set to control connection access time
Configure nginx
[root@localhost ~]# yum install pcre-devel zlib-devel gcc gcc-c++ -y ##Install Environment Package
[root@localh ...
Posted by gibs on Thu, 14 Nov 2019 11:33:25 -0800
Nginx optimization - connection timeout, process management, compression, anti-theft chain
Nginx implementation connection timeout
In order to avoid the waste of resources caused by the same customer occupying the connection for a long time in the enterprise website, the corresponding connection timeout parameters can be set to control the connection access time.
Viewing connection parameters using the fiddler tool
Timeout param ...
Posted by alfoxy on Thu, 14 Nov 2019 09:20:55 -0800
Java8 flow API intermediate operation
Stream Trilogy - create stream
Flow can be divided into two types: finite flow and infinite flow. Finite flow refers to the finite number of elements in the flow and infinite flow refers to the infinite number of elements in the flow. No matter finite flow or infinite flow, there will be no intermediate operation before termi ...
Posted by vomitbomb on Wed, 13 Nov 2019 10:12:50 -0800
FastDFS picture server stand-alone installation steps (Revision)
As I said before A picture of the network architecture of microservices , through this article, you can understand the stand-alone installation process in FastDFS components.
Stand alone architecture
The following are the installation steps of FastDFS
I. environmental preparation
CentOS 7.X
libfastcommon Version used: libfastcommon-1.0.41.tar. ...
Posted by kelharis on Wed, 13 Nov 2019 02:00:28 -0800
Centos7 Installation Deployment Sinicized Gitlab
Environment centos7, memory at least 4G, Gitlab is memory intensive.GitHub Installation Reference: https://about.gitlab.com/install/Component Installation Reference: https://docs.gitlab.com/ce/development/architecture.html
install
Configure Yum SourceUse the domestic software mirror station, here use Tsinghua University's open source softwa ...
Posted by jackliu97 on Mon, 11 Nov 2019 16:17:45 -0800
LNMP Deployment and Application Theory and Practice
LNMP Deployment and Application
Interpretation of LNMP Architecture
The LNMP platform is a combination of Linux, Ngnix, MySQL and PHP.Architecture, requires Linux server, MySQL database, PHP parsing environment
MySQL Installation Configuration
For consistency with Nginx, PHP environments, here is the option to install MySQL components as sourc ...
Posted by hyzdufan on Mon, 11 Nov 2019 14:48:38 -0800
Deploying rook-ceph storage system on kubernetes
[TOC]
1. Briefly explain why rook is used
rook This is not detailed here, you can see it on the official website.
Say why you want to deploy the ceph cluster on kubernetes using root.As we all know, the current kubernetes As the pod is released within the kubernetes node, its container data will also be cleared for the best cloud native contai ...
Posted by pbarney on Mon, 11 Nov 2019 14:20:54 -0800