In the front: This article is a pure toss, because Lao Zuo saw a foreign LOG in the afternoon IO is a tool that can be used to monitor the running environment of Linux VPS, but it is recommended that ordinary users do not bother about it. We can use it to bother about the original environment. In a normal website environment, we can use online tools such as Alibaba Cloud Monitoring, Baidu Cloud Watch, 360 Website Guard to monitor the website transfer. Monitoring installed in VPS is rarely used.
In this article, Triumph uses the CENTOS7 environment to install LOG The method of IO toolkit is said to be very powerful.
First, install and start the EPEL software library
yum install http://mirror.us.leaseweb.net/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
After installation, we will start the installation
yum repolist
Second, update the CENTOS system source
yum update
Third, install NODE JS
yum install nodejs npm
Because LOG IO is based on NODE JS environment, so we need to install it.
npm install -g log.io --user "root"
Execute the installation LOG IO
Fourth, configuration environment
cd ~/.log.io/
We need to get the corresponding LOG IO directory, and then configure the following three environments.
harvester.conf
log_server.conf
web_server.conf
We can set our own monitoring in the above three system files, which can be edited directly with VI.
log.io-server &
log.io-harvester &
Start.
Finally, log in to the monitoring software
http://VPS Host IP address: 28778/
We can directly monitor and see the interface here.
To sum up, Lao Zuo personally believes that LOG is still relatively complex. It is unnecessary for us to use LOG basically. If we can install software in VPS less, we can install it less. For simple monitoring, we can use common online tools.
Scan the code to follow the official account
Get more news about webmaster circle!
Entrepreneurship, operation and new knowledge