Link Aggregation and Configuration Instances for LACP 2019-05-17

What is LACP?Based on the LACP of IEEE802.3ad standard, the full name of Link Aggregation Control Protocol in English is translated into Chinese as Link Aggregation Control Protocol, which is used to achieve link dynamic convergence and de-convergence.LACP interacts with its peers through LACPDU.DU refers to Data Unit, a data unit.MAC addres ...

Posted by ricmetal on Tue, 14 Apr 2020 21:18:58 -0700

Recovery of linux: keepalived+lvs to achieve high available load balancing

The complete architecture requires two servers (the role is dir) to install the Keepalived tool respectively, in order to achieve high availability, but Keepalived also has load balancing function, so only one Keepalived can be installed in this use. Keeping alive has the function of ipvsadm built in, so you don't need to install ipvsadm packa ...

Posted by Squiggles on Tue, 14 Apr 2020 09:36:45 -0700

Python practice daily - chop a hundred words

Catalog 1. Word Memory 2. Word Reminder 3. Memory function 4. Speech Reading 5. Integral Evaluation 6. Silent Output 7. Vocabulary acquisition 1. Word Memory English is currently one of the most widely used languages in the world and is also a commonly used language in the world.As countr ...

Posted by MrBiz on Mon, 06 Apr 2020 19:55:36 -0700

< attacking entomologist > data acquisition of public opinion monitoring

Public opinion monitoring is the behavior of monitoring and predicting the public opinions and opinions on the Internet. Most monitoring technologies are based on crawlers. If we search the keywords of relevant hot events with search engines and save the results locally, the first link of public opinion monitoring is realized: rea ...

Posted by andre&rachel on Sat, 04 Apr 2020 08:56:05 -0700

The story of the star programmer being killed by Google

First of all, we need to mention a software called Homebrew Homebrew is probably the best package manager on Mac. It is equivalent to Ubuntu apt and command-line app store Homebrew brew Max Howell is the author of Homebrew. When he went to google for an interview, the interviewer gave a question about reversing the bi ...

Posted by pedrokas on Sat, 04 Apr 2020 02:31:07 -0700

Learning notes CB005: key words, corpus extraction

Keyword extraction. The pynlpir library implements keyword extraction. # coding:utf-8 import sys import importlib importlib.reload(sys) import pynlpir pynlpir.open() s = 'How to delete the junk files in the computer' key_words = pynlpir.get_key_words(s, weighted=True) for key_word in key_words: print(key_word[0], 't', key_word[1]) pynl ...

Posted by Cloud9247 on Thu, 02 Apr 2020 09:32:17 -0700

The problem of disordered directory structure of DotNet unzip zip file under Mac

Extracting a file under Dot Net is very simple: ZipFile.ExtractToDirectory("test.zip", "./test"); However, when a program runs the Dot Net program on Mac to extract a zip file, the directory structure is gone, as shown in the following figure: image.png After some research, it is found that the reason is that the zip is gen ...

Posted by geo3d on Thu, 02 Apr 2020 04:33:08 -0700

Nange takes you to learn CSS form and table form of HTML

Form form <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> < title > form form < / Title > <style type="text/css"> </style> </head> <body> <! -- action: server interface for the form to su ...

Posted by jay1318 on Wed, 01 Apr 2020 04:22:43 -0700

SQL basic bullet 2

Prepare data: – create a "shop" Database CREATE DATABASE shop CHARSET=utf8; – use "Jingdong" Database use shop; – create a goods data table Insert data (if you don't understand the meaning of each field name, read the insert data below, you will understand it, but you still ...

Posted by v00d00 on Tue, 31 Mar 2020 11:28:01 -0700

[ASP.NET Core 3.1] Browser sniffing solves missing cookies in some browsers

[ASP.NET Core 3.1] Browser sniffing solves missing cookies in some browsersStudents who have read the previous article should know that browsers such as Sogou and 360 redirect repeatedly in single sign-on, and eventually fail and make mistakes. The reason is that non-Chrome80+ browsers do not recognize the SameSite=none attribute value on the C ...

Posted by jallard on Mon, 30 Mar 2020 19:53:37 -0700