Feeds:
文章
评论

Archive for the ‘Uncategorized’ Category

sed -n ‘s/^.*\(<regex_pattern>\).*$/\1/p’ filename

This sed means substitute the whole line with the ‘\1’ (i.e. the matched pattern) and print the line. So it will print the text (not the whole line) which matches <regex_pattern>.

We can also use perl:   perl -i -p0e ‘s/abc\n efg/opq\n rst/’ filename

Advertisements

Read Full Post »

e.g.   sed -i ‘N; s/line1\n  line2/line1/’ /path/to/file

“N;” means multiline sed and “\n” means a NEW_LINE_CHAR

More example on http://www.thegeekstuff.com/2009/11/unix-sed-tutorial-multi-line-file-operation-with-6-practical-examples/

Read Full Post »

SSH login without password (ref: http://t.cn/zOJ0itN)

Steps:

1) ssh-keygen -t rsa (don’t set passphrase to avoid input passphrase everytime; also you can use keychain tool to automatically input passphrase)

2) create a file /usr/bin/myssh with mode 755 and content “cat ~/.ssh/id_rsa.pub | ssh $1 ‘mkdir -p ~/.ssh ; chmod 700 ~/.ssh; cat >> ~/.ssh/authorized_keys; chmod 640 ~/.ssh/authorized_keys’ ; ssh $1 “

3) myssh user@remotehost

Read Full Post »

 
朱近之   IBM大中华区云计算中心总经理
 
云计算及物联网在智慧城市中的应用
云计算是下一代IT发展的趋势,帮助建立高效、节能、易管理和弹性的数据中心。物联网的构建将为我们的城市提供更多智能应用,使我们的城市可量化、互联互通和智能化。本主题将介绍云计算和物联网如何帮助建立智慧的城市。
 
主讲人介绍
 
朱近之女士现由IBM美国总部派到中国担任大中华区云计算中心总经理,负责在中国大陆、香港和台湾地区推进IBM创新解决方案的应用,包括为政府和大型企业提供云计算技术和其他企业创新解决方案。
朱近之女士受聘为中国电子学会云计算专家委员会的专家委员之一。朱女士的媒体采访被刊登于《职场》的封面报道。朱女士在国外IEEE期刊,《第一届云计算国际学术会议论文集》《中国电子报》,《中国计算机用户》以及其它专业期刊上发表了一系列云计算相关的文章。2010年初,朱女士出版了《智慧的云计算——物联网发展的基石》一书。
朱近之女士在麻省理工学院完成了大学本科学业,并在牛津大学获得工商管理硕士学位。她拥有在三大洲的四个国家的丰富工作经验,包括美国、英国、印度和中国。

Willy Chiu博士  IBM全球软件部云计算中心与高性能随需解决方案实验室副总裁
 
云计算- 变革的力量
云计算将推动继个人计算机和互联网之后的又一次IT变革。本主题将介绍云计算如何推动IT产业的新一轮变革,云计算对我们IT产业的深远影响以及未来IT业的发展方向。
 
主讲人介绍
 
在过去的十年里,赵博士一直领导着全球云计算中心,推进IBM蓝云计划。他一直与诸如谷歌等公司开展有关重大学术活动和技术的合作,以及为企业客户实施云计算。此外,他的团队在全球建立了九大云计算中心,包括美国,中国,日本,韩国,爱尔兰,南非,印度,巴西和越南,以帮助客户创新,设计和实施云计算。
此前,赵博士曾担任许多IBM软件集团管理职务,从领导高容量Web性能技术和可扩展性专家团队,到在新兴领域创建IBM第一个“数字图书馆”内容管理项目,实现把珍贵的收藏品数字化,包括梵蒂冈图书馆。 赵博士是在纽约州约克镇IBM托马斯华生研究中心加入IBM的。
所有演讲嘉宾:http://www.ciecloud.org/lector

Read Full Post »

IBM CEO 彭明盛解读“智慧的地球” 2009年3月

IBM CDL 总经理 王阳博士 : IBM 五大软件产品线已准备好迎接智慧地球 2009年3月

IBM CDL Lotus 团队 2009年4月27日 

IBM CDL WebSphere 团队  2009年5月27日

IBM CDL Rational 团队  2009年8月27日

IBM CDL Information Mgmt 团队  IM产品线全景图 2009年12月27日

IBM CDL Tivoli 团队 (not found)

Read Full Post »

Symptom

The installation of Dircector 6.x failed (just hung there). Then re-run dirinstall.server, saying:

Installation Summary
——————–
Name Level Part Event Result
———————————————————————-
DirectorCommonAgent 6.x.0.0 ROOT APPLY FAILED
DirectorCommonAgent 6.x.0.0 ROOT CLEANUP SUCCESS
Installation of IBM Systems Director Server did not complete successfully.

And run “installp –C” can’t solve this issue.

Solution

  1. # smit maintain_software
  2. select Remove Installed Software
  3. enter name DirectorCommonAgent
  4. set preview to “no”, press ENTER, exit smit
  5. run “dirinstall.server

Get more info on IBM doc library.

Read Full Post »

Question:
What is IBM Systems Director?
Answer:
IBM Systems Director is IBM’s family of platform management solutions designed to provide IT professionals with the tools they need to virtualize more and manage less of their IT infrastructure. Through IBM Systems Director, customers will be able to manage both physical and virtual IT resources spanning servers, storage and networking. As virtualization becomes more pervasive, IT professionals require a unified management solution that allows for fast and easy monitoring, provisioning and automation of the physical and virtualized resources across their IT infrastructure. The IBM Systems Director family helps address these needs through modular, industry standards based solutions that provide IT professionals with the help they need to more efficiently and effectively manage their IT environment.

Question:
What are the key things people should know about IBM Systems Director family?
Answer:
I. IBM Systems Director family intended to help clients virtualize more and manage less

II. IBM Systems Director family unifies under one strategy, IBM’s server and storage management solutions and builds on this foundation to provide new virtualization management support, with the goal of helping clients to manage physical and virtual resources together across multiple, heterogeneous systems.

III. IBM Systems Director family is a modular, open standards based solution that includes a base set of capabilities for businesses of all sizes, platform specific extensions, and optional value added extensions for more advanced capabilities.

IV. The IBM Systems Director family includes value added extensions which range in capabilities from: workload management (EWLM); usage metering and accounting (IUAM); and advanced monitoring (ITM) from IBM. In addition, IBM Systems Director’s support of industry standards allows for the delivery of 3rd party value added extensions

Read Full Post »

Older Posts »