2013年5月29日 星期三

ubuntu mount cifs 出現 mount error(13): Permission denied

 mount -t cifs -o sec=lanman -o ip=10.0.2.2,workgroup=WORKGROUP,guest,rw //10.0.2.2/Internal /private 

加入紅字部分

原因不明
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1113395

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
-------------------------------------