So Tired !_! 逆水行舟, 不进则退!

8Feb/11

解决godaddy的windows vps timezone设置后自动还原的问题

Posted by Nick Xu

godaddy上的vps怎么设置系统时间都无效,过几分钟就自动设置回原本的-7小时的时差,这个问题还挺严重的.估计是VPS自动同步母机的时间了.

参考老外的一些文章,找到了解决方案:)

其实很简单,只要几个步骤即可解决时间问题.

1.打开注册表HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones,为了安全起见,我们还是先备份一下,右键Time Zones,选择export,自己命名保存一份.

2.以中国时间为例,把Time Zones下面的子目录除了China Standard Time,其它的全都删了,如图:

3.删除注册表后,关闭注册表编辑器.然后去设置系统时区,应该只有一个时区可以选择(UTC +08:00) Bejing, Chongqing, Hong Kong, Urumqi,保存即可,如图:

4.这样几个简单的步骤已经解决了系统时间自动还原的问题,如要设置其它国家的时间,请按照以上步骤如法炮制:P

16Nov/10

How to Fix VirtualBox USB Device Support UBUNTU

Posted by Nick Xu

It is actually a known fact that there

is an issue with VirtualBox and the attached USB devices that many of us are trying to use in the virtual machine. Here is a real-life example:

I am a 100% Linux user and I have a photo printer that Linux can't recognize. Let's say that I want to print some photos quickly, to give them to someone. I have a Windows installation in a virtual machine just for this reason (sad, I know) and I want to access my printer, which is connected via a USB port. To my surprise, I can see the printer in the USB device list of VirtualBox, but I can't access it (very frustrating). Firing up Firefox and searching on Google for a fix takes too long, because there are many old tutorials that teach you how to modify various files or change permissions, etc. What to do? Well, below is the answer to the endless VirtualBox – USB issue (and it's pretty damn simple too!).

This tutorial was created mostly for my needs, but I am sure that many of you will find it very helpful. Ready?

This is how a default installation of VirtualBox in Ubuntu 9.04 shows the USB devices, and we need to fix it.

Review image

Go to System -> Administration -> Users and Groups...

Review image

Click the "Unlock" button...

Review image

Type your password and click the "Authenticate" button....

Review image

Click on the "Manage Groups" button...

Review image

In the "Groups settings" window that will appear, scroll down until you see the vboxusers entry. Select it and then click on the "Properties" button...

Review image

Another window will appear, called "Group 'vboxusers' Properties. Just check the box in front of your username and click the "OK" button when you're done...

Review image

Close the "Group settings" and "Users Settings" windows and log out. Log in and open up VirtualBox, start your virtual machine and you will see that you can now access the USB devices!

Review image

Yes... it was that simple!

   
site
site