会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Azik
博客园
首页
新随笔
联系
管理
订阅
2015年8月14日
【笔记】【Informatica】Java组件调用ssh客户端远程执行linux系统上的shell脚本
摘要: Process mypro=null;try{ String cmdStr="C:\\SSH\\ssh2.exe azik@172.16.20.1 /home/azik/tmp/echo_date.sh"; mypro=Runtime.getRuntime().exec(cmdStr);...
阅读全文
posted @ 2015-08-14 14:27 Azik
阅读(886)
评论(0)
推荐(0)
2014年9月17日
【笔记】【Informatica】Informatica 资料库迁移步骤
摘要: 一、域资料库迁移 1、数据库数据迁移 2、备份相关的配置文件,如果迁移过程出错可以还原 1)server/config/nodemeta.xml 2)server/tomcat/conf/server.xml 3)使用infasetup.bat backupdomain命令备份域配置信息 3、停止i...
阅读全文
posted @ 2014-09-17 17:44 Azik
阅读(1769)
评论(0)
推荐(0)
2014年8月22日
【笔记】【Informatica】自定义序列生成器组件
摘要: /************************************************************************** * * Copyright (c) 2003 Informatica Corporation. This file contains * mate...
阅读全文
posted @ 2014-08-22 00:52 Azik
阅读(1030)
评论(0)
推荐(0)
2014年6月29日
「笔记」「ubuntu」mint个人shell样式脚本
摘要: alias ll='ls -al'use_color=false# Set colorful PS1 only on colorful terminals.# dircolors --print-database uses its own built-in database# instead of ...
阅读全文
posted @ 2014-06-29 19:55 Azik
阅读(375)
评论(0)
推荐(0)
2014年4月25日
「笔记」「GO语言」XML文件的读写操作
摘要: package mainimport ( "database/sql" "encoding/xml" "fmt" _ "github.com/go-sql-driver/mysql" "io/ioutil" "os")type Conf struct { X...
阅读全文
posted @ 2014-04-25 12:40 Azik
阅读(972)
评论(0)
推荐(0)
2014年4月7日
「笔记」「GO语言」简单的Web服务搭建及登录模块
摘要: 1 package main 2 3 import ( 4 "fmt" 5 "html/template" 6 "net/http" 7 "strings" 8 "log" 9 _ "github.com/go-sql-driver/mysql"10 "database/sql"11 )12 13 type WebMux struct{14 }15 16 func (p *WebMux) ServeHTTP(w http.ResponseWriter,r
阅读全文
posted @ 2014-04-07 11:35 Azik
阅读(981)
评论(0)
推荐(0)
2014年3月30日
「笔记」「Hadoop」集群安装一些注意的点
摘要: 一、集群安装1、修改/etc/hosts#严重注意,主机名不要带下划线#得将127.0.0.1的记录注释掉2、修改IP3、注意SSH证书问题进入~/.ssh目录执行ssh-keygen -t rsassh-copy-id -i ~/.ssh/id_rsa.pub root@namenode4、slaves的配置5、访问http://hdp_xxx:50070查看信息相关配置#/etc/profile# Java Configurationexport JAVA_HOME=/usr/java/jdk1.7.0_51export CLASSPATH=.:$JAVA_HOME/lib/tools.j
阅读全文
posted @ 2014-03-30 17:50 Azik
阅读(205)
评论(0)
推荐(0)
2014年2月27日
「笔记」「Ubuntu」基本使用
摘要: 1、切换到超级用户sudo -s2、查看显卡cat /sys/kernel/debug/vgaswithceroo/switchlspci|grep VGA3、关闭独显echo OFF>/sys/kernel/debug/vgaswithceroo/switch可将此行命令添加到/etc/rc.lo...
阅读全文
posted @ 2014-02-27 15:08 Azik
阅读(594)
评论(0)
推荐(0)
2013年11月17日
【笔记】【GO语言】Go调用C共享库
摘要: //LibHelloWorld.hvoid SayHelloWorld(char * name);//HelloWorld.c#include #include "LibHelloWorld.h"void SayHelloWorld(char * name){ printf("Hello,%s!\n",name);}gcc -O0 -g3 -Wall -c -fmessage-length=0 -fPIC -MMD -MP -MF"HelloWorld.d" -MT"HelloWorld.d" -o"He
阅读全文
posted @ 2013-11-17 09:38 Azik
阅读(570)
评论(0)
推荐(0)
【笔记】【Berkeley DB】初窥Berkeley DB
摘要: #include #include #include #include int main(int argc, char* argv[]) { //declare DB_ENV *ptr_db_env; DB *ptr_db; DBT key, data; u_int32_t env_flags, db_flags; FILE *fptr_db_env_err_log, *fptr_db_err_log; int ret; int sel; int userid; char *username; username = (char*...
阅读全文
posted @ 2013-11-17 00:55 Azik
阅读(257)
评论(0)
推荐(0)
下一页
公告