2011年8月30日 星期二

The steps to configure environment before collect log files

Before you collecting the log, please make sure you set the environment below:
1.export UXSPI_CLEAN_INVFILE=1 (Linux) or set UXSPI_CLEAN_INVFILE=1(windows)

2.export DSA_LOGLEVEL=4 (Linux) or set DSA_LOGLEVEL=4 (windows)

3.run UXSPI to perform the update d.zip the whole "%systemdrive%/IBM_Support/" folder(Windows) or "/var/log/IBM_Support/" folder(Linux) .


 Please make sure there is *.xml.gz file under IBM_Support and a uxspi log larger than 100K in size

2011年8月19日 星期五

VMWare 關閉防火牆指令

# esxcfg-firewall --allowIncoming
允許外部到內的連線

# esxcfg-firewall --allowOutgoing
允許由內到外的連線

2011年8月16日 星期二

Useful short name


TBD
 To be decided
 To be determined
 To be discussed
 To be Done
 To be Definded

NA
 Not Available
 Not Applicable


FYI
 For your information
FYR
 For your reference

2011年8月14日 星期日

Xcode 學習筆記(三)iphone Application Developer(2009~2010 winter) 之一

3.Custom Classes,Object Lifecycle,Autorelease, Objective-C Properties (January 12,2010)




Time Line=04:20 Custom Classes
這篇主要是再講解如何建立一個新的class
名為person 的class
且繼承 NSObject class
規劃他的屬性
有名字,年紀,是否可以去投票
另外可以執行的動作為 去投票!


在Objective C 中主要的檔案格式分別為 header file(public) 跟 implementation file(private)
先從.h (副檔名) 講起
這是屬於 header file
內容格式如下
@interface [class name] : [superclass name] 
 @end
 所以這邊我們寫成
@interface person : NSObject 

2011年8月11日 星期四

iOS Developer program enrollment done!

昨天下午 再度挑戰購買 iOS Developer program 的帳號
從 http://developer.apple.com/membercenter/index.action
登入apple ID 後
填寫 所有的相關資料
這裡要再老生常談的提醒大家
1. 請確定 apple ID 的帳號 與信用卡 中英文名要相同
2. 請確定 地址也是要相同
3. 電話都要一樣

最後他會轉到 apple online store 讓你再次確認購買人跟收件人的地址 還有信用卡資訊等
再來就是等待 Apple Developer Program Activation Code 的email 通知
依照這兩次的經驗 我大概都是下午訂購
隔天的下午 才會收到這封信
請耐心等候!

收到 Apple Developer Program Activation Code 的email後
點選信中的 active code 的 number 連結
就會跳到啟動網頁  <<===== 這邊是關鍵

2011年8月2日 星期二

VMWare 設定網卡 IP 讓 VMware vSphere Client 可以管理client

先查詢 現有的網卡 IP
#esxcfg-vmknic -l

再來查詢現有網卡的狀態
#esxcfg-nics -l
可以看到 vmnic0 or vmnic1
等等需要用到

最後確定目前 vSwitch  的狀態
#esxcfg-vswitch -l
(假設之前有設定不能用的話 需要手動刪除 再重新設定)

Step1.
Add vSwitch
esxcfg-vswitch -a "vSwitch Name"

#esxcfg-vswitch -a vSwitch0

Step2.
Add Port Group to vSwitch
esxcfg-vswitch -A "vSwitch Port Group Name" "vSwitch Name"
#esxcfg-vswitch -A vSwPG vSwitch0

Step3.
Add vmnic0 to vSwitch0
esxcfg-vswitch -U "網卡名稱" vSwitch0
#esxcfg-vswitch -U vmnic0 vSwitch0

Step4.
Add VMKernel's IP to Port Group of vSwitch0
esxcfg-vmknic -a -i "IP address" -n "subnet mask" "vSwitch Port Group Name"
#esxcfg-vmknic -a -i 192.168.70.1 -n 255.255.255.0 vSwPG

Step5. (使用 VMware vSphere Client)
#esxcfg-vswif -a vswif0 -p vSwPG -i 192.168.70.1 -n 255.255.255.0