sudo vi /etc/hosts输入 i进入编辑模式编辑完成之后,按esc,输入 : wq202.152.192.181 translate.google.com64.233.178.133 translate.googleusercontent.com216.58.221.202 transl...
分类:
其他好文 时间:
2015-03-20 21:42:42
阅读次数:
370
一. Hosts文件的位置很多用户都知道在Window系统中有个Hosts文件(没有后缀名),在Windows 98系统下该文件在Windows文件夹。在Windows 2000/XP系统中位于\%Systemroot%\System32\Drivers\Etc 文件夹中,其中,%Systemroo...
分类:
其他好文 时间:
2015-03-20 20:04:53
阅读次数:
153
fabric是python的一个基于命令行的自动化部署框架,用docker开了两个容器来学习fabric.#!/usr/bin/env python#-*- coding=utf-8 -*-from fabric.api import *env.hosts=[ 'root@114.215.86.2....
分类:
其他好文 时间:
2015-03-20 12:36:57
阅读次数:
148
在本地浏览器上输入www.hello.com时,简单的实现流程是:在客户端上,检查本地的hosts文件中是否有主机名和ip对应,有对应ip,则用HTTP协议封装数据请求,添加应用层首部,添加tcp首部,添加ip首部,添加mac地址后从本地出去,到对应的WEB服务器上,没有对应的ip,则查找resolv..
分类:
其他好文 时间:
2015-03-19 18:39:53
阅读次数:
398
What ntopng can do for me? (http://www.ntop.org/products/ntop/) Sort network traffic according to many protocols Show network traffic and IPv4/v6 active hosts Store on disk persistent traffic stati...
分类:
其他好文 时间:
2015-03-19 13:27:12
阅读次数:
378
SharePoint 2010 升级到2013时 保证用户能够连接但不能修改正升级的数据
步骤
1: Connect to the SQL instance that hosts the SharePoint 2010 content database.
2: Set the SharePoint
content database read-only state to Tru...
分类:
其他好文 时间:
2015-03-19 11:35:24
阅读次数:
188
1、编辑/etc/resolv.conf文件,添加如下语句:nameserver dns_ip(例如nameserver 8.8.8.8)2、如/etc/nsswitch.conf中未包含启用DNS的设置将不能正常解析域名,在host一行中增加dns,如:hosts: files dns
分类:
系统相关 时间:
2015-03-18 10:11:59
阅读次数:
172
Ubuntu修改hosts文件
打开hosts文件
sudo gedit /etc/hosts复制hosts
hosts粘贴到hosts文件中,保存即可...
分类:
系统相关 时间:
2015-03-17 18:01:51
阅读次数:
159
在浏览器输入:http://www.baidu.com/,最后,浏览器呈现出相应网页,这个过程究竟发生了什么?第一步,解析域名,找到主机IP(1)浏览器会缓存DNS一段时间,一般2-30分钟不等。如果有缓存,直接返回IP,否则下一步。(2)缓存中无法找到IP,浏览器会进行一个系统调用,查询hosts...
分类:
Web程序 时间:
2015-03-17 09:00:11
阅读次数:
209