# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the Ser...
分类:
其他好文 时间:
2014-10-15 18:19:41
阅读次数:
186
在局域网中,使用ssh登陆到其他机器上时,有时会出现等待10s以上才能正常登陆的问题。原因:Linux默认使用dns解析登陆IP,但是在局域网,并没有dns服务器,而且机器上也没有添加IP与域名(hostname)的绑定,导致浪费很多时间检查主机名。解决办法:1.在/etc/hosts文件中添加IP...
分类:
系统相关 时间:
2014-10-15 13:55:20
阅读次数:
250
TCollectortcollectoris a client-side process that gathers data from local collectors and pushes the data to OpenTSDB. You run it on all your hosts, an...
分类:
其他好文 时间:
2014-10-15 01:22:09
阅读次数:
378
放到webroot这个文件夹下面,一个站点创建一个名字然后找到windows/System32/drivers/etc目录下的hosts文件,一行添加一个站点127.0.0.1 www.zhenxi.net还要找到wamp/alias/web.conf 这个文件(更改里面站点的配置和路径)
分类:
其他好文 时间:
2014-10-13 17:55:51
阅读次数:
207
1,/etc/hosts,主机名ip配置文件。# Do not remove the following line, or various programs# that require network functionality will fail.127.0.0.1 localhost.local...
分类:
其他好文 时间:
2014-10-13 13:08:39
阅读次数:
178
$.get("@Hosts.Default.Www/api/XXXXX/Getxxx/"+@Model.UserId, function(data) { $("#totalPv").text("历史访问量:"+data[0]+"次"); $("#today...
分类:
Web程序 时间:
2014-10-12 00:45:16
阅读次数:
273
1. 打开Terminal;2. 输入sudo vi /etc/hosts,Enter;3. 输入Mac管理员密码,Enter;4. 出现hosts文件的vi界面,按'e'键进入编辑模式;5. 输入你要设定的hosts内容,比如: 127.0.0.1 www.markstudio.com;6. 按'...
分类:
系统相关 时间:
2014-10-11 23:14:16
阅读次数:
320
环境:
oracle clusterware:10.2.0.1
redhat 5.5
在验证完相关配置后,提示RAC安装时,报The specified nodes are not clusterable:排查/etc/hosts和信任关系没有错误的情况下,那么要注意rootpre.sh是否都在任何节点执行了...
分类:
其他好文 时间:
2014-10-11 18:37:56
阅读次数:
241
什么是xinetd?大家对被称作超级服务器的Inetd一定很熟悉,其实现控制对主机网络连接。当一个请求到达由Inetd管理的服务端口,Inetd将该请求转发给名为tcpd的程序。Tcpd根据配置文件hosts.{allow,deny}来判断是否允许服务该请求。如果请求被允许则相应的服务器程序(如:ftpd、..
分类:
Web程序 时间:
2014-10-11 18:30:16
阅读次数:
172