内网有台dell r620 做测试用;4个网口都插了 网线,通过小交换直接连在中心路由的第3个口上;安装了kvm,有virbr0 ;但还没装其它的虚拟机。ping 外网域名 ,IP地址 都超慢; 近乎1分钟返回一次;尝试:/etc/sysconfig/network-scripts 目录下新件了 ....
分类:
其他好文 时间:
2014-06-29 00:47:00
阅读次数:
283
linux 双线ip设置(不需额外增加路由表,只需修改下面就ok了)修改 vi /etc/iproute2/rt_tables (增加电信和网通两个路由表)增加252tel (电信)251cnc (网通)(设置电信和网通路由表内容)vi /etc/rc.d/rc.local增加ip route...
分类:
系统相关 时间:
2014-06-24 09:36:26
阅读次数:
443
题目链接:http://61.187.179.132/JudgeOnline/problem.php?id=1266题意:给出一个无向图,每条边有长度和代价。求出1到n的最短路。之后删掉一些边使得1到n的最短路变大?在此情况下使得删掉边的代价之和最小。思路:首先求出每个点到1和n的最短路。之后可以确...
分类:
其他好文 时间:
2014-06-23 00:29:37
阅读次数:
267
http://guides.rubyonrails.org/routing.html#crud-verbs-and-actionscreates seven different routes in your application, all mapping to thePhotoscontrolle...
分类:
其他好文 时间:
2014-06-22 23:33:47
阅读次数:
330
no sh (no shutdown : start the interface)router rspf 1network x.x.x.x x.x.x.x area 0int (interface)show ip route (to see routing table entries)RIPRtr(...
分类:
其他好文 时间:
2014-06-21 00:03:48
阅读次数:
319
在上一篇"ASP.NET MVC请求处理管道生命周期的19个关键环节(7-12) ",体验了7-12关键环节,本篇继续。 ⒀当请求到达UrlRoutingModule的时候,UrlRoutingModule取出请求中的Controller、Action等RouteData信息,与路由表中的所有规则进...
分类:
Web程序 时间:
2014-06-20 23:48:57
阅读次数:
436
View视图 我们可以手写HTML代码, 也可以采用基类提供的Helper类完成HTM代码.示例:生成的HTML代码就是:首页生成的HTML代码取决于Global.asax中配置的Route顺序.数据显示数据绑定 Blog的名称 Blog的简单描述 ...
分类:
Web程序 时间:
2014-06-20 17:58:52
阅读次数:
229
在.NET Framework 4中,微软推出了Route机制。这种机制不仅在MVC中大量运用,在WebForm中也可以使用。和Contex.RewritePath()一样,Route功能也是写在Global.asax文件中。1.设置默认页面具体代码如下:如代码所示,该路由会将网站默认转向Simpl...
分类:
其他好文 时间:
2014-06-20 17:54:07
阅读次数:
813
There areNgas stations along a circular route, where the amount of gas at stationiisgas[i].You have a car with an unlimited gas tank and it costscost[...
分类:
其他好文 时间:
2014-06-20 15:20:38
阅读次数:
176
vim route.rb resources :fetched_apps do member do patch :import end end spring rake routes recommend_apps GET /recommend_apps(.:fo...
分类:
其他好文 时间:
2014-06-20 14:57:22
阅读次数:
213