if[$USER="oracle"];then
if[$SHELL="/bin/ksh"];
then
ulimit-p16384
ulimit-n65536
else
ulimit-u16384-n65536
fi
fi解决方案如下:if["$USER"="oracle"];
thenif["$SHELL"=
"/bin/ksh"];thenulimit-p16384ulimit-n65536elseulimit-u16384-n
65536fifi或者if[[$USER="oracle"..
分类:
系统相关 时间:
2016-03-10 18:57:55
阅读次数:
354
安装TFS报错:session_util.cpp:Instaticmemberfunction‘staticstd::stringtfs::common::SessionUtil::gene_uuid_str()’:
session_util.cpp:17:错误:‘uuid_t’在此作用域中尚未声明
session_util.cpp:17:错误:expected‘;’before‘uu’
session_util.cpp:18:错误:‘uu’..
分类:
其他好文 时间:
2016-03-10 01:56:02
阅读次数:
419
设置ssh免密码登录脚本(hadoop自动化部署脚本一) 设置ssh免密码登录脚本(飞谷云大数据自动化部署脚本一) 1.#!/bin/sh2.#important note:this script is expected to run on master node3.PWD=hdp4.USER=hd
分类:
其他好文 时间:
2016-03-09 21:05:38
阅读次数:
356
1, findLast() (1) The fault is that the state of the loop should be: for(int i = x.length-1;i >= 0;i--) Because if the expected index is in x[0], when
分类:
其他好文 时间:
2016-03-09 12:24:36
阅读次数:
173
原因:在较新的xcod上都会出现这种错误。在iOS5之前的版本,应用加载时,需要一个root view controller,在iOS5以下的版本会有MainWindow作为启动文件,iOS5以后的版本没有了。需要手动创建一个root view controller。 添加如下代码即可: self.
分类:
移动开发 时间:
2016-03-09 08:17:11
阅读次数:
443
修改settings.xml: <mirror> <id>nexus-osc</id> <mirrorOf>*</mirrorOf> <name>Nexus osc</name> <url>http://maven.oschina.net/content/groups/public/</url> <
分类:
移动开发 时间:
2016-03-08 09:28:02
阅读次数:
191
一、 1.Focusing on the authentication query, you can see that user passwords are expected to be stored in the database. The only problem with that is th
分类:
移动开发 时间:
2016-03-07 13:52:23
阅读次数:
171
1. 程序1: for循环的i>0改为i>=0; 程序2: for循环for (int i = 0; i < x.length; i++)改为for (int i = x.length-1; i > = 0; i--) 2. 程序1:x=[1,2,3], y=2; expected = 1 程序2:
分类:
其他好文 时间:
2016-03-07 12:11:54
阅读次数:
134
点击查看原文 1、 java.lang.IllegalStateException: Expected a string but was BEGIN_ARRAY at line 1 column 278 解决:接口数据格式与实体类数据格式不一样 2、 java.lang.RuntimeExcepti
分类:
其他好文 时间:
2016-03-06 11:24:16
阅读次数:
193
早上登服务器,看到程序的redis的报错, 具体如下: (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may
分类:
其他好文 时间:
2016-02-26 11:52:26
阅读次数:
199