LVS load balancing cluster (Theory + experiment)
Article directory
Preface:
1, Overview of enterprise cluster application
1.1 basic overview of cluster
1.2 enterprise cluster classification
1.3 analysis of load balancing cluster working mode
1.3.1 NAT mode
1.3.2 TUN mode
IP Tunnel
1.3.3 DR mode
1.4 load balancing cluster architecture
1.53 about ...
Added by faraway on Wed, 15 Jan 2020 12:23:01 +0200
Advanced operation of Linux directory and file
Bowen catalogue
1, Linux directory structure
2, Linux view file content basic command
3, Compress and decompress files
4, vi text editor
1, Linux directory structure
Linux directory structure adopts tree structure, including root directory and subdirectory.
1. Root directory
The location starting point of all partitions, directories, files, ...
Added by JeremyMorgan on Tue, 14 Jan 2020 09:13:29 +0200
Expand the centos image of vagrant to 800G
The default capacity of vagrant CentOS 7.2 box is only 8G
8G?!
What can be done? This capacity will be full in a few weeks. Maybe it's for the sake of portability, but as a developer who wants to build various development environments on vagrant, the capacity of 8G can only make vagrant a chicken.
Fortunately, there are gods on the ...
Added by BlaineSch on Fri, 10 Jan 2020 19:19:07 +0200
linux startup management
1, centos6 start management
1.1 significance of operation level
1.2 view operation level
[root@localhost log]# runlevel
3 5 //It means 5 at present, 3 before. If it's N, it means direct power on to enter 5
1.3. Set the default startup operation level
[root@localhost log]# vim /etc/inittab
2, S ...
Added by Katanius on Mon, 06 Jan 2020 19:34:06 +0200
Rsync backup service deployment
Rsync full network backup
===========Operation and maintenance Road
-The environment is as follows
# Server IP: 10.0.0.100
# Client IP: 10.0.0.101
[root@Centos ~]# cat /etc/redhat-release
CentOS Linux release 7.5.1804 (Core)
[root@Centos ~]# systemctl status firewalld.service
● firewalld.service - firewalld - dynamic fi ...
Added by mgelinas on Sun, 05 Jan 2020 17:24:10 +0200
Docker installation and deployment
1, Install docker
Environment: YUM source for rhel7.3
[root@18 docker]# yum install docker-engine-17.03.1.ce-1.el7.centos.x86_64.rpm -y
[root@18 docker]# yum install docker-engine-selinux-17.03.1.ce-1.el7.centos.noarch.rpm -y
[root@18 docker]# systemctl start docker.service
##View docker version
[root@18 docker]# docke ...
Added by alconebay on Wed, 01 Jan 2020 03:48:56 +0200
REDHAT 7 local source and yum network source configuration
Local yum source configuration
In our newly installed REDHAT 7 system, there is no configuration source. In order to save space and improve the operation efficiency, many packages are not installed. When we find that there are missing packages, we need to install them by ourselves. The installation needs to use the yum source. ...
Added by sledge4 on Tue, 31 Dec 2019 17:35:47 +0200
Docker installation, image usage and some simple docker instructions
Docker is an open-source application container engine, which allows developers to package their applications and dependency packages into a portable container, and then publish them to any popular Linux machine. It can also realize virtualization. The container uses the sandbox mechanism completely, and there is no interface ...
Added by ramas on Tue, 31 Dec 2019 15:14:51 +0200
Docker basic control commands (resource control, data volume and data volume container, image creation, port mapping, private warehouse)
1, Resource control
1. CPU usage control
Limit the maximum number of containers created by this image to 10% of the total resources
docker run --cpu-quota 10000 centos
2. Prorated distribution
Create two containers, c1 and c2. If there are only two containers, set the weight of the container so that the CPU resources of c1 and c2 account for 3 ...
Added by burtybob on Sun, 29 Dec 2019 18:04:27 +0200
centos7 modify yum source
Modify the default yum source of CentOS to mirrors.163.com
1. First, back up the yum source configuration file / etc/yum.repos.d/CentOS-Base.repo
[root@localhost ~]# mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup
2. Enter the folder where the yum source configuration file is located
[root@localhost ~]# ...
Added by aod on Thu, 26 Dec 2019 16:13:45 +0200