Monitor the program of this machine and send alarm emails abnormally
#!/bin/bash
# Native IP
HOST=‘59.110.69.217’
# Mail service address
URL=‘http://101.201.150.205:9527’
# Mail receiving
Monitor the program of this machine and send alarm emails abnormally
#!/bin/bash
# Native IP
HOST=‘59.110.69.217’
# Mail service address
URL=‘http://101.201.150.205:9527’
# Mail receiving
Implementing functions
1. Obsolete processing
Call and execute php in a shell script. If php cannot be completed within 300 seconds, The execution ends
2. Email sending
Send
0 View log tail -f /var/log/nginx/access.log
1.Nginx proxy configuration syntax
Syntax: proxy_pass URL;Default : —Context: location, if in location, limit_excepthttp://localhost:8000/ur
It seems that NH only gets MAX(ID) once, and then stores the value internally when inserting it for the first time, which will cause some problems when other processes insert data. Then I didn’t Ac
Hi I have a good experience in working with Cordova using Ionic Framework and some other frameworks. Personally, I am not satisfied with the performance of Ionic, so I plan to switch from Ionic to
C# Online! Chapter 3: Even C# is no exception! This is something newbies do!!
Friends who have played online games must know that the game At the beginning, novices will have something to do.
One. Theory
・HA is highly available and has been It is called hot standby.
・High availability principle: Two machines A and B. Normally, A provides services and B is idle. When A is down or the service is down, switch to B Continue to provide services and use heartbeat for communication and elections
Collect the title and link of the Baidu search result list.
$data = QueryList::get(‘https://www.baidu.com/s?wd= QueryList’)
// Set collection rules
->rules([
‘Title’=>ar
I think it is the same, but there must be many differences,
Nowadays, WiFi fills every corner of our lives
Shopping, eating, taking a car, working…
Close contact with WiFi all the time
But if this happens↓↓↓
Don’t crash, everyone