Build a nacos cluster under Linux(CentOS7), which is super detailed

Recently, I took over a job of adjusting the project framework. I was assigned to build the nacos registry; nacos registry is an open source component of alibaba. It provides the registry and configuration center functions of spring cloud alibaba microservice architecture, and provides a more intuitive visual interface; This article will introd ...

Posted by gva482 on Sun, 23 Jan 2022 13:50:46 +0100

Bufferless file IO and directory operations

Python wechat ordering applet course video https://edu.csdn.net/course/detail/36074 Python practical quantitative transaction financial management system https://edu.csdn.net/course/detail/35475 introduction In the background development, for file I/O, we usually do not use fopen, fread and fwrite standard I/O encapsulated in C language, b ...

Posted by Chef-Mars on Sun, 23 Jan 2022 10:05:18 +0100

Building LVS load balancing cluster - direct routing mode (LVS-DR)

1, Working principle of LVS-DR 1. Packet flow analysis (1) The client sends a request to the director server (load balancer), and the requested data message (the source IP is CIP and the target IP is VIP) reaches the kernel space. (2) The director server and Real Server are in the same network, and the data is transmitted through the two-lay ...

Posted by zarp on Sun, 23 Jan 2022 08:13:36 +0100

Junit5 + YAML can easily realize parameterization and data-driven, making App automated testing more efficient

This paper is the course study notes of excellent students in Hogwarts Testing Institute. We want to communicate with advanced students at the end of the text. ** 1. What is data driven** What is parameterization? What is data driven? Some people often don't understand their relationship. Let's talk about personal understanding. Let's f ...

Posted by MattDunbar on Sat, 22 Jan 2022 22:05:46 +0100

k8s local cluster construction (v1.21.2)

k8s preliminary preparation I mainly use it here docker-case Building local k8s(v1.21.2) clusters Software preparation vagrant 2.2.16 Cross platform virtualization toolsvirtualbox Open source free virtual machinek8s version v1.21.2 vagrant environment description You need to use the root user to start the installation, otherwise you will e ...

Posted by Spogliani on Sat, 22 Jan 2022 22:03:49 +0100

Construction of codis cluster

Codis is a distributed Redis solution. For upper tier applications, there is no significant difference between connecting to Codis Proxy and connecting to native Redis Server( List of unsupported commands ), the upper layer application can be used like a stand-alone Redis. The bottom layer of Codis will handle request forwarding, non-stop data ...

Posted by ankycooper on Fri, 21 Jan 2022 22:42:53 +0100

Shell Programming and Variables

1. Overview 1. Concepts 1) What is a shell: shell Is a command interpreter, which is responsible for directly talking with the user at the outermost level of the operating system, interpreting the user's input to the operating system, processing the output of a wide variety of operating systems, and outputting to the screen for feedback ...

Posted by khujo56 on Fri, 21 Jan 2022 12:08:54 +0100

The website nginx configuration limits the access frequency of a single IP to prevent DDOS malicious attacks

1, Introduction For websites, especially famous websites with large traffic, they often encounter attacks, such as DDOS attacks. Although some third parties, such as Cloudflare, can block them, for dynamic websites, PHP can only block some. At this time, it is necessary to limit the flow of a single IP malicious attack. Two modules of nginx ca ...

Posted by fredted40x on Fri, 21 Jan 2022 00:55:11 +0100

Docker deployment OKR project replay

Docker deployment OKR project replay 1, Run OKR project locally (1)The problem of Chinese and English garbled code on the home page: the problem of coding logic Reference address: https://www.cnblogs.com/shihaiming/p/7792876.html https://www.cnblogs.com/kingsonfu/p/10395522.html (2)An exception occurs during database initialization bec ...

Posted by wazo00 on Thu, 20 Jan 2022 19:42:30 +0100

Day19 FTP system service

FTP, NFS, SAMBA system services 1, rsync hosted xinetd 1. Why service hosting Independent service: independent startup script ssh ftp nfs dns Dependent service: there is no independent startup script. rsync telnet depends on xinetd service (independent service) 2. How can rsync be managed by xinetd service? Step 1: install xinetd service ...

Posted by AQHost on Thu, 20 Jan 2022 12:44:47 +0100