linux Virtualization Management
1. kvm installation conditions
1.inter cpu ----> vmx 2.amd cpu -------> svm
2. kvm virtualization installation
1,dnf group list Lists the software groups in the system
2,dnf group install "Virtualization Client" "Virtualization Hypervisor" "VirtualizationTools" -y install
Virtualization Client Virtualized client
Virtualization Tools V ...
Added by satant on Sun, 19 Dec 2021 18:41:51 +0200
nginx load balancing
catalogue
1, What is load balancing?
2, Why load balancing?
3, Load balancing algorithm
1.round-robin
2.ip-hash
3.least-connected
4, Health check for load balancing
5, Brief introduction of nginx for load balancing
6, Compile and install nginx
1. Preparation
2. Compile and install nginx
3. Configure the load balancing function in ng ...
Added by Draco_03 on Sun, 19 Dec 2021 14:39:41 +0200
How to build a personal Git remote warehouse for raspberry pie (the same is true for other Linux devices)
First, we need to analyze the problem. To implement a Git remote warehouse server, we need to know:
How to configure Git server side.How to connect to a remote warehouse.How to push, pull, fetch and other operations from the remote warehouse.
After the analysis, it is found that it is quite simple. Let's go step by step. The first is the conf ...
Added by PHPMan on Sun, 19 Dec 2021 08:34:09 +0200
linux memory management
c language memory interface
#include <stdlib.h>
void *malloc(size_t size);
Array and calloc
Use calloc to request data structures with fixed memory size
void *r;
r = calloc(2,sizeof(struct tmap));
if(!r)
{
perror("error of calloc");
exit(EXIT_FAILURE);
}
2 means to apply for two tmap spaces. The ...
Added by Brand Hill on Sun, 19 Dec 2021 02:52:56 +0200
vulnstack red sun range reappearance
Note: if you have any questions while reading this replay, welcome vx: bestboysundit to communicate
catalog:
1, Environment configuration
2, Extranet test: 3, Get session: 01 information collection 0201 get session - msf 0201 get session - cs 4, Intranet penetration: 5, Reference link:
Open the virtual machine image to the suspended state a ...
Added by gth759k on Sun, 19 Dec 2021 02:49:34 +0200
Linux File System
1. Preface
The basic idea of Linux is that everything is a file; Each file has a defined purpose. The first is that everything in the system comes down to a single file, including commands, hardware and software devices, operating systems, processes, etc. For the operating system kernel, they are considered to have their own characteristics or ...
Added by rotwyla98 on Sun, 19 Dec 2021 02:45:53 +0200
SSH Remote Connection & file transfer
SSH
Common remote connection software
Putty: putty is an open source software with only more than 500 k, small and lightweight, but single function SecureCRT: SecureCRT is a terminal emulator that supports SSH(SSH1 and SSH2). In short, it is the software that logs in to the UNIX or Linux server host under Windows. The disadvantage is that t ...
Added by magicmoose on Sat, 18 Dec 2021 23:45:38 +0200
shell functions and arrays
1 function
1.1 function definition
Popular speaking. Function is to gather a group of relatively independent codes to form a code block, which can complete a specific function. Essentially, a function is a mapping of a function name to a block of code. After you define a function, you can call its corresponding set of code through the functio ...
Added by knford on Sat, 18 Dec 2021 17:58:35 +0200
Simulated deployment k8s production environment
k8s environmental preparation
Prepare a linux computer
Install kvm and initialize k8s cluster nodes
sudo apt-get install virt-manager
Install os
Configure kvm network segment
sudo vi /etc/libvirt/qemu/networks/default.xml
# After configuration, restart the network
sudo systemctl restart network-manager
Get through ssh tunnel ...
Added by nielsene on Sat, 18 Dec 2021 16:02:53 +0200
centos8.5 Vsftpd build FTP server
@TOC Vsftpd is a relatively stable FTP service software. The FTP service provided by vsftpd can be flexibly configured as anonymous access, local user access and virtual user access according to specific business needs. Among them, the most secure is the virtual user access mode. This paper builds and configures an FTP server for virtual user a ...
Added by dotBz on Sat, 18 Dec 2021 14:37:30 +0200