Enterprise practice (13) details of LVS load balancing NAT mode
What is cluster
A group of computers interconnected by a high-speed network and managed in a single system mode.
Many servers are put together to provide the same service, which looks like only one server in the client.
It can obtain relatively high benefits in performance, reliability and flexibilit ...
Posted by thetick on Tue, 16 Jun 2020 21:18:59 -0700
File IO programming under Linux
Linux system call refers to a set of "special interfaces" provided by the operating system to user programs through which user programs can obtain special services provided by the operating system.
To better protect kernel space, programs are divided into kernel space and user space, which ru ...
Posted by locomotive on Tue, 16 Jun 2020 18:34:54 -0700
Python implementation of multiplexing TCP LAN file transmission based on socket
Basic information of LAN transmission
1. What is Io?
⦁ definition
⦁ blocking IO
⦁ non blocking IO
2.IO multiplexing
definition
select specific usage
3. Realize the file transmission of multiplex LAN
server.py
client.py
FileOperation.py
matters needing attention
Operation effect
1. What is ...
Posted by steelerman99 on Sat, 13 Jun 2020 21:27:21 -0700
PostgreSQL installation tutorial of girlfriend metropolis
Pure Linux PostgreSQL offline installation tutorial for girlfriend
PostgreSQL database installation, based on version 10.5.1,
Use *. gz binary compression package to install manually on Linux system.
Installation package: postgresql-10.5.1-linux-x64-binaries.tar.gz
1. Create postgres user
groupadd p ...
Posted by PHP_PhREEEk on Sat, 13 Jun 2020 20:33:40 -0700
Enterprise Actual LNMP High Performance Server_wordpress, discuz dual site deployment
Enterprise Actual LNMP High Performance Server_wordpress, discuz dual site deployment
In LNMP WEB architecture, Nginx is a high performance WEB server and cannot process PHP itself. When receiving HTTP Request requests from client browsers, Nginx server responds to and processes WEB requests. Static resource CSS, pictures, videos, TXT and othe ...
Posted by AAFDesign on Sat, 13 Jun 2020 15:24:55 -0700
Some small exercises of Shell under Linux
Brief answer
1. Count the number of files under / var/log.
find /var/log/ ! -type d |wc -l
//Or l l - R / var / log / | egrep "^ [SL -] [RWX -] {9}" | WC - L
3. Write a script to judge which ip address is currently online in the 192.168.1.0/24 network, and which ip address can be ping ...
Posted by Moon-Man.net on Fri, 12 Jun 2020 21:16:01 -0700
Linux file system analysis VFS
"Everything is a file", a concept heard just after contacting Linux, embodies the design philosophy of Linux, abstracts all software and hardware resources into files, enables users to operate almost all system resources with the same api, brings great convenience to application development ...
Posted by Valect on Fri, 12 Jun 2020 02:54:06 -0700
Boy! Kubernetes deployment is so simple, you can see it completely
How is it implemented to migrate the project to k8s platform?
Make a mirror image
Controller management Pod
Pod data persistence
Exposed applications
Publish application to the public
Log / monitor
1. There are three steps to making a mirror image
The first basic image is based on which operating system, such as Centos7 or other
The second ...
Posted by wenquxing on Wed, 10 Jun 2020 19:44:45 -0700
RAID 1 software implementation (Linux system)
There are two ways to implement raid:
The performance of software RAID is low because it uses the resources of the host. You need to load the raid software to read data from the software RAID volume. Before loading the raid software, the operating system needs to boot up to load the raid software. No physical hardware is required in software RA ...
Posted by karnetics on Tue, 09 Jun 2020 22:36:20 -0700
Detailed explanation of linux shell command line options and parameter usage
Detailed explanation of linux shell command line options and parameter usage
In bash, there are three ways to handle command line arguments
- direct processing: use $1, ,...,$n for parsing
- getopts: the case of a single character option (for example: - n 10 -f file.txt Etc.)
- getopt: can handle single character options or long opti ...
Posted by b-ware on Mon, 08 Jun 2020 21:20:15 -0700