ELK 7.X Use kiana's built-in analysis module to display icon problem records
Built a set of elk by myself 7.x Version environment found that using filebeat to collect nginx or apapche could not customize the directory log directory. If you customize the log directory, it would not be segmented. If you use the default log location, it would be segmented
The solution is hereby recorded
Default load path
[root@kangcw e ...
Posted by phithe on Mon, 18 May 2020 09:03:04 -0700
Install single node Redis
Forward link http://www.python3.vip/tut/webdev/django/17/
Installing Redis on Linux
It is recommended to compile and install the source code, so that you can freely choose the Redis version to install.
For example, on centos 7, log in as root and execute the following commands to download, decompress, compile and install
wget http://downl ...
Posted by Hepp on Sun, 17 May 2020 03:31:23 -0700
CentOS7 -- Kickstart + PXE for unattended batch installation configuration
What is Kickstart Installations?
Kickstart Installations for unattended automatic installation
Kickstart files, which are ready before installation, can be used to automatically perform the installation. It can be saved on a single server system and supports one to many: that is, a single file installs CentOS on multiple computers
All Kickst ...
Posted by w.geoghegan on Wed, 13 May 2020 03:41:01 -0700
Building a high black box monitoring platform
Summary
In the monitoring system, we usually divide the monitoring into white box monitoring and black box monitoring
Black box monitoring: the main concern is generally what is happening. For example, when an alarm occurs and the service interface is abnormal, this monitoring is the monitoring that can be seen from the user's point of view, ...
Posted by ShaolinF on Wed, 06 May 2020 02:55:43 -0700
python object oriented
1, Classes and objects
Class is the reflection of the entity of the real world or the thinking world in the computer
It encapsulates data and operations on it
Compare a class to a template, through which many objects can be generated
2, Constructor
$ vim s3.py
class Student():
name = ''
age = 0
def do_homew ...
Posted by kennethl on Tue, 05 May 2020 12:39:56 -0700
Binary installation of mysql installation
Download the tar of mysql binary installation file, and place the GZ package in / usr/local /
Run script file
#!/bin/bash
function Cuser
{
groupadd -g 27 -o -r mysql
useradd -M -N -g mysql -o -r -d /usr/local/mysql/data -s /bin/false -c "MySQL Server" -u 27 mysql
}
function file-tar
{
cd /usr/local/ ...
Posted by Jay87 on Wed, 29 Apr 2020 08:59:44 -0700
How to specify the use of CEPH fuse in k8s
Originally, I wanted to use CEPH fuse, but as a result, I always reported mount can't read super Block error, but I only installed the rpm package of CEPH fuse for the host. kublet is actually using the kernel mount mode to mount cephfs. This is a mistake that can't be repeated. But how to specify kubelet to use CEPH fuse to mount cephfs? I goo ...
Posted by wattsup88 on Sun, 26 Apr 2020 09:26:03 -0700
Integrating Spring Data ElasticSearch
1. Overview
Spring Data ElasticSearch simplifies native ElasticSearch
Characteristic:
Based on the @ Configuration configuration, as long as it is configured in the yml file, it can be used in the project.
Tool class ElasticsearchTemplate ES template, similar to general mapper, operates ES through object
Provides a Repository for th ...
Posted by Svoboda on Mon, 13 Apr 2020 21:14:09 -0700
rabbitmq cluster deployment
0x00 introduction to rabbimq
RabbiMQ is developed with Erlang, which is very convenient for clustering. Erlang is a distributed language by nature, but it does not support load balancing.
RabbiMQ mode
RabbitMQ mode can be roughly divided into the following three types:
(1) the first mock exam.
(2) Normal mode (the default cluster mode).
(3) Mi ...
Posted by Salis on Tue, 07 Apr 2020 08:32:02 -0700
Analysis of kafka partition failure
No matter which partition mode is adopted before, it cannot be partitioned
The producer partition's divider partition selection determines which partition to send messages to when multiple partitions exist
sarama has multiple dividers:
sarama.NewManualPartitioner() //Returns a manually selected partition divider, that is, to get the 'partition' ...
Posted by 1veedo on Mon, 06 Apr 2020 07:17:02 -0700