Network Configuration
TL;DR
When Docker starts, it creates a virtual interface named docker0 on
the host machine. It randomly chooses an address and subnet from the private range defined by RF...
分类:
Web程序 时间:
2014-08-20 14:12:09
阅读次数:
591
一、HTML 标签包括 块级元素(block)、内嵌元素(inline) 1、块级元素 一般用来搭建网站架构、布局、承载内容……它包括以下这些标签: address、blockquote、center、dir、div、dl、dt、dd、fieldset、form、h1~h6、hr、isinde...
分类:
Web程序 时间:
2014-08-19 23:53:25
阅读次数:
364
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given "25525511135",return ["255...
分类:
其他好文 时间:
2014-08-19 20:40:45
阅读次数:
203
一、命令行SW1interfaceVlan10ipaddress192.168.1.1255.255.255.0#interfaceEth-Trunk1portlink-typetrunkporttrunkallvlanall#interfaceGigabitEthernet0/0/4eth-trunk1#interfaceGigabitEthernet0/0/5eth-trunk1SW2同上二、建立顺序建立eth-trunk把接口划到eth-trunk中。三、..
分类:
其他好文 时间:
2014-08-19 14:43:45
阅读次数:
218
DNS host entry 包含 DNS database 中有关某一 domin name 或 ip address 的 DNS 信息。1 struct hostent{2 char *h_name;3 char *h_aliases;4 int h_addrtype;5 ...
分类:
Web程序 时间:
2014-08-19 14:11:15
阅读次数:
210
Route使用子接口配置fa0/0无IP并激活interfaceFastEthernet0/0noipaddressnoshut配置子接口1fa0/0.1interfaceFastEthernet0/0.1encapsulationdot1Q2(VLAN2)ipaddress10.10.10.1255.255.255.0noshut配置子接口2fa0/0.2interfaceFastEthernet0/0.2encapsulationdot1Q3(VLAN3)..
分类:
其他好文 时间:
2014-08-19 11:07:35
阅读次数:
255
如果先ctrl+c结束服务器端程序的话,再次启动服务器就会出现Address already in use这个错误,或者你的程序在正常关闭服务器端socket后还是有这个问题bind 普遍遭遇的问题是试图绑定一个已经在使用的端口。该陷阱是也许没有活动的套接字存在,但仍然禁止绑定端口(bind 返回 ...
分类:
其他好文 时间:
2014-08-18 21:43:52
阅读次数:
278
读取db.collection.find()db.users.find( { age: {$gt: 18}}, {name: 1, address: 1}).limit(5).sort({age:1})users是collection名字,从users中查找;age是query crit...
分类:
数据库 时间:
2014-08-18 16:14:42
阅读次数:
238
LEA是微机8086/8088系列的一条指令,取自英语Load effect address——取有效地址,也就是取偏移地址。在微机8086/8088中有20位物理地址,由16位段基址向左偏移4位再与偏移地址之和得到。地址传送指令之一。取偏移地址指令指令格式如下:LEA reg16,memLEA指令...
分类:
其他好文 时间:
2014-08-18 16:13:02
阅读次数:
411
一,首先服务端开启监听ServerSocket1->Port=StrToInt(5000); ServerSocket1->Active=true;ServerSocket1控件,响应ServerSocket1Listen事件;二,创建连接 ClientSocket1->Address="127.....
分类:
其他好文 时间:
2014-08-18 16:10:52
阅读次数:
319