Which keys of SSH

Known Host Keys Prevent man in the middle attacks. https://www.ssh.com/ssh/host-key#known-host-keys SSH clients store host keys for hosts they have ever connected to. These stored host keys are called known host keys, and the collection is often called known hosts. In OpenSSH, the collection of known host keys is stored in /etc/ssh/known_ ...

Posted by ravira on Fri, 10 Apr 2020 16:57:03 +0200

Solve Bug Path - dubbo apps cannot reconnect zookeeper

Preface Dubbo is a mature and widely used framework.Rao is such that in some extreme cases dubbo-based applications will also have the problem of not being able to reconnect zookeeper.Because this problem is easy to cause relatively large failures, the author has spent a lot of time to locate, and now will write a blog to share the investigatio ...

Posted by rschneid on Tue, 07 Apr 2020 05:02:01 +0200

How to use TCP Wrappers to protect MySQL from service interruption

By Ananias Tsalouchidis Translated by: Meng Wei Original text: https://www.percona.com/blog/2020/01/07/how-securing-mysql-with-tcp-wrappers-can-cause-an-outage/ case Protecting MySQL is always a challenge. There are general best practices for installing reinforcement, but the more complex your settings are, the more likely you are to encou ...

Posted by Solarpitch on Tue, 18 Feb 2020 11:08:40 +0100

Use nmcli to configure link aggregation (team port binding) in active and standby mode

Now let's configure the network card binding in CentOS 7 and run the ip link command to view the available network cards [root@localhost ~]# ip link 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:0 ...

Posted by Bomas on Mon, 17 Feb 2020 06:52:07 +0100

Centos6 install openvpn use easy-rsa 3.0 certificate authentication

  Install openvpn yum install -y epel-release yum install -y openvpn easy-rsa openssl openssl-devel lzo lzo-devel pam pam-devel automake pkgconfig After the above command is executed, there will be a directory of / etc/openvpn, where we usually put configuration files. 1. View the openvpn version: [root@openvpn ~]# openvpn --version |h ...

Posted by LordMalek on Sun, 02 Feb 2020 08:50:48 +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

The implementation of Okhttp multi network communication

In recent project requirements, android needs to be able to access the internal and external networks at the same time, that is, different communications go through different networks, and it is feasible to check relevant information, but certain conditions are required 1. Prerequisites: 1) android system version on the cont ...

Posted by jordan00 on Wed, 01 Jan 2020 10:22:38 +0100

prometheus monitoring port

In daily monitoring, health monitoring is very important for services. Most of its monitoring methods are to monitor service ports and service processes, usually only one of them needs to be monitored. blackbox_exporter is one of the official exporters of Prometheus, which can provide monitoring data collection of http, dns, tcp and icmp Blac ...

Posted by love_php on Thu, 26 Dec 2019 17:43:47 +0100

Tencent cloud tke container service adjusts kubelet working directory

Tencent cloud uses the system disk as the default kubelet working directory in / var/lib/kubelet. The system disk is generally not large enough and inconvenient for expansion, so you need to modify the kubelet working directory. The general process is as follows: Preparation Expulsion node Modify configuration Restart service Unseali ...

Posted by Z3RO21 on Mon, 23 Dec 2019 15:06:56 +0100

Spring Cloud Alibaba:Nacos Used as Registry and Configuration Center

SpringBoot e-commerce project mall (20k+star) address: https://github.com/macrozheng/mall abstract Spring Cloud Alibaba is dedicated to providing one-stop solutions for microservice development. As one of its core components, Nacos can be used as a registry and configuration center. The usage of Nacos is described in detail in this article. In ...

Posted by nicephotog on Sat, 07 Dec 2019 10:57:33 +0100