Modify the network card name in linux

How to modify the network card name in linux Use the ip add or ip link command to view the network interface details [root@centos6 ~]# ip add 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet ...

Posted on Mon, 01 Jun 2020 11:39:14 -0400 by jweissig

Python automatic operation and maintenance -- file content difference comparison

Infi-chu: http://www.cnblogs.com/Infi-chu/ Module: difflib Installation: Python version greater than or equal to 2.3 Function: compare the differences between texts, and support the output of HTML documents with strong readability, which is similar to the diff command in Linux. Difference comparison between two strings: #import difflib #text1 ...

Posted on Sun, 31 May 2020 12:51:28 -0400 by anne13

The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese code scrambling, it can be used for personal test!)

The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese scrambling) 1, Log in to MySQL to view SHOW VARIABLES LIKE 'character%'; the following character set is displayed as follows:+--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+---------- ...

Posted on Sun, 31 May 2020 01:13:44 -0400 by driverdave

Docker Builds Harbor Public Warehouse

Bowen catalog Differences between Registry and Harbor Advantages of Docker Harbor Docker Harbor Dependent Programs 1. Build Harbor Warehouse 1. Configure Docker Compose 2. Configure Docker Harbor public warehouse 3. Configure Docker Client 4. Configure Docker Harbor Private Warehouse In the last post, we talked about Registry private warehou ...

Posted on Fri, 29 May 2020 13:14:30 -0400 by Knutty

Chronyd synchronization time (Server/Client) configuration

The chronyd time server, like the previous NTP function, provides time. I'm not good at basic concepts. Cronyd was born after NTP. Recently, I downloaded the latest Centos Linux 8.1, and found that there is no ntp service in it. Baidu yisou found that it was changed to Chronyd. This article is to deploy a server + client test. 1. Server side ...

Posted on Fri, 29 May 2020 03:53:18 -0400 by valtido

Elastic search uses snapshot data migration and disaster recovery

In the face of multi cluster enterprise level complex architecture, it is very important to prepare a set of backup cluster. The backup cluster usually does not participate in reading and writing operations, but always contains all the data of the business cluster. When there is a business cluster that cannot be used, you can directly switch e ...

Posted on Thu, 28 May 2020 07:15:27 -0400 by ayzee

corosync v1 + pacemaker high availability cluster deployment resource configuration (VIP+httpd+NFS)

Experimental purpose: to deploy httpd high availability service (+ NFS) using corosync v1 + pacemaker. This experiment uses Centos 6.8 system, file system resource server, NA1 node 1, NA2 node 2, VIP192.168.94.222 Directory structure: (annoying, the layout is in a mess) 1. corosync v1 + pacemaker basic installation 2. Installation of pacemak ...

Posted on Thu, 28 May 2020 03:28:39 -0400 by noirsith

k8s deployment Flink

https://flink.apache.org/ #Flink official website This step (k8s) deployment requires a profile First copy all the configuration files of Flink to the local, and then hang the local configuration files in the POD 1.1 configuration file of jobmanager vim flink-conf.yaml Modify profile jobmanager.rpc.address: flink-jobmanager-svc jobmanage ...

Posted on Wed, 27 May 2020 11:14:00 -0400 by jviney

On the difference between SCPClient class of ganymed-ssh2 version 262 and build210

ganymed-ssh2 is a tool library that uses SSH to connect to the server through java. The previous two versions of pom file configuration are as follows: <!--ssh connect linux--> <!-- https://mvnrepository.com/artifact/ch.ethz.ganymed/ganymed-ssh2 --> <dependency> <groupId>ch.ethz.ganymed</groupId> <arti ...

Posted on Wed, 27 May 2020 10:40:53 -0400 by kharbat

Deep understanding of system calls

Experiment content: Find a system call whose system call number is the same as the last two digits of the student number [i.e. system call 97] Trigger the system call through assembly instructions Trace the kernel process of the system call through gdb Focus on the analysis of the save site, recovery site and system call return of the system ...

Posted on Wed, 27 May 2020 09:44:19 -0400 by Birmingham