虚拟主机 是指在一台WWW服务器上 为多个单独的域名提供Web服务Apache有3种方式支持 虚拟主机:一、基于IP的虚拟主机: 一台服务器上配置多个IP地址,每个Ip地址都有特定的目录和配置。适合Ip地址充足的情况1、[root@localhost root]# vi /etc/named.con...
分类:
其他好文 时间:
2015-08-27 02:10:36
阅读次数:
121
开发中常见错误和警告总结(八)Swift中”[AnyObject]?does not have a member named generator”处理有个小需求,需要遍历当前导航控制器栈的所有ViewController。UINavigationController类自身的viewControlle...
分类:
移动开发 时间:
2015-08-26 21:54:10
阅读次数:
199
因为内网换了路由器,这个路由器不支持静态域名解析服务。所以只能自己建立一个DNS服务。DNS服务端软件选用bind,直接yum在线安装bind。此时会直接更新另外两个软件包bind-libs,bind-utils:yum-yinstallbind安装过程不放了。装完以后,配置文件:/etc/named.conf(没有装bind..
分类:
其他好文 时间:
2015-08-20 19:14:36
阅读次数:
301
环境: Python-3.4.3 Web.py-0.37安装web.py的时候,提示ImportError: No module named 'utils'看看源码,setup.py,有这么一句from web import __version__这句会执行web文件夹中的__init__.py.....
分类:
编程语言 时间:
2015-08-19 23:42:19
阅读次数:
268
hdu 2433 TravelDescription
One day, Tom traveled to a country named BGM. BGM is a small country, but there are N (N <= 100) towns in it. Each town products one kind of food, the food will be tra...
分类:
其他好文 时间:
2015-08-17 21:48:16
阅读次数:
173
NSString *strName = [[UIDevice currentDevice] name]; // Name of the phone as named by user NSString *strSysName = [[UIDevice currentDevice] systemN...
分类:
移动开发 时间:
2015-08-17 13:54:00
阅读次数:
121
In the planet w-503 of galaxy cgb, there is a kind of intelligent creature named QS. QScommunicate with each other via networks. If two QS want to get connected, they need to buy two
network adapter...
分类:
Web程序 时间:
2015-08-17 12:03:17
阅读次数:
183
A boy named Gena really wants to get to the “Russian Code Cup” finals, or at least get a t-shirt. But the offered problems are too complex, so...
分类:
其他好文 时间:
2015-08-16 15:07:04
阅读次数:
162
Cubieboard4 also named CC-A80, is a open source mini PC or single board computer which has ultra-powerful performance and mainly aims to office, games...
分类:
其他好文 时间:
2015-08-16 07:04:29
阅读次数:
343
实验须知:192.168.1.11作为实验主机1,192.168.1.12作为实验主机21.缓存服务器的配置(1)首先安装bind(2)在主配置文件/etc/named.conf注释相应内容(如dnssec相关的)
#yuminstallbind–y
#servicenamedstart
#ss–tnlp|grep:53
#cp/etc/named.conf{,.bak}
#vim/etc/named.c..
分类:
其他好文 时间:
2015-08-16 00:45:49
阅读次数:
269