2014年2月20日 星期四

ntp對時 = > date command is not work



4.6. Time handling in Linux VMs
By default, the clocks in a Linux VM are synchronized to the clock running on the control domain, and cannot be independently changed. This mode is a convenient default, since only the control domain needs to be running the NTP service to keep accurate time across all VMs. Upon installation of a new Linux VM, make sure you change the time-zone from the default UTC to your local value (see Section 4.8, “Release Notes” for specific distribution instructions).

[root]# cat /proc/sys/xen/independent_wallclock
0 => Linux VM are synchronized to the clock on VM Server.
1 => Linux VM can be set to maintain independent times.

Individual Linux VMs can be set to maintain independent times
1.From a root prompt on the VM, type the command: echo 1 > /proc/sys/xen/independent_wallclock
2.This can be persisted across reboots by changing the /etc/sysctl.conf configuration file and adding:
# Set independent wall clock time
xen.independent_wallclock=1

2014年2月15日 星期六

如何讓台灣的房價下降?

要改善貪婪之島其實很簡單,舉手之勞,人人可以做到: 20%的國人領出所有的存款,賣掉所有金融商品,並償還所有的貸款,就解決了80%。

2014年2月5日 星期三

Ubuntu - Tips

CheckingYourUbuntuVersion
https://help.ubuntu.com/community/CheckingYourUbuntuVersion
Enter the command lsb_release -a


[ubuntu]利用vnc連線到ubuntu
http://blog.jsdan.com/ubuntu%E5%88%A9%E7%94%A8vnc%E9%80%A3%E7%B7%9A%E5%88%B0ubuntu/

[ubuntu] remote desktop
In Ubuntu Session (Dash Home –> Search For –> Desktop Sharing )
http://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/how-to-take-remote-desktop-from-windows-to-ubuntu-13-04.html#axzz2nj5uEuiE

2014年1月17日 星期五

Linux - iftop

http://sealmemory.blogspot.tw/2012/10/iftop-linux.html
http://www.ex-parrot.com/~pdw/iftop/
http://www.vpser.net/manage/iftop.html
http://sealmemory.blogspot.tw/2012/10/iftop-linux.html




--安裝
tar zxvf iftop-0.17.tar.gz
cd iftop-0.17
./configure
make
make install
or

yum  install iftop


--執行

# iftop -i eth1 -B





netstat
top

2014年1月16日 星期四

JDE - issue, reserved by xxx

It's the JDE system behavior to provide the application/data consistency. When one session is editing/processing specific data entry, other sessions could not change the same data entry, even using same JDE account. This situation(reserved by xxx) could caused by program design, system operation method or web browser  timeout.

Refer to document: User Record Reservations P00095

2014年1月10日 星期五

VMware - vSphere 相容 CPU 64bit VT


虛擬機器上要裝64-bit os CPU需要兩種支援(下載cpu-z軟體檢測)
1.要支援64位元,如下圖紅框處需顯示「EM64T」
2.若是用虛擬軟體還要支援Virtualization Technology,可如下圖紅框處需顯示「VT-x」

INTEL網站的 CPU 全列表,有沒有支援VT,一目了然。

以下是連結:

http://ark.intel.com/VTList.aspx

windows failed to start. a recent hardware of software changemight be the cause. to fix the problem:
1. insert your windows installation disc and restart you computer.
2. choose your language settings, and then click "next."
3. click "repair your computer."
if you do not have this disc,contact your system administrator or computer manufacturer for assistance.
file"\windows\system32\boot\winload.exe
status:0xc000035a
info:attempting to load a 64-bit application,however this cpu is not compatible with 64-bit mode.