Linux:DHCP Server Setup
Understanding how the DHCP protocol works
DHCP (Dynamic Host Configuration Protocol) provides the ability to dynamically configure IP addresses.In a DHCP network, clients no longer need to enter network parameters themselves, but are automatically assigned to clients by the DHCP server.
IP Address Rental Process
IP Lease Request
IP Rental Pro ...
Added by bo0 on Sat, 23 Nov 2019 10:41:55 +0200
Linux: DNS Server Setup
Introduction to DNS
DNS (Domain Name System) Domain Name System:
It is a system that uses client/server mechanism to translate computer name to IP address.As an important network service, DNS is not only the basis of the work of the international Internet, but also widely used in the internal network of enterprises.
Role of DNS Server
Forward R ...
Added by techcone on Sat, 23 Nov 2019 09:40:22 +0200
Native table implements polling + css to modify the default scroll bar style
There are two requirements in the recent project (vue Series). Here is a record to share with you.
Polling by native Table list
Demand:
Do not poll when the number of table lists is small, and only poll when the number exceeds a certain height;
Move the mouse in to pause polling, move out to continue polling
First, the prototype is as follows ...
Added by wizhippo on Thu, 21 Nov 2019 19:58:29 +0200
Crawling the data with map display in the web page using Python graph
Recently, there is a need to crawl the official website information of a logistics company. I saw the official website, which is basically static pages. Unlike that kind of information type, e-commerce type websites have complex results, strict anti climbing, many AJAX, and I am secretly glad that when I further analyzed, I found that they are ...
Added by unbreakable9 on Thu, 21 Nov 2019 18:01:05 +0200
java reflection knowledge summary (for use only)
I. understanding reflection (three ways to realize reflection)
1. Instantiate the object first, and then reflect it
Date date = new Date();
//The generics here can only be "?"
Class<?> dts = date.getClass();
System.out.println(dts.getName());
2. First import the package of the class, and then reflect
import ...
Added by ryza_ on Wed, 20 Nov 2019 19:48:29 +0200
Scala basic syntax
Definition of if expression: in Scala, if expression has value, which is the return value of the last statement in if or else expression.
object IfDemo {
def main(args: Array[String]): Unit = {
val age = 28
val isAdult = if (age > 25) 1 else 0
println(isAdult)
}
}
Type inference of if expression: because if ...
Added by web_noob on Wed, 20 Nov 2019 11:39:58 +0200
OkHttp3 source code details cache strategy
Reasonable use of local cache can effectively reduce network overhead and response delay. The HTTP header also defines many cache related domains to control the cache. Let's talk about the implementation details of the cache part in OkHttp today.
HTTP cache policyFirst of all, let's understand the related domains of the cache part in the HTTP p ...
Added by Fog Juice on Mon, 18 Nov 2019 11:58:13 +0200
012.Kubernetes Binary Deployment worker node Flannel
1. Deploy flannel
1.1 Install flannel
kubernetes requires that nodes in the cluster, including master nodes, be interconnected through the Pod segment.flannel uses vxlan technology to create an inter-operable od network for each node, using UDP 8472 as the port.
The first time flanneld starts, it gets the configured PD segment information ...
Added by washbucket on Sun, 17 Nov 2019 23:23:28 +0200
Collect 15 proxy IP websites to create a free proxy IP pool
Collected sites:
Free proxy IP http://ip.yqe.com/ipproxy.htm66 free agent network http://www.66ip.cn/89 free agent http://www.89ip.cn/Worry free agent http://www.data5u.com/Cloud agent http://www.ip3366.net/Fast agent https://www.kuaidaili.com/free/Fast exclusive agent http://www.superfastip.com/HTTP proxy IP https://www.xicidaili.com/wt/Xiaosh ...
Added by webdesco on Sun, 17 Nov 2019 22:05:15 +0200
007.Kubernetes binary deployment Flannel
I. deployment of flannel
1.1 installation of flannel
kubernetes requires that all nodes in the cluster (including the master node) can be interconnected through the Pod network segment. flannel uses vxlan technology to create an interoperable Pod network for each node. The port used is UDP 8472.
When flanneld is started for the first time, ...
Added by PHPycho on Fri, 15 Nov 2019 14:41:54 +0200