Deploy Zabbix monitoring software
Monitoring is very important for operations and maintenance, which can be called the eyes of operations and maintenance personnel.A good monitoring system can help operators quickly find the root cause of the problem, reduce downtime, and improve the speed of troubleshooting.It can be seen from this that, as an operation and maintenance person ...
Posted by neverett on Tue, 07 Jan 2020 16:12:30 -0800
Build lnmp+wordpress environment
Question Summary
Nginx section
Essential Library
yum install -y wget vim gcc gcc-c++ zlib-devel pcre-devel openssl-devel
Compile Options
./configure --with-http_stub_status_module --prefix=/data/wwwroot/nginx-1.17.1 --user=www --group=www --with-http_ssl_module
Matters needing attention
To be added
start-up
.../sbin/nginx
Common Errors
To be a ...
Posted by trink on Mon, 06 Jan 2020 14:30:06 -0800
WeChat public number token has been verified successfully, but automatic response is not responding.
WeChat public number token has been verified successfully, but automatic response is not responding.
WeChat public number token has been verified successfully, but automatic response is not responding.
WeChat public number token has been verified successfully, but automatic response is not responding.
Start with the code and ...
Posted by dirkbonenkamp on Mon, 06 Jan 2020 04:51:53 -0800
PHP export data to table instance
I found that there are many pages to export excel table for recent projects. I think this is also our common function. Now I can export it skillfully, but I remember that when I first exported it, there were some detours, so now I will record my export under the project of exhop framework (in fact, the export principles of Excel under different ...
Posted by MeanMrMustard on Mon, 06 Jan 2020 02:33:29 -0800
Use the array search function of php with caution
Array search is an array function that is frequently used by phper, but array search is also a function that is often abused. For example, in the following business scenario, you need to count the same elements in two large arrays (well, yes, there is an array intersect function that can do this, but this does not prevent us from talking about ...
Posted by grayscale2005. on Sun, 05 Jan 2020 23:01:49 -0800
nginx jump with parameters
//Original link: https://www.baidu.com/benefit_detail?slug=bankofchina-20170320
//Target link: https://www.test.cn/boc
location ~ /benefit_detail {
if ($args ~* "slug=bankofchina-20170320") {
rewrite ^/benefit_detail /boc? permanent;
}
try_files $uri $uri/ /index.php?$query_string;
}
Common jump ca ...
Posted by dingus on Sun, 05 Jan 2020 18:42:22 -0800
The division of Fibonacci
Links: http://acm.nefu.edu.cn/JudgeOnline/problemShow.php?problem_id=115
Originally, this is a problem, but we can extract methods from it.
Analysis and understanding of the topic:
1. For the problem, the data range of n is given: 1 < n < 1 000 000 000 000 violent solution, plus multiple sets of data, it is obvious tha ...
Posted by Double_M on Sun, 05 Jan 2020 17:49:35 -0800
CentOS7.5 install PHP7.3 using yum
1. Install php
Current system environment
[root@localhost ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@localhost ~]# uname -sr
Linux 4.16.11-1.el7.elrepo.x86_64
Install yum source
php 7 has two yum sources to choose from, one is webmatic and the other is remi.
Add webmatic source (not accessib ...
Posted by freddykhalid on Sun, 05 Jan 2020 13:12:07 -0800
Nginx Core Configuration Details
1 Global Configuration
user nginx nginx; # Users and groups that initiate the nginx worker process, defaulting to nobody
worker_processes auto; # Number of nginx worker processes started, default 1
worker_cpu_affinity 0001 0010 0100 1000; #Binding Nginx_as a process to the specified CPU core, the default Nginx is not to bind to the process. Bi ...
Posted by soldbychris on Sun, 05 Jan 2020 05:47:49 -0800
How do I push modified submissions to a remote Git repository?
When I work with my source code, I do my usual submissions and push them to a remote repository.But then I noticed that I forgot to organize my imports in the source code.So I made a modification command to replace my previous submission:
> git commit --amend
Unfortunately, submissions cannot be pushed back to the repository.This was r ...
Posted by shah on Sun, 05 Jan 2020 04:33:51 -0800