解决方法:将/etc/hosts文件中的内容添加如下所示127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain lo...
分类:
其他好文 时间:
2014-07-19 22:01:23
阅读次数:
176
HostnameSet the hostname to your liking (e.g. arch):# echo myhostname > /etc/hostnameAdd the same hostname to /etc/hosts:# nano /etc/hosts## /etc/host...
分类:
其他好文 时间:
2014-07-19 21:09:18
阅读次数:
194
。。。哈哈,hello,最近总是工作效率低得很厉害哦。随便一个东西都可以让我为难很久,这不是,一个权限的问题,结果呢,自己总是不是很明白。。。。记下来咯,说不定下次会有用呢。。。、 hosts文件!就是在系统底层的一个文件,没有任何的后缀名字。。 然后我们这边的机顶盒总是在dns的时候,一部分呢.....
分类:
其他好文 时间:
2014-07-18 23:22:37
阅读次数:
291
在httpd.conf 文件中启用 httpd-vhosts.conf就是把#注销掉# Virtual hosts ,虚拟主机Include conf/extra/httpd-vhosts.conf假设我们的虚拟主机在 f:/myweb 盘 [该站点,事先有]设置http-vhosts.conf文件...
分类:
Web程序 时间:
2014-07-18 19:35:18
阅读次数:
261
下面是MSDN关于SYS.dm_hadr_instance_node_map 的解释,我就不在翻译了For every instance of SQL Server that hosts an availability replica that is joined to its AlwaysOn a...
分类:
其他好文 时间:
2014-07-18 19:28:26
阅读次数:
262
题目描述:猜密码:远程连接,如果猜错密码超过五次,就拒绝访问实现描述:通过查看日志,找到相应ip地址的失败记录,累加次数超过五次的将这个ip地址丢到/etc/hosts.deny文件中,写法是:sshd:ip#!/bin/bashforipin$(cat/var/log/secure|grep"Failedpassword"|awk‘{print$11}..
分类:
其他好文 时间:
2014-07-17 08:54:09
阅读次数:
278
DNS域名解析:A:address 域名向IP地址转换的记录PTR:Printer ip 地址向域名转换的记录NS:代表域内的DNS服务器MX:代表域内的邮服务器CNAME:域名的别名SOA:start of authority 用于表示域内主DNS服务器提供DNS的软件:BIND
分类:
其他好文 时间:
2014-07-16 16:59:02
阅读次数:
171
SUSE Linux Enterprise Server设置IP、网关、DNS 1、设置ip地址vi /etc/sysconfig/network/ifcfg-eth0 #编辑配置文件BOOTPROTO='static' #静态IPBROADCAST='192.168.21.255' #广播地址IP...
分类:
系统相关 时间:
2014-07-16 15:25:33
阅读次数:
335
win+Rcmdroute-f#首先清本机路由netsh#准备设置interface#进入接口模式ip#进入ipv4设置addaddress"本地连接2"172.16.168.44255.255.0.0gateway172.16.168.2gwmetric1#指定设备并对其设置ip、路由adddns"本地连接2"8.8.4.4index=1#指定设备并对其设置首选dnsadddns"本地连接2"20..
NSLookup可以指定查询的类型,可以查到DNS记录的生存时间还可以指定使用那个DNS服务器进行解释。如何用本地计算机查询DNS记录?打开命令提示符窗口(开始--运行---输入CMD--回车)nslookup的语法为 nslookup –qt=类型 目标域名(注意qt必须小写)类型主要有:A 地址...
分类:
其他好文 时间:
2014-07-16 12:14:46
阅读次数:
286