Log file analysis

log file Log function : It is used to record various events during the operation of the system and program By reading the log, it is helpful to diagnose and solve system faults Classification of log files Kernel and system log = =: managed by the system service syslog system. The log format is basically similar to the configuration fi ...

Posted by ladams02 on Sat, 27 Nov 2021 23:04:17 -0800

Linux 12 enterprise practice -- 12ubuntu deploying K8s cluster

0. Architecture diagram 1. Network and system settings 1.1 /etc/profile agent sudo vi /etc/profile Comment out the following agent configuration source /etc/profile 1.2 wget agent sudo vi /etc/wgetrc 1.3 clearing environment variables env | grep -i proxy unset HTTPS_PROXY unset HTTP_PROXY unset FTP_PROXY unset https_prox ...

Posted by chrispos on Sat, 27 Nov 2021 20:57:57 -0800

Linux file system and log analysis (more content, take your time)

catalogue 1, Linux file system 1. inode and block overview 1.1 block 1.2 inode (index node) 1.3 inode contains the meta information of the file 1.4 three main time attributes of Linux system files 1.5 when the user opens a file through the file name, the internal process of the system 1.6 method of viewing inode number   1.7 str ...

Posted by lorri on Sat, 27 Nov 2021 20:00:14 -0800

CentOS 7 builds k8s cluster v1.22.4

CentOS 7 builds k8s clusters Environmental Science: iphost namerole192.168.25.133k8s01master192.168.25.134k8s02slave192.168.25.135k8s03slave Install the necessary software yum install -y net-tools.x86_64 wget yum-utils Configure hosts cat >> /etc/hosts << EOF 192.168.25.133 k8s01 192.168.25.134 k8s02 192.168.25.135 k8s03 EOF ...

Posted by rohithmr on Sat, 27 Nov 2021 10:25:39 -0800

Manjaro Linux Getting Started tutorial

Alicloud official image station:https://developer.aliyun.com/mirror/?utm_content=g_1000303593Introduction: Manjaro is a free and open source distribution based on arch Linux. It absorbs the excellent and rich software management of arch Linux and provides a stable and smooth operation experience.1, Manjaro first experienceManjaro is a free and ...

Posted by HNX on Fri, 26 Nov 2021 14:41:44 -0800

JMH quick start

Introduction to JMH JMH is a tool set dedicated to code micro benchmarking. JMH is developed by the team implementing Java virtual machine. Since the JVM has become more and more intelligent, it may be optimized to varying degrees in the compilation stage, class loading stage and running stage of java files, so the code written by developers ...

Posted by Uranium-235 on Fri, 26 Nov 2021 13:16:52 -0800

Spring Data JPA - property details

Recently, I checked a spring data jpa problem. In fact, it can not be regarded as a framework level problem, but rather a configuration problem; Because spring data jpa has not been used before (more mybatis or self-developed orm components), it is expected to record the configuration of spring data jpa through this article. Starting from the ...

Posted by umer on Fri, 26 Nov 2021 13:09:54 -0800

Configuring MySQL master-slave replication based on docker

Master slave replication working principle Master slave replication is a high availability and high performance solution provided by MySQL. The working principle is divided into the following three steps: 1. The master records the data changes in * * binlog * *. 2. The I/O thread from the slave saves the binary log read from the master lib ...

Posted by jay_bo on Fri, 26 Nov 2021 12:30:43 -0800

Weekly leetcode - 5/NC17/121/122/123/112/309/714/2/415

leetcode - 5. Longest palindrome substring Give you a string s and find the longest palindrome substring in S. Example 1: Input: s = "babad" Output:"bab" Explanation:"aba" The same answer is in line with the meaning of the question. Example 2: Input: s = "cbbd" Output:"bb" Example 3: Input: s = "a" Output:"a" Example 4: Input: s = "ac" ...

Posted by ripcurlksm on Fri, 26 Nov 2021 12:07:01 -0800

Java 8 | how to initialize Map & List2Map gracefully

The great Java 18 is coming out soon, and we may not be familiar with the core Lambda usage of Java 8. This article shares several tips for operating Map in the development process on Stream technology. After reading this article, I believe you will have a new understanding of Stream. 1, Gracefully initialize a Map Before looking down, firs ...

Posted by cuteflower on Fri, 26 Nov 2021 08:43:41 -0800