Grandma often says Nginx optimization and anti-theft chain, that's it?
introduction
In the enterprise information application environment, the security and response speed of the server need to configure the response parameters according to the actual situation to achieve the optimal user experience. The default Nginx installation parameters can only provide the most basic services, and also need to reconcile ...
Posted by nicelad_uk on Wed, 13 Oct 2021 18:32:05 -0700
Linux Enterprise Operation and maintenance 6.4 -- nginx+php, tomcat+memcache cross storage
catalogue
PHP introduction
1.PHP source code compilation
php Download
Software compilation
2. Configuration of PHP FPM file
3.nginx+php-fpm
4. Add memcache module in php
Software download
Build nginx cache and add memcache function module
5. Configure the php loading module openresty
Download module
&n ...
Posted by ktstowell on Wed, 13 Oct 2021 06:16:39 -0700
ZABBIX monitoring five ZABBIX monitoring case practice
1, Monitoring Linux TCP connection status
1.1 script for monitoring TCP connections
The script needs to be placed on the corresponding ZABBIX agent server
root@web1:~# vim /etc/zabbix/zabbix_agentd.conf.d/tcp_conn_plugin.sh
#!/bin/bash
tcp_conn_status(){
TCP_STAT=$1
ss -ant | awk 'NR>1 {++s[$1]} END {for(k in s) print k,s[ ...
Posted by Stathy on Mon, 11 Oct 2021 18:52:09 -0700
Nginx supports https access (change the web address from http to https access, and add ssl certificate support)
Nginx supports https access (change the web address from http to https access)
Note: after the development of the applet phase I is completed, when it is about to go online, the wechat applet prompts that you can only use https to complete online access, and then you need to modify your nginx configuration.
https certificate is required first ...
Posted by zalath on Sun, 10 Oct 2021 19:10:21 -0700
Nginx profiles and virtual hosts
catalogue
1, Configuration file
1. Access statistics
2. Customer based access control
2, Virtual host
1. Domain name based virtual web host
Configuration steps:
2. Port based virtual web host
Configuration steps:
3. ip based virtual web host
Configuration steps:
summary
1, Configuration file
1. Access statistics
You can also map ...
Posted by lakshmiyb on Fri, 08 Oct 2021 02:11:56 -0700
Installation of Mysql Ncaos Nginx image
Install MySql database
1. Search the mysql image on hub.docker.com 2. Pull the specified version of mysql. You can also specify the pull version, for example:
docker pull mysql:8.0.23
3. Check mysql image
docker images
4. Start and run mysql image (docker run is used to start a container)
sudo docker run -p 3306:3306 --name mysql \
-v ...
Posted by creet0n on Thu, 07 Oct 2021 16:42:21 -0700
Client load balancing Ribbon
What is the Ribbon in Spring Cloud?
We usually say that load balancing means that a request is evenly distributed to different node units for execution. Load balancing is divided into hardware load balancing and software load balancing;
Hardware load balancing: such as F5, Shenxin, Array, etc;
Software load balancing: such as Nginx, LVS, HAP ...
Posted by boiy on Wed, 06 Oct 2021 14:38:03 -0700
First meeting Nginx website service
catalogue
preface
1, Introduction to Nginx
2, Install Nginx service
1. Environmental preparation
2. Install dependent packages
3. Compile and install Nginx
4. Check, enable and add system management
5. Add nginx system service
2, Understanding Nginx profiles
conf file
nginx.conf main configuration file
3, ...
Posted by andymoo on Tue, 05 Oct 2021 17:54:24 -0700
Nginx -- nginx module
preface
Nginx module is a great advantage of nginx compared with apache. The module can provide more functions for nginx to meet the daily needs of operation and maintenance. When there are some requirements, we just need to compile a new module and restart nginx.
1, Common nginx web modules
1. Random Homepage_ index_ module
(1)mkd ...
Posted by qteks200 on Thu, 30 Sep 2021 15:53:46 -0700
Summary of Li Chi's Knowledge in September 2021
This paper is a summary of knowledge for September 221.
R&D Coding
C / C++
None.
golang
Several passages related to time conversion:
exTime := "20210901"
mytime, _ := time.Parse("20060102", exTime)
fmt.Println(mytime.UTC().Unix(), mytime.Local().Unix())
// Convert in local time format
mytime, _ = time.ParseI ...
Posted by benrussell on Thu, 30 Sep 2021 12:41:57 -0700