Introduction to cluster and LVS, LVS-NAT cluster, LVS-DR cluster
colony
Organize many machines together and provide services as a wholeClusters can be flexible in terms of scalability and performanceCluster classification:
Load Balance cluster: Load BalanceHigh Availability cluster: High AvailabilityHigh Performance Computing
LVS
LVS: Linux Virtual Server Load balancing cluster Author: Zhang wenson ...
Added by Attilitus on Mon, 07 Feb 2022 23:23:05 +0200
How to use Buildah to build your own container on Linux
Containers run in the cloud because container technology allows websites and Web applications to produce new copies as demand increases. They are the reason why hundreds of millions of people can use popular websites without causing them to collapse under the pressure of global traffic.
Containers are a kind of Linux technology, which means th ...
Added by mgrphp on Mon, 07 Feb 2022 20:50:22 +0200
06 Linux system disk management
Linux system disk management
Add virtual diskDisk partition formattingDisk mount usageBoot auto mount
Add virtual machine disks (3 disks)
First, shut down the virtual machine, set the virtual machine settings, and add disks.
Log in to the system and check whether the addition is successful
Display of hard disk: / dev directory hard ...
Added by GundamSV7 on Mon, 07 Feb 2022 12:23:04 +0200
Odoo technology development white paper Part V Chapter 14 launch of odoo
Reprint: http://book.odoomommy.com/chapter5/README14.html
Chapter 14 startup of Odoo
Startup script
Let's take a look at the startup script of Odoo first:
__import__('os').environ['TZ'] = 'UTC'
import odoo
if __name__ == "__main__":
odoo.cli.main()
It can be seen that the startup of odoo has done two things:
Set the time zone of the ...
Added by Akira on Mon, 07 Feb 2022 04:36:58 +0200
Logical volume management 4. Detailed explanation of logical volume management, lvscan,lvcreate,lvdisplay,lvextend,lvreduce,lvremove,lvresize,lvchange
Logical volume related operations
You can think of a logical volume as a component area, so of course, this logical volume also needs to be formatted and mounted. In addition, the logical volume can also be dynamically resized, and the data will not be lost, and there is no need to unmount the logical volume. The commonly used commands are l ...
Added by jeremy0 on Mon, 07 Feb 2022 02:38:59 +0200
Multi phase construction of front-end docker image
1. Front end image construction record
1. dockerfile
# Phase I
FROM node:latest AS build
ARG COSTAR_ENV
ENV COSTAR_ENV=${COSTAR_ENV}
COPY . .
RUN npm config set registry https://registry.npm.taobao.org/ && \
npm install && \
npm run dev_build && \
mv dist web_portal && \
cp -r web_portal /www/
...
Added by ciaran on Mon, 07 Feb 2022 02:37:06 +0200
Construction of Hadoop running environment
1.1 template virtual machine environment preparation
0) install the template virtual machine, with IP address 192.168.10.100, host name Hadoop 100, memory 4G and hard disk 50G
1) The configuration requirements of Hadoop 100 virtual machine are as follows (the Linux system in this paper takes CentOS-7.5-x86-1804 as an example) (1) Using Yu ...
Added by misslilbit02 on Sun, 06 Feb 2022 09:59:58 +0200
How to configure vim (setting shortcut keys, customizing themes, installing plug-ins)
vim is a lightweight editor with a powerful group of plug-ins. Its powerful user-defined shortcut key function allows you to realize various editing operations without touching the mouse.
Configuration directory of vim
. vimrc is the configuration file of vim. Users need to modify this file to personalize vim
vimrc configuration files are di ...
Added by ricmch on Sun, 06 Feb 2022 09:25:41 +0200
Linux learning notes - Shell advanced
catalogue
Shell operator
Arithmetic operator
Boolean operator
Logical operator
String operator
File test operator
echo print data
test command
number
character string
File test
Shell process control
if
case
for
while
break
continue
Shell function
Shell operator
Arithmetic operator
#! /bin/bash
a=20
b=10
val=`expr $a ...
Added by jdog on Sat, 05 Feb 2022 13:51:49 +0200
(gopher) learn nothing ebpf
preface
I believe there are still many people who don't know what ebpf is or where to start. However, it seems that it is becoming a de facto standard for the technical means of cloud native development performance optimization. In particular, ebpf has great advantages in container network performance and security. Almost all cloud manufac ...
Added by jubripley on Sat, 05 Feb 2022 12:10:22 +0200