由于3.x系列已不再支持mongrel,所以就采用nginx+passenger来做负载均衡;之前有发过nginx+mongrel,puppet version是2.7系列的,所以还是可以用的;环境说明:操作系统:centos 5.8 64位puppet版本:3.1系列1,升级ruby至1.8.7,...
分类:
其他好文 时间:
2014-09-26 21:25:58
阅读次数:
149
第一个版本:/* who1.c - a first version of the who program * open, read UTMP file, and show results. */#include #include #include #include #include #include...
分类:
其他好文 时间:
2014-09-26 19:25:29
阅读次数:
148
/*** Structure for SIP Message (REQUEST and RESPONSE).* @struct osip_message*/ struct osip_message { char *sip_version; /**content_length == NULL) ...
分类:
其他好文 时间:
2014-09-26 19:11:48
阅读次数:
223
If you accidentally added some files which should have been ignored, how do you get them out of version control without losing them? Maybe you have yo...
分类:
其他好文 时间:
2014-09-26 18:36:28
阅读次数:
141
package prac_1;
/**
* Title: 树参数
* Description: 使用继承类,柳树就是树
* Copyright: Copyright (c) 2014
* Filename:
* @author 王海涛
* @version 0.1
*/
class tree
{
/**
*方法说明:树的树根
*输入参数:
*返回类型:
*/
publ...
分类:
编程语言 时间:
2014-09-26 12:34:48
阅读次数:
210
/** * @ClassName TestSocket1 * @Version 1.0 * @Date 2014-9-26 上午10:19:36 */public class TestSocket1 { public static void main(String[] args) throws Un...
分类:
编程语言 时间:
2014-09-26 11:20:28
阅读次数:
234
下了,装了。然后整这句命令:phantomjs --version直接报错。。查了半天的官方文档,居然连个毛线都么找到。终于。。。墨迹到了一个方法,就抱着试一试的心态在terminal里输入了这个命令:export PATH="$PATH:/Users/username/phantomjs-1.9....
分类:
Web程序 时间:
2014-09-26 04:00:58
阅读次数:
176
情景再现使用VS2013新建ASP.NET MVC项目时,出现下面的错误:具体错误信息:错误: 此模板尝试加载组件程序集 “NuGet.VisualStudio.Interop, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d...
分类:
其他好文 时间:
2014-09-26 01:58:38
阅读次数:
2229
Unsupported major.minor version 51.0错误提示原因:在jdk6环境下部署,编译时却是jdk7解决:项目------>右键------>属性------>Java Compiler------>Compiler Compliance Level------>JDK版本...
分类:
其他好文 时间:
2014-09-26 00:21:27
阅读次数:
208
http://blog.csdn.net/dashuuser/article/details/6325709把 %windir%/system32/inetsrv/config/applicationHost 文件中关于 删除 关于 ServiceModel 节点,重新配置 .net 4 即可: a...
分类:
其他好文 时间:
2014-09-25 18:16:27
阅读次数:
199