会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
HarkLee
打酱油
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
17
18
19
20
21
22
23
24
25
···
36
下一页
2015年12月8日
nignx重启启动关闭
摘要: http://www.cnblogs.com/jianxie/p/3990377.html一、启动 cd usr/local/nginx/sbin./nginx cd usr/local/nginx/sbin./nginx二、重启 更改配置重启nginx kill -HUP 主进程号或进程号...
阅读全文
posted @ 2015-12-08 20:07 HarkLee
阅读(240)
评论(0)
推荐(0)
2015年11月24日
Tomcat日志配置
摘要: 对于各个属性做一下解释说明:className — 节点名称directory — 存储日志的目录prefix — 日志的前缀suffix — 日志的后缀renameOnRotate — 是否按天切割日志。切割后的日志要按yyyyMMdd重命名pattern - 日志模板,这里对于每个参数说一下详细...
阅读全文
posted @ 2015-11-24 19:01 HarkLee
阅读(596)
评论(0)
推荐(0)
2015年11月23日
误删除了mssql的表。 使用命令:drop table xxxx
摘要: 使用ApexSQL Recover工具进行恢复。教程如下:http://solutioncenter.apexsql.com/zh/%E6%B2%A1%E6%9C%89%E5%A4%87%E4%BB%BD%E7%9A%84%E6%83%85%E5%86%B5%E4%B8%8B%E6%81%A2%E5...
阅读全文
posted @ 2015-11-23 12:17 HarkLee
阅读(423)
评论(0)
推荐(0)
2015年11月11日
使用redis-cli定时执行指定命令
摘要: 50 20 * * * echo "del counterv2_real" | redis-cli -h hosts -a id:pwd --pipe
阅读全文
posted @ 2015-11-11 20:49 HarkLee
阅读(840)
评论(0)
推荐(0)
在crontab中动态写日志
摘要: 45 3 * * * setsid script -c /home/dlht/shell/coreBusiness/coreOpt.sh >> /home/dlht/logs/coreOpt/corOpt_$(date +\%Y\%m\%d).log
阅读全文
posted @ 2015-11-11 20:26 HarkLee
阅读(1006)
评论(0)
推荐(0)
2015年11月9日
循环日期的shell
摘要: date="2015-09-23"enddate='2015-11-08'while [[ $date < $enddate ]] do date=`date -d "+1 day $date" +%Y-%m-%d` echo $datedone
阅读全文
posted @ 2015-11-09 17:36 HarkLee
阅读(234)
评论(0)
推荐(0)
2015年10月28日
java的split的坑,会忽略空值
摘要: String test = "@@@@"; String[] arrayTest = test.split("\\@"); System.out.println(arrayTest.length);输出为0,split为忽略空值,如果要想取得正确的值,需要: String test = "@...
阅读全文
posted @ 2015-10-28 08:55 HarkLee
阅读(5900)
评论(0)
推荐(0)
2015年10月26日
教训:任何的程序脚本,即便你认为再没有问题,也要测试一下再上线。
摘要: 教训:任何的程序脚本,即便你认为再没有问题,也要测试一下再上线。
阅读全文
posted @ 2015-10-26 08:55 HarkLee
阅读(153)
评论(0)
推荐(0)
2015年10月19日
如何修改HDFS的备份数
摘要: 我这个是看别人发的,记录一下,解决办法如下:
阅读全文
posted @ 2015-10-19 11:49 HarkLee
阅读(1256)
评论(0)
推荐(0)
2015年9月30日
sqoop遇到的问题
摘要: 我使用的是CDH版本的这是我的sqoop脚本sudo -u hive sqoop import --connect jdbc:mysql://xxxx/rom3 --username xxx --password xxx --table xxx --hive-import --hive-table ...
阅读全文
posted @ 2015-09-30 16:43 HarkLee
阅读(311)
评论(0)
推荐(0)
上一页
1
···
17
18
19
20
21
22
23
24
25
···
36
下一页
公告