Linux network client tools

ping command Send echo request of ICMP Protocol to target host Common options: Send ICMP:-I INTERFACE from the specified local interface There are multiple interfaces (network cards) in this machine. You can choose which interface to send from: - i (capital i) The interface enp0s3 is the local intranet ip; the interface enp0s8 is the nat ip a ...

Posted on Wed, 19 Feb 2020 22:44:43 -0500 by srikanth03565

Deploy Maven and Nexus

Blog Outline:1. Introduction to Maven1) Maven's functions:2) Maven usage scenarios (from a maintenance perspective):3) Maven WarehouseII. Deployment of Maven1) Configure the jdk environment2) Deploy Maven3. Deploy Nexus Private Service1) Introduction to Nexus2) Deploy Nexus4. Maven configures nexus private services and sets up cost-effective ...

Posted on Wed, 19 Feb 2020 14:52:04 -0500 by hejgelato

Building LNMP Architecture Based on centos 7

We all know that the LAMP platform is the most widely used web server architecture, of which "A" corresponds to Apache, a web service software. However, over time, more and more enterprises begin to use Nginx as a black horse, and LNMP or LEMP architecture has also been favored by more and more Lions.If you are idle, write about the ...

Posted on Wed, 19 Feb 2020 13:14:45 -0500 by gyoung

The function of uploading and compressing pictures implemented by Java [equal proportion compression or original size compression]

The example of this paper describes the function of uploading and compressing pictures in Java. To share with you for your reference, as follows: First look at the effect: Original: 1.33M   After treatment: 27.4kb   Key code: package codeGenerate.util; import java.awt.Color; import java.awt.Graphics2D; import java.awt.Image; import java.awt. ...

Posted on Wed, 19 Feb 2020 13:01:56 -0500 by snapy

ZABBIX docking flight book for alarm notification

Flybook provides a rich api for message notification, including text messages, picture messages, rich text messages. This introduction uses Flybook api to send text messages, the following is the implementation ideasFlying Book API address: https://open.feishu.cn/document/ukTMukTMukTM/uITNz4iM1MjLyUzM Ideas for implementation 1. Three authoriz ...

Posted on Wed, 19 Feb 2020 12:25:15 -0500 by moe

Illustration of kubernetes resource QOS mechanism implementation principle

QOS is a resource protection mechanism in k8s, which is mainly a control technology for uncompressed resources such as memory. For example, in memory, it constructs OOM scores for different pods and containers, and with the help of the kernel's strategy, so that when the node's memory resources are insufficient, the kernel can kill which priori ...

Posted on Wed, 19 Feb 2020 10:21:13 -0500 by mandrews81

Redis design and implementation note Chapter 11 AOF persistence

AOF persistence APPEND ONLY FILE AOF persistence Compared with RDB persistence, when RDB initiates initialization, all objects in the current database will be persisted once. Even if there is such a saving method as BGSAVE command, certain resources will be occupied when saving. And most of the data m ...

Posted on Wed, 19 Feb 2020 08:15:08 -0500 by runsum

Compression and decompression command in linux

Catalog gzip gunzip Tar (pack compression) Tar (unpack) zip unzip bzip2 bunzip2 gzip explain Command name: gzip English original meaning of command: GUN zip Command path: / bin/gzip Execute permission: all users Function Description: compressed file grammar #Compressed file format.gz gzip [file] Example # Compressed file gzip /tmp/serv ...

Posted on Wed, 19 Feb 2020 08:05:43 -0500 by Zallus

k8s Expired Certificate Solution

Introduction to the environment: #centos7.7 #kubernetes 1.16.0 #Step 1: View the certificate expiration date (one year validity period) openssl x509 -in /etc/kubernetes/pki/apiserver.crt -noout -text |grep ' Not '             Not Before: May 24 03:31:50 2019 GMT             Not After : May 23 03:31:50 2020 GMT #Step 2: Download 1.16.0 source ...

Posted on Tue, 18 Feb 2020 12:05:10 -0500 by Dirtbagz89

Text Processing Tool uniq Reduplication and sort

The uniq command deletes duplicate lines from the file.The uniq command reads the standard input or file specified by the InFile parameter.The command first compares adjacent rows, then removes the second row and subsequent copies of that row. Usage: uniq [options]...(input [output]]Filter adjacent matching rows from the input (or standard inp ...

Posted on Tue, 18 Feb 2020 11:30:49 -0500 by amar3d