zabbix add nginx, percona, java monitoring items (2)
This film is related to the blog of zabbix installation and deployment: https://blog.csdn.net/Ying_smile/article/details/81736349
Add nginx monitoring item
zabbix-agent:
[root@server6 ~]# rpm -ivh nginx-1.8.0-1.el6.ngx.x86_64.rpm
[root@server6 ~]# cd /etc/nginx/conf.d/
[root@server6 conf.d]# vim default.conf
12 loc ...
Posted by asunsha on Mon, 06 Jan 2020 00:51:17 +0100
RHEL7 configure 163yum source
1. Enter / etc/yum/repos.d / directory (where the configuration files of yum software warehouse are stored)
[root@localhost ~]# cd /etc/yum.repos.d/
2. Delete the original yum source
[root@localhost yum.repos.d]# rm -f *
3. Use vim editor to create a new configuration file (the file name is optional, but the suffix must b ...
Posted by mistjulia on Sat, 04 Jan 2020 21:08:17 +0100
mfs configuration highly available
Configure the highly available yum source on [server1] and [server4]
[root@server1 ~]# vim /etc/yum.repos.d/rhel-source.repo
[rhel-source]
name=Red Hat Enterprise Linux $releasever - $basearch - Source
baseurl=http://172.25.40.250/rhel6.5
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[HighA ...
Posted by lottos on Wed, 01 Jan 2020 11:27:23 +0100
KeepAlive + VIP configuration High Availability Presto master active / standby cluster
1, Background
This paper mainly introduces the implementation of presto with keepalive
Experimental environment: CentOS 6 64 bit
2, Experimental steps
1. Software installation
Install keepalive package
sudo yum install -y keepalived
presto deployment and configuration are omitted, assuming that the process has been ...
Posted by moriman on Mon, 30 Dec 2019 18:07:45 +0100
Installation of NVIDIA driver, CUDA and CUDNN under Linux
0. Preface
Recently, I am learning how to install and use PaddlePaddle in various video card driver versions, so I am also learning how to install and uninstall CUDA and CUDNN in Ubuntu. During the learning process, I will record the learning process by the way. At the same time, we are strengthening our memory. This paper takes the unloading C ...
Posted by nicx on Sun, 29 Dec 2019 13:01:59 +0100
Rsync server configuration - simulate IDC cross machine room backup
Rsync server configuration - simulate IDC cross machine room backup
IP
role
user
192.168.1.4
aaa server (public cloud)
root
192.168.1.5
bbb client
root
192.168.1.6
ccc client
root
Preparation for aaa server (public cloud)
//Create a backup directory, preferably a separate disk
[root@aaa-server /]# mkdir /backup ...
Posted by karimali831 on Mon, 23 Dec 2019 18:31:46 +0100
Centos6 installation CDH5.15.1 most detailed Version-1
Here are the three virtual machines installed before, as follows:
192.168.201.81 hadoop-1
192.168.201.82 hadoop-2
192.168.201.83 hadoop-3
preparation:
Configure static IP
vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
HWADDR=00:0C:29:AF:65:27
TYPE=Ethernet
UUID=269569e1-f888-4f73-b2f7-7af45225b572
ONBOOT=yes
NM_CONT ...
Posted by delphi123 on Sun, 22 Dec 2019 22:57:07 +0100
Acquisition and debugging of Ptcms under php7.2.10
1. Error report of chapter and catalog after re collection October 3, 2018
Warning: Invalid argument supplied for foreach() in /usr/share/wwwphp/ptcms/application/novelsearch/model/novelsearch_chapter.php on line 326
vim /usr/share/wwwphp/ptcms/application/novelsearch/model/novelsearch_chapter.php
public function getolist($zy ...
Posted by jrdiller on Fri, 20 Dec 2019 19:35:14 +0100
sshd service in linux
sshd service
1. Introduction to sshd
sshd= secure shell
A service that can boot the shell in the host through the network
Client software < c-f9 >
sshd
Connection mode:
ssh username@ip ##Links to text patterns
ssh -X username@ip ##You can turn on the graphics after the link is successful
Note:
The first ...
Posted by st0rmer on Tue, 17 Dec 2019 22:30:57 +0100
ubuntu 16.04 configuring the YouCompleteme plug-in
This thing has been killing me for several days, and it has worked out. It's not bad. I'm here to record my method and hope to help the people behind me.
1. Delete the original vim package
sudo apt-get remove --purge vim vim-runtime vim-gnome vim-tiny vim-common vim-gui-common
2. Installation dependency
vim dependence
sudo ...
Posted by djot on Sun, 15 Dec 2019 21:18:34 +0100