ITeye博客

pigfans

pigfans · 共 21 篇文章

rmname rmver rmelem mv 的区别 [转]

rmname rmver rmelem mv 这些ClearCase命令都是比较重要的,所以列举出来: rmname Removes the name of an element or VOB symbolic link from a directory version A name can be removed from a directory only if that directory is checked out, Rmname does not delete elements themselves, only references to elements. Use rmelem (…

2013-01-24 09:27 · Command Line · ClearCase · 评论(0)

IBM软件在64位Windows下安装界面没有文字的解决办法

将安装执行文件的兼容性设置成Windows Vista

2013-01-24 09:26 · 常见问题 · 评论(0)

AMQ8101: WebSphere MQ error (893) has occurred

在linux下新建了个jerry_workstation并将其加入mqm的组,可以执行crtmqm的时候总是报错:AMQ8101: WebSphere MQ error (893) has occurred 折腾了半天,终于发现是用户名长度问题,超过12个字就不行。

2013-01-08 10:41 · Message Queue & Message Broker · 评论(0)

Linux环境变量的设置和查看方法

1. 显示环境变量HOME $ echo $HOME /home/redbooks 2. 设置一个新的环境变量hello $ export HELLO="Hello!" $ echo $HELLO Hello! 3. 使用env命令显示所有的环境变量 $ env HOSTNAME=redbooks.safe.org PVM_RSH=/usr/bin/rsh Shell=/bin/bash TERM=xterm HISTSIZE=1000 ... 4. 使用set命令显示所有本地定义的Shell变量 $ set BASH=/bin/bash BASH_VERSINFO=([0]="2"[1]=…

2012-12-31 13:29 · Linux · 评论(0)

Installation notes of Websphere Message Broker V6.1 for Fedora 17 64bit

Preparation: 1. Install VMWare and Fedora 17. 2. Open ssh service. http://pigfans.iteye.com/admin/blogs/1754434 MQ Installation: 1. Create group 'mqm' and user 'mqm'. http://pigfans.iteye.com/admin/blogs/1754468 2. Agree the license: http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/topic/com.ibm…

2012-12-27 11:11 · Message Queue & Message Broker · Linux · 评论(0)

Linux创建用户、用户组 及 删除

在创建用户时,需要为新建用户指定一用户组,如果不指定其用户所属的工作组,自动会生成一个与用户名同名的工作组。创建用户user1的时候指定其所属工作组users,例:useradd –g users user1 一、创建用户: 1、使用命令 useradd 例:useradd user1——创建用户user1 useradd –e 12/30/2009 user2——创建user2,指定有效期2009-12-30到期 用户的缺省UID从500向后顺序增加,500以下作为系统保留账号,可以指定UID, 例:useradd –u 600 user3 2、使用 passwd 命令为新建用户设置密码 …

2012-12-26 15:13 · Linux · 评论(0)

Linux SSH服务开通[Fedora 12]

近期安装了一台Fedora 12虚拟机, 可以在自己电脑上ssh连接到这台Linux, 用起来很方便. 这里记一下是怎么配置的. 1) 安装openssh-server [root@localhost ~]# yum install openssh-server 2) 查看是否已成功安装openssh-server [root@localhost ~]# rpm -qa | grep openssh-server openssh-server-5.3p1-19.fc12.i686 [root@localhost ~]# 3) 修改ssh服务的配置文件 配置ssh服务的运行参数, 是通过修改配…

2012-12-26 14:32 · Linux · 评论(0)

一些多线程的笔记

1. 保护方法原子性的同时,也要注意保护方法中使用到的变量。下面这段代码是否一定安全? public class Counter { private int counter = 0; public int getCounter() { return counter; } public synchronized void add1() { int count = counter; counter = count + 1; } //other method } 不一定,如果在other method中也处理counter但是又没有保护的情况下,会出现问题,例如 public class Coun…

2012-09-05 17:43 · Java · 评论(0)

[JDK源码] HashMap

1. 参数介绍 /** * The default initial capacity - MUST be a power of two. */ static final int DEFAULT_INITIAL_CAPACITY = 16; /** * The maximum capacity, used if a higher value is implicitly specified * by either of the constructors with arguments. * MUST be a power of two <= 1<<30. */ static final int M…

2012-08-30 18:39 · Java · 评论(0)

Chapter 1 - Declarations and Acess Control

1. Identifiers - It must start with a letter, a currency character($), or a connection character such as the underscore(_). It cannot start with a number!. - After the first character, identifiers can contain any combination of letters, currency characters, connecting characters, or number. - In pr…

2012-07-15 08:44 · SCJP · Java · 评论(0)

ClearCase笔记1 - 关于baseline

1. baseline是相对于组件的一个概念。 2. baseline分为labeled和unlabeled两种,只有labeled baseline才可以被rebase。 3. deliver的时候会自动生成一条unlabeled baseline。

2012-04-01 10:45 · ClearCase · 评论(0)

[Rebase] 出现Unable to find a unique view attached to stream的错误

3905 2/8/12 4:06 PM FILT Match on filter [.*Error:.*] (Error found plus) - Set fail status [Threshold - 0/0]. 3906 2/8/12 4:06 PM EXEC cleartool: Error: Unable to find a unique view attached to stream "non_development". 3907 2/8/12 4:06 PM FILT Match on filter [.*Error:.*] (Error found plus) - Set …

2012-02-08 16:35 · Command Line · ClearCase · 评论(0)

查看LISTENER监听端口

进入runmqsc QMName DISPLAY LSSTATUS(*) ALL查看监听端口 注意: 如果用DISPLAY LISTENER(*) ALL也可以查看端口,但那个值貌似不一定准确

2012-02-07 15:43 · Message Queue & Message Broker · Command Line · 评论(0)

Message Broker常用命令

新建Execution Group: mqsicreateexecutiongroup BROKERNAME -e EXECUTIONGROUPNAME 查看Queue Manager列表: dspmq

2012-02-01 22:45 · Message Queue & Message Broker · Command Line · 评论(0)

runmqsc常用命令

1 Queue manager commands Description PCF command MQSC command Control command WebSphere® MQ Explorer equivalent? Change Queue Manager Change Queue Manager ALTER QMGR No equivalent Yes Create queue manager No equivalent No equivalent crtmqm Yes Delete queue manager No equivalent No equivalent dltmqm…

2012-02-01 22:45 · Message Queue & Message Broker · Command Line · 评论(0)