2013年5月28日 星期二

esx / esxi 指令列操作

==  USB DISK

chkconfig usbarbitrator

依據 http://vaemon.com/article/1079.html  改變這個參數可以讓 usb 被 console 看到。

然後再
mkdir /mnt/usbdisk
mount /dev/sda1 /mnt/usbdisk -t vfat
就可以掛進去

== vCLI
* 安裝的時候如果遇到要求 http_proxy 或是 ftp_proxy , 可以用 export http_proxy 設一個空的給他。(在NAT底下似乎不設不會過)

* 不同版本 esx / esxi 能用的 command namespace 不一樣 .... 官網文件似乎沒有修正版本之間的差異 需用 esxcli --help 再確認

== RCLI
* 3.5 的版本要用這個。 vCLI 支援 4 以後

* 出現  Server version unavailable at at /usr/share/perl/5.14/VMware/VICommon.pm line 545. 的話,
export PERL_LWP_SSL_VERIFY_HOSTNAME=0

2013年5月16日 星期四

virtualbox turning

http://www.virtualbox.org/manual/ch09.html#changenat

補充一下,加了這兩條下去,看看狀況如何

VBoxManage modifyvm "VM name" --natsettings1 16000,128,128,0,0
VBoxManage modifyvm "VM name" --nataliasmode1 proxyonly
----這條看起來要加但是沒有加 看看說明好了 
VBoxManage modifyvm "Linux Guest" --nataliasmode1 sameports

--這條加下去看起來會綁在某個 IP 的 NIC 上?
VBoxManage modifyvm "VM name" --natbindip1 "10.45.0.2"

2013年5月7日 星期二

Oracle 自造字的問題

Oracle Doc 對於語系的說明
http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch2charset.htm 


------------------------------------

ZHT16BIG5 does not support UDC. As described here:

http://download.oracle.com/docs/cd/B28359_01/server.111/b28298/applocaledata.htm#CIAEICDE

UDC are supported by ZHT16MSWIN950. If all your clients are Traditional Chinese Windows and the NLS_LANG on all client machines is set to ZHT16BIG5, then you have an example of the pass-through scenario. That is, your database actually contains ZHT16MSWIN950 that is incorrectly tagged as ZHT16BIG5. The source database and all clients should be fixed to use ZHT16MSWIN950.

When ZHT16MSWIN950 is converted to AL32UTF8, the character 0x9bb8 becomes U+EB60 (ee,ad,a0) and the character 0x8563 becomes U+F14F (ef,85,8f).

https://forums.oracle.com/forums/thread.jspa?threadID=932233
-------------------------------------

2013年1月27日 星期日

Storwize V7000


V7000 CLI
http://pic.dhe.ibm.com/infocenter/storwize/ic/index.jsp?topic=/com.ibm.storwize.v7000.doc/svc_clicommandscontainer_229g0r.html

IBM Storwize V7000 Unified Disk System
http://www.redbooks.ibm.com/abstracts/tips0837.html

Implementing the IBM Storwize V7000, SG24-7938
http://www.redbooks.ibm.com/abstracts/sg247938.html?Open


2013年1月16日 星期三

CENTOS 6 , Tomcat 7 使用 service 啟動

ln -s /tomcat7/bin/catalina.sh /etc/init.d/tomcat

然後在 catalina.sh 加上


# chkconfig: 2345 10 90
# description:Tomcat service

chkconfig --add tomcat