1,puppet--server,Client,Agent time no syn case erorpuppet agent --server frontend -terr: Could not request certificate: execution expiredExiting; fail...
分类:
系统相关 时间:
2014-12-20 18:11:38
阅读次数:
277
1、Unable to resolve target 'android-5' 无法解析目标' 安卓系统-5' Unable to resolve target 'Google Inc.:Google APIs:7' 1>.工程有一个Android Manifest文件,双击进入 2>.切换到...
分类:
移动开发 时间:
2014-12-20 15:29:26
阅读次数:
131
答:通过直接发送Uri把参数带过去,或者通过manifest里的intentfilter里的data属性。代码如下:
Intent intent = new Intent();
Intent.setAction(“android.intent.action.View”);
Uri uriBrowsers = Uri.parse(“http://www.sina.com.cn”);
Inte...
分类:
其他好文 时间:
2014-12-19 19:11:29
阅读次数:
275
代码结构图manifest.xml 两个activity的代码package cn.com.chenzheng_...
分类:
其他好文 时间:
2014-12-19 18:41:52
阅读次数:
112
const和指针的组合:注释部分表示非法。 int a =1; const int *p = 0; p=&a; //*p = 1 ; int const *pp = 0; pp= &a; //*pp = 1; int* const pv = ...
分类:
其他好文 时间:
2014-12-19 18:40:52
阅读次数:
189
前面有用使用Intent来控制 Service
使用的参数是Service的类
Service的启动/关闭还有另外一种方式来控制
通过Intent传入Action的参数
??
在manifest中注册一个Service并且设置一个action
<service
android:enabled="true"
android:export...
分类:
移动开发 时间:
2014-12-19 15:51:38
阅读次数:
139
零基础学习Puppet自动化配置管理系列文档在Foreman上可以根据业务逻辑设置多个主机组(HostGroups),并且可以将不同的节点加入到不同的主机组,这样在每次操作“puppetrun”的时候,只需要在搜索按钮里搜索对应的主机组即可找到里面包含的所有节点,如下图所示Foreman安装但是..
分类:
其他好文 时间:
2014-12-18 19:08:02
阅读次数:
340
零基础学习Puppet自动化配置管理系列文档注:以下内容是在foreman1.6.3+puppet2.6.2环境下进行操作。更多配置请参考官网http://theforeman.org/manuals/1.6/index.html在foreman-proxy的1.6.3版本,至少提供了以下五种触发puppetagent命令的工具,默认使用的是puppetrun,不过..
分类:
其他好文 时间:
2014-12-18 19:07:34
阅读次数:
584
Manifest-Version: 1.0Class-Path: ./lib/aopalliance-1.0.jar ./lib/commons-collections-3.2.jar ./lib/commons-dbcp-1.2.1.jar ./lib/commons-lo...
分类:
其他好文 时间:
2014-12-18 18:24:37
阅读次数:
171
集群管理工具pssh的简单使用,远端命令行输入和多命令
分类:
其他好文 时间:
2014-12-17 20:15:35
阅读次数:
247