Nginx adds echo module to print logs according to request rules in nginx
Tip: all operations are completed under the root user.
Nginx is already installed. If not, please install nginx first, yum install nginx -y
Dependencies required to install compiled modules
yum install gcc -y
yum install pcre-devel openssl-devel -y
Posted on Wed, 13 Nov 2019 13:47:41 -0500 by Pasa Mike
This article is reproduced and the copyright is owned by the author.For commercial reprinting, please contact the author for authorization. For non-commercial reprinting, please indicate the source.
Author: Song Baohua
Source: WeChat Public Number linux Reading Yard (id: linuxdev)
Introduction to Ftrace
Ftrace is one of the most effective too ...
Posted on Thu, 07 Nov 2019 13:35:03 -0500 by flaab
I. connect wsl to X server
No need to install the desktop, just install xterm to test:
sudo apt install xterm
When installing Xming in win10, it's OK by default. It's better to have Xming fonts (in the same directory). My installation is Xming-6-9-0-31-setup.exe+Xming-fonts-7-5-0-47-setup.exe
Start Xming to execute xterm in wsl
Posted on Sun, 03 Nov 2019 10:16:30 -0500 by bazza84
In the process of learning MQTT, the following contents help me
https://www.runoob.com/w3cnote/mqtt-intro.html is a basic introduction to MQTT
Https://mosquito.org/api/files/mosquito-h.html this website records almost all the mosquito interfaces you want to know. They all have function profiles. Maybe they can't see any points. Look at the deta ...
Posted on Wed, 16 Oct 2019 06:43:44 -0400 by zoooj
flutter can build cross-platform multi-terminal applications. Just when the application needs a desktop version, try the legendary seamless migration.
However, there was a big problem at the beginning: Shared Preferences, which is commonly used on the mobile side, is implemented on the desktop only by macOS! Although sharing_preferences: ^ 0.5 ...
Posted on Sun, 06 Oct 2019 06:04:19 -0400 by hasin
Dashboard is a general Web-based UI for Kubernetes clusters. It allows users to manage applications running in a cluster and troubleshoot them, as well as manage the cluster itself.
## Installation steps
Decompression source package
Modify configuration files
Create dashboard containers
Create Service ...
Posted on Fri, 04 Oct 2019 07:14:40 -0400 by sholah
First, the simplest Makefile
test : a.o b.o
gcc -o test a.o b.o
a.o : a.c
gcc -c -o a.o a.c
b.o : b.c
gcc -c -o b.o b.c
To generate test dependencies a.o.b.o
a.o generation depends on a.c.
gcc -c -o a.o a.c
b.o generation depends on b.c.
gcc -c -o b.o b.c
2. Simple Makefile grammar
Any c file can be matched
$@: Rep ...
Posted on Thu, 03 Oct 2019 04:59:29 -0400 by hypuk
Qt4.7 application is transplanted to iTOP 4412 board. First, look at the result chart.
It is divided into four parts: main window led ADC buzzer led. Each part contains a. cpp. H. ui. For resource files, you can also learn from me to make a classification.
Design of Main Window
Posted on Tue, 01 Oct 2019 14:30:49 -0400 by fqservers
Environment tools: Centos 7.2, vim/gcc/g++/gdb/makefile/git
Project Description: In the same LAN, users use this tool to download files they share with each other.
Main process: client/server integration:
1. Set up HTTP server and separate the server from the client.
2. Host pairing, listing ...
Posted on Tue, 01 Oct 2019 03:09:46 -0400 by tail
System: macOS Mojave 10.14.6
CMake: Version 3.15.0-rc4
Start with Hello,World!
(1) Create a new hello directory, create files CMakeLists.txt, main.cpp
$ mkdir hello
$ cd hello
$ touch CMakeLists.txt main.cpp
-rw-r--r-- 1 staff staff 124B 8 14 17:19 CMakeLists.txt
-rw-r--r--@ 1 staff staff 145B 8 14 21:33 main.cp ...
Posted on Tue, 01 Oct 2019 02:55:33 -0400 by vargefaret