A simple solution that I use is to merely stop the service and x-copy the files from my bin folder into the service folder.A batch file to stop the se...
前一篇的问题解决了,是 hbase 下面lib 包的jar问题,之前写MR的时候加错了包,替换掉了原来的包后出现另一问题:@ubuntu:/home/hadoop/hbase-0.94.6-cdh4.5.0/bin$ ./start-hbase.sh starting master, logging...
分类:
编程语言 时间:
2014-06-26 21:41:53
阅读次数:
829
1. 不讲安装,没意思2. 使用virtualenv ENV # 建立环境,ENV你可以随便定,看起来像是 mkdir ENVcd ENV # 进目录呗source bin/activate # 启动 沙盒环境,你的命令行的开头,都会有明显的提示变化,哦~【感觉自己萌萌哒】deactivate #....
分类:
编程语言 时间:
2014-06-26 19:53:55
阅读次数:
215
我的机器有个coreseek服务,但是没加到开启启动中去,导致机房一旦重启了机器,我的服务便不能使用了。所以我需要把coreseek的searchd加到自启动服务中去。写一个脚本auto_coreseek.sh:#!/bin/sh#chkconfig:2345 80 90#description:a...
分类:
其他好文 时间:
2014-06-26 16:14:17
阅读次数:
184
(1)上mongodb的官网下载windows版本的mongo的安装包,安装包是绿色版的解压出来就可以直接使用。(2)将解压出来的bin文件夹复制到c:\mongoDB下(c:\mongoDB这个文件夹可随意选择,不一定要在c盘)(3)在c:\mongoDB文件夹下新建data文件夹(4)在c:\m...
分类:
数据库 时间:
2014-06-26 16:05:53
阅读次数:
252
本文更多的是教会大家如何学习
1.1 概述
1.2 u-boot配置过程分析
1.3 u-boot编译过程分析
1.4 SPL
1.5 添加自己的单板
1.6 移植u-boot-spl.bin
1.7 u-boot.bin内存布局分析
1.8 u-boot重定位
1.9 u-boot启动流程总结
1.10 支持命令补全和历史命令
1.11...
分类:
其他好文 时间:
2014-06-26 13:29:43
阅读次数:
205
1、内存设置
修改weblogic\user_projects\domains\base_domain\bin下的setDomainEnv.cmd文件:设置大小根据实际情况确定
if "%JAVA_VENDOR%"=="Sun" (
set WLS_MEM_ARGS_64BIT=-Xms512m –Xmx1024m
set WLS_MEM_ARGS_32BIT=-Xms512m –...
分类:
Web程序 时间:
2014-06-26 08:06:18
阅读次数:
436
【题目】
Given a string s, partition s such that every substring of the partition is a palindrome.
Return the minimum cuts needed for a palindrome partitioning of s.
For example, given s = "aab",
Return 1 since the palindrome partitioning ["aa","b"] could b...
分类:
其他好文 时间:
2014-06-26 07:48:00
阅读次数:
259
右点击Eclipse快捷键,然后点击属性, 把目标(target)内容修改如下:clipse -data c:\myworkspace -vm c:\ j2sdk1.5\jre\bin\javaw"这里填你Eclipse.exe 程序的目录" -data "这里填你workspace的目录,注意不能有空格目录" -showlocation以后点击快捷就会自动加载你设置的workspace...
分类:
系统相关 时间:
2014-06-26 06:52:53
阅读次数:
313
#!/bin/sh
user="seqkit"
myDomain="hyldap"
passwd="******"
echo-n"">./passwd.ldif
echo-n"">./group.ldif
foriin$user
do
echo"Startwriteuserinfotopasswd.ldifgroup.ldif"
grep"^${i}:"/etc/passwd>>./passwd.ldif
grep"^${i}:"/etc/group>>./group.l..
分类:
其他好文 时间:
2014-06-25 10:22:23
阅读次数:
583