Introduction to FastDFS installation configuration
FastDFS
fastDFS is an open source lightweight distributed file system, which can manage files. Its functions include:
file storeAutomatic file synchronizationFile access (file upload and download, etc.)
It solves the problem of mass storage and load balancing, and is especially suitable for online services based on files, such as photo album ...
Added by vapour_ on Wed, 19 Jan 2022 01:58:26 +0200
Synchronize MongoDB data to elasticsearch through Monstache
Installation and configuration of Monstache
monstache is a go daemon that can synchronize MongoDB data to Elasticsearch in real time.
preparation
Ready for mongodb4 4.6 replica set environment The Elasticsearch 7 environment is ready github source code address of monstache: https://github.com/rwynn/monstache
monstachemongodbelashticsearch53 ...
Added by wildmanmatt on Tue, 18 Jan 2022 22:40:03 +0200
Linux kernel learning 9 -- an example of kernel multitasking concurrency
Next section https://blog.csdn.net/weixin_45730790/article/details/122521234
In order to simulate multitasking concurrent access to shared linked lists in the kernel, we need to complete the following tasks.
First, we need to establish a shared list in the kernel and use the spin lock structure to protect its accessSeveral kernel threads are ...
Added by Buffas on Tue, 18 Jan 2022 21:31:59 +0200
Basic record of Device Tree
technological process
A classic flow chart
dtc compiled commands
make dtbs
dtsi: an SOC may have different boards / machines, refining common parts or common parts of multiple machines into dtsi (common refinement), the difference part is put in dts, then The corresponding of include in dts dtsi file is enough. If there are different ...
Added by darthmahon on Tue, 18 Jan 2022 16:06:39 +0200
ZONE of linux kernel
struct zone
It can be seen from the three memory models of linux that the linux kernel divides the physical memory into different ZONE areas according to the actual use. ZONE management occupies an important position in the physical memory. The corresponding structure in the kernel is struct zone. In version 5.8.10, the structure is as follows ...
Added by volka on Tue, 18 Jan 2022 15:35:23 +0200
day25 RAID of disk array
1, RAID introduction
RAID(Redundant Array of Independent Disk) technology was proposed by the University of California, Berkeley in 1987. It was originally developed to combine small cheap disks to replace large expensive disks, and hope that the access to data will not be lost when the disk fails. RAID is a redundant array composed of multipl ...
Added by vtroubled on Tue, 18 Jan 2022 14:58:22 +0200
Build docker harbor replication high availability
Install docker
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
yum install docker-ce docker-ce-cli -y
systemctl start docker
systemctl enable docker
Install docker compose
Download address
https://github.com/docker/compose/releases/
wget https://github.com/docker/compose/releases/download/1.29.2/d ...
Added by daijames on Tue, 18 Jan 2022 13:11:54 +0200
Docker container installation and basic experience
Install Docker
Uninstall older Docker
sudo yum remove docker \
docker-client \
docker-client-latest \
docker-common \
docker-latest \
docker-latest-logrotate \
docker-logrotate \
docker-engine
Installation depend ...
Added by BinaryBird on Tue, 18 Jan 2022 11:02:02 +0200
Nginx optimization | CSDN creation punch in
Most of the nginx installation guides tell you the following Basics - install through apt get, modify a few lines of configuration here or there, and well, you already have a Web server! Moreover, in most cases, a regular installation of nginx already works well for your website. However, if you really want to squeeze out the performance of ngi ...
Added by molave on Tue, 18 Jan 2022 08:09:24 +0200
Linux driver
Linux driver
1. Classification of linux drivers
Character driven device: the transmission process of IO is based on characters without buffer. For example, I2C and SPI are character devices Block device driver: the transmission process of IO is in blocks. Root storage is related to block devices, such as tf cards Network device driver: acc ...
Added by nicolam1 on Tue, 18 Jan 2022 02:18:36 +0200