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