MiniNet -- use iperf tool to test bandwidth
Use iperf The tool tests the bandwidth between H1 and H2 for basic performance evaluation.
Experimental environment:
CentOS7 minimize installation, Mininet 2.2.2
Ubuntu or CentOS with a graphical desktop is recommended for viewing output
Steps:
1. To install the iperf command, please refer to Install Iperf under CentOS 7
We use ...
Added by hailam on Mon, 23 Dec 2019 17:30:47 +0200
KVM virtualization basic deployment
KVM virtual machine:
1.KVM is the abbreviation of kernel based virtual machine. It is an open source system virtualization module. It has been integrated into various major Linux distributions since Linux 2.6.20. It uses Linux's own scheduler for management, so compared with Xen, its core source code is very few. KVM has become one of the mai ...
Added by crackfox on Mon, 23 Dec 2019 12:46:34 +0200
Example using crash to analyze Kdump dump kernel crash kernel
Sometimes, when the system is running, there is a sudden crash, but we have to find out the cause. Although we can solve the current problem through the temporary protection mechanism watchdog, but to find the cause of the crash, we have to rely on the special tool Kdump for kernel analysis. Although I don't understand the Linux kernel, I can f ...
Added by rivasivan on Fri, 20 Dec 2019 15:09:16 +0200
Redis 4.0.9 cluster expansion
I. Experimental Environment
1. System version: Centos 7.6 x86 64
2. Redis version 4.0.9
3. Cluster IP information
172.16.100.201 172.16.100.202 172.16.100.203
4. IP information ready to join the cluster
172.16.100.204 172.16.100.205 172.16.100.206
5, purpose
Expand the 3 primary and 3 secondary nodes of Redis cluster to 6 primary and ...
Added by kyin on Tue, 10 Dec 2019 20:29:22 +0200
Work common view block device command lsblk details
The lsblk command can list information about all available block devices, such as logical disks, while df -h looks at file system level information. Lsblk command is included in util Linux package. Install util Linux package from yum, and util Linux contains multiple command tools.
[root@localhost ~]# df -h
Filesystem Size Used ...
Added by trukfixer on Sat, 07 Dec 2019 09:03:59 +0200
CPU utility
System version: CentOS 7.4
top
17:49:04 // current time
up 3: 55 // System running time, format: minute
2 users // Number of currently logged in users
load average // The three values are the system load in 1 minute, 5 minutes and 15 minutes respectively
Tasks // Total process
running // Number of running proces ...
Added by arbitter on Thu, 05 Dec 2019 22:49:33 +0200
Docker creates Mysql container
1. Start docker service
[root@docker ~]# systemctl start docker
2. View the image in docker
[root@docker ~]# docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
centos/mysql-57-centos7 latest 2e4ddfafaa6f 6 months ago 445MB
gogs/gogs ...
Added by AceOfJames on Wed, 04 Dec 2019 22:48:48 +0200
CentOS 7 upgrades the latest kernel
View kernel
uname -r
Set kernel source
Mainly http://elrepo.org/tiki/tiki-index.php
The ELRepo warehouse is a community-based Enterprise Linux warehouse that provides support for Red Hat Enterprise (RHEL) and other RHEL based Linux distributions (CentOS, Scientific, Fedora, etc.).
ELRepo focuses on software packages related ...
Added by teamshultz on Tue, 03 Dec 2019 19:39:30 +0200
CentOS7 network card configuration
View IP information
After CentOS is installed, view the ip information through the ip addr command
[root@localhost yum.repos.d]# ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft f ...
Added by Arnold_26 on Sun, 01 Dec 2019 06:10:27 +0200
Configuring RabbitMQ 3.6.3 cluster and high availability on CentOS7
Overview of clusters
RabbitMQ cluster is implemented through Erlang's distributed feature (magic cookie authentication node). Each RabbitMQ service is peer-to-peer node, that is, each node provides services to the client to connect, send and receive messages.
These nodes replicate message queue structure through RabbitMQ HA queue (mi ...
Added by duckula on Wed, 20 Nov 2019 17:49:57 +0200