Nginx from installation to high availability
I Nginx install
1. Go to the official website http://nginx.org/ Download the corresponding nginx package. It is recommended to use a stable version
2. Upload nginx to linux system
3. Installation dependent environment
(1) Install gcc environment
yum install gcc-c++
(2) Install PCRE library for parsing regular expression
yum install -y ...
Added by caspert_ghost on Wed, 09 Feb 2022 08:36:08 +0200
Playing with Linux Haproxy to build clusters
Objectives:
Understand the characteristics of HaproxyEasily use Haproxy to build clusters
Content:
1, HAProxy features:
Support two proxy modes: TCP (layer 4) and HTTP (layer 7), and support virtual host;It can supplement some shortcomings of Nginx, such as Session retention, Cookie guidance and so onSupport url detection, back-end server ...
Added by phparray on Tue, 08 Feb 2022 11:42:10 +0200
Front and back end separate deployment and operation and maintenance in Docker environment
Front and back end separate deployment and operation and maintenance in Docker environment
1, Common commands of Docker virtual machine
Update package first yum -y update
Install Docker virtual machine yum install -y docker
Run, restart and shut down Docker virtual machine service docker start
service docker restart
service docker st ...
Added by pinacoladaxb on Tue, 08 Feb 2022 11:06:48 +0200
Quick start Nginx
1. Introduction to Nginx
1.1 what is Nginx
nginx Chinese documents: https://www.nginx.cn/doc/
Nginx is a high-performance Http and reverse proxy web server that provides IMAP/POP3/SMTP services
Nginx features less memory, strong concurrency, simple installation and concise configuration files
1.2 reverse proxy
Forward proxy: configu ...
Added by DavidT on Tue, 08 Feb 2022 02:00:59 +0200
Multi phase construction of front-end docker image
1. Front end image construction record
1. dockerfile
# Phase I
FROM node:latest AS build
ARG COSTAR_ENV
ENV COSTAR_ENV=${COSTAR_ENV}
COPY . .
RUN npm config set registry https://registry.npm.taobao.org/ && \
npm install && \
npm run dev_build && \
mv dist web_portal && \
cp -r web_portal /www/
...
Added by ciaran on Mon, 07 Feb 2022 02:37:06 +0200
Java extension Nginx II: compiling Nginx clojure source code
Welcome to my GitHub
Here we classify and summarize all the original works of Xinchen (including supporting source code): https://github.com/zq2599/blog_demos
Why compile nginx clojure source code
As the second article of "Java extends Nginx", I wanted to start the in-depth journey of Nginx clojure with you, but if one problem ...
Added by Awesome Trinity on Sun, 06 Feb 2022 01:41:45 +0200
Spring boot + Vue deployed on nginx server (linux) -- full version
In the front and back-end separate development of springboot+vue, how to release the project to the server of centos (or other linux version) system after the project is developed? Due to the lack of complete information on the Internet, I specially write this blog to record my deployment process in recent days.
premise
Install spring boo ...
Added by dshevnock on Fri, 04 Feb 2022 12:09:37 +0200
Installation and optimization of Nginx
1, Nginx website service
A high-performance, lightweight Web service software High stability Low system resource consumption High processing capacity for HTTP concurrent connections A single physical server can support 30000 ~ 50000 concurrent requests
① Installing nginx lightweight web services
1. Turn off the firewall and the software ...
Added by VK4KBG on Wed, 02 Feb 2022 13:39:35 +0200
Dry goods | Nginx I don't believe you can't learn (Part 2)
In "dry goods | Nginx I really don't believe you can't learn (Part I)", we probably have a general impression of Nginx: we know what Nginx is for, what reverse proxy and forward proxy are, and what load balancing is.
Today, let's really get started. As the saying goes, "practice is the only standard for testing truth". If y ...
Added by skdzines on Tue, 01 Feb 2022 21:52:42 +0200
Linux Installation Software (continuous update)
Install JDK
Download Oracle JDK
https://www.oracle.com/java/technologies/javase-jdk14-downloads.html
1. Decompress
tar -xvf jdk-14.0.2_linux-x64_bin.tar.gz
2. Configuration file
vim /etc/profile
Add the following in the last line
export JAVA_HOME=/usr/local/jdk/jdk-14.0.2
export PATH=$JAVA_HOME/bin:$PATH
export CLASSPATH=.:$JAVA ...
Added by ddemore on Tue, 01 Feb 2022 05:55:21 +0200