Installing fastdfs under nginx
1. Install gcc environment
yum install gcc-c++
2. Install two libraries The first libevent Library
yum -y install libevent
The second libfastcommon Library libfastcommon download address: https://github.com/happyfish100/libfastcommon/archive/V1.0.43.tar.gz
Copy the downloaded libfastcommon to the / usr/local / directory, and then execute ...
Added by HuggieBear on Mon, 31 Jan 2022 23:37:44 +0200
Partial optimization and anti-theft chain configuration of in-depth learning of nginx
1, Hide version number
1.1 method of modifying configuration file
vim /usr/local/nginx/conf/nginx.conf
http {
include mime.types;
default_type application/octet-stream;
server_tokens off; #Add close version number command
......
}
systemctl restart nginxcurl -I http://192.168.253.33
1.2 modify the sour ...
Added by acheoacheo on Mon, 31 Jan 2022 06:15:01 +0200
Install jdk, redis, mysql and nginx on linux
1, jdk installation
Download jdk: Official address: https://www.oracle.com/java/technologies/javase-downloads.html Unzip the downloaded package: #Use command:
tar -zxvf jdk-8u291-linux-x64.tar.gz
#To facilitate management after decompression:
mv jdk-8u291-linux-x64/ /usr/core/jdk
#I like to use core as a common (core) and immovable dire ...
Added by karlkatzke on Sun, 30 Jan 2022 20:05:46 +0200
Demonstration of the most basic configuration of nginx
Reverse proxy
Reverse proxy diagram
Configuration file nginx conf
Just configure the proxy in the server_ Pass is OK. Everything else is the default.
#user nobody;
worker_processes 1;
#error_log logs/error.log;
#error_log logs/error.log notice;
#error_log logs/error.log info;
#pid logs/nginx.pid;
events {
worker ...
Added by noimad1 on Sun, 30 Jan 2022 09:16:55 +0200
Basics of nginx
1, Basic concepts
nginx: high performance HTTP and reverse proxy server, supporting hot deployment, high concurrency, reverse proxy, load balancing, dynamic and static separationForward proxy: the client configures a proxy server to directly access the browser. This method is called forward proxy.Reverse proxy: the client accesses the prox ...
Added by Roger Ramjet on Sun, 30 Jan 2022 08:12:14 +0200
Elasticsearch participle, Docker installation, Nginx
brief introduction
Official documents: https://www.elastic.co/guide/en/elasticsearch/reference/7.x/analysis.html
A tokenizer receives a character stream, divides it into independent tokens (word elements, usually independent words), and then outputs the tokens stream.
For example: whitespace tokenizer splits text when it encounters whit ...
Added by silrayn on Sun, 30 Jan 2022 07:21:24 +0200
nginx proxy and concurrent and Keepalived high availability cases
Load balancing, there is a place where = 5 is not written. Pay attention to the following figure
Installing telnet Restart ng and configure ip
Address hash Maximum number of links Carry header With host name and ip Domain name splitting Include include files proxy.conf proxy settings Dynamic and static separation The ...
Added by nakago on Sat, 29 Jan 2022 10:57:40 +0200
centos nginx installation lua module support
Special thanks to zhangyichun for sharing
Installation steps
Install luajit
Download LuaJIT source code
[root@nginx-4 ~] wget https://github.com/openresty/luajit2/archive/refs/tags/v2.1-20220111.tar.gz
[root@nginx-4 ~] tar -zxvf v2.1-20220111.tar.gz
[root@nginx-4 ~] cd luajit2-2.1-20220111
[root@nginx-4 luajit2-2.1-20220111] make &&am ...
Added by Mr.Shawn on Fri, 28 Jan 2022 12:25:38 +0200
Nginx from installation to high availability
1, Configure ssl certificate to provide https access1. Install SSL moduleTo configure https in nginx, you must install SSL module, that is: http_ssl_module. Enter the unzipped directory of nginx: / home/software/nginx-1.16.1Add ssl modules (the original modules need to be retained)./configure --prefix=/usr/local/nginx --pid-path=/var/run/nginx/ ...
Added by onlinegs on Fri, 28 Jan 2022 08:49:18 +0200
Simulated nail! I package the Vue project as a client, and everything can be packaged!
One way to encapsulate Web projects as PC clients is to use node WebKit.
Node WebKit is based on node JS and chromium application running environment, through which we can build on chrome browser and node The web application on JS is packaged into desktop application, which is what we call client, and it also supports cross platform.
...
Added by jzimmerlin on Fri, 28 Jan 2022 02:34:45 +0200