03 2015 档案

摘要:Perl的优势:比C好写,比Shell高效,Linux普遍支持。#!/usr/bin/perl -w# auth: lichmama@cnblogs.com# what: split data_file by date.my $fullpath = $0;my $script_name ... 阅读全文
posted @ 2015-03-30 15:15 lichmama 阅读(334) 评论(0) 推荐(0)
摘要:通过接口发送短信的socket小样:#!/usr/bin/perl -w# auth:lichmama@cnblogs.com# what:send message to phone# usage: sms.pl [phonenumber] [text]use s... 阅读全文
posted @ 2015-03-26 15:05 lichmama 阅读(167) 评论(0) 推荐(0)
摘要:生产环境中有两台部署PowerCenter的ETL业务机,近期发现无法通过客户端连接到ETL服务。初步怀疑是PowerCenter挂掉了,或者资料库出现了故障。登陆设备后发现PowerCenter进程存在,但是资料库(Oracle)却挂掉了。切换oracle账户进入,手动startup资料库,结果启... 阅读全文
posted @ 2015-03-12 21:14 lichmama 阅读(1043) 评论(0) 推荐(0)
摘要:使用Xmanager前,服务器必须已经安装好X11所需的各种运行包。运行下列命名检查安装情况,没有的话请自行补上。rpm -qa|grep x111.DISPLAY环境变量export DISPLAY=Xmanager-Host:0.0#举例,如:export DISPLAY=192.168.1.1... 阅读全文
posted @ 2015-03-09 15:42 lichmama 阅读(1239) 评论(0) 推荐(0)
摘要:参考文档:http://www.linuxidc.com/Linux/2013-10/90800.htmhttp://369369.blog.51cto.com/319630/790921/大致步骤:MySQL主从复制master:192.168.1.1slave: 192.168.1.21.主从服... 阅读全文
posted @ 2015-03-08 15:43 lichmama 阅读(187) 评论(0) 推荐(0)
摘要:参考文档:http://blog.csdn.net/wwp1026/article/details/6900569 阅读全文
posted @ 2015-03-06 16:00 lichmama 阅读(403) 评论(0) 推荐(0)
摘要:参考文档:http://m.blog.chinaunix.net/uid-16765068-id-4405877.htmlhttp://www.cnblogs.com/lichmama/p/4103048.html大致过程:/**创建测试视图**/CREATE VIEW BCPVIEW24 ASSE... 阅读全文
posted @ 2015-03-05 16:47 lichmama 阅读(292) 评论(0) 推荐(0)
摘要:参考文档:http://www.ibm.com/developerworks/cn/linux/linux-speed-start/l-ss-mq/ 阅读全文
posted @ 2015-03-04 10:24 lichmama 阅读(189) 评论(0) 推荐(0)