学着点….
又更新一下给乃们RSS订阅者s
Beyond The Data
学着点….
又更新一下给乃们RSS订阅者s
因为主页上面HL Twitter显示时间经常不准
显示Thread时间都会差8个小时
这是我的SP和我本地北京时间的差距,
不管他,就手动去调了一下时针
Editing hl-twitter/hl_twitter.php (active)
add following line at the beginning, following “<?php” tag:
1 |
date_default_timezone_set('America/Los_Angeles'); |
把HL要用的时区往前拨了8个钟..不管他…我只要CST访问看着正常就好了
至于到了夏令时,估计也没问题…再改呗
今天准备把本地的VirtualBox从3.2升级到4
因为官网F11没有对应VBox4的rpm,所以只能用General Binary来安装
原来的OEL5 Unbreakable镜像拿过来还是有问题的,除了之前的IOAPIC,还有USB禁用
不断地出现有Vos Paused很麻烦,提示Memory过低。
问题应当是给Vos分配了过高的内存,可是我之前3.2版本的没问题..
[Solution/Wr]:
调低Virtual OS分配的内存,具体调多低。。多试几次一直到Error不再发生即可
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
00:05:48.414 GMM: Statistics: 00:05:48.414 Allocated pages: 1d9d1 00:05:48.414 Maximum pages: 3d79e 00:05:48.414 Ballooned pages: 0 00:05:48.415 VM: Raising runtime error 'HostMemoryLow' (fFlags=0x2) 00:05:48.415 Changing the VM state from 'RUNNING' to 'SUSPENDING'. 00:05:48.741 Changing the VM state from 'SUSPENDING' to 'SUSPENDED'. 00:05:48.742 Console: VM runtime error: fatal=false, errorID=HostMemoryLow message="Unable to allocate and lock memory. The virtual machine will be paused. Please close applications to free up memory or close the VM" |
New update: Fri Dec 24 17:54:15 CST 2010
放弃更新至VBox4.0,回到VBox3.2
Updating VirtualBox on Fedora.11
Fetch from VBox Download page,
VirtualBox-4.0.0-69151-Linux_x86.run
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
[root@suse-pc tmp]# sh ./*run Verifying archive integrity... All good. Uncompressing VirtualBox for Linux installation.......... VirtualBox Version 4.0.0r69151(2010-12-22T14:24:16Z) installer Installing VirtualBox to /opt/VirtualBox Python found: python, installing bindings... error: invalid Python installation: unable to open /usr/lib/python2.6/config/Makefile (No such file or directory) Building the VirtualBox kernel modules VirtualBox has been installed successfully. You will find useful information about using VirtualBox in the user manual /opt/VirtualBox/UserManual.pdf and in the user FAQ http://www.virtualbox.org/wiki/User_FAQ We hope that you enjoy using VirtualBox. |
Error about python installation,
fix:
1 |
yum install python-devel |
最近一直不在意一处WARNING,到是仔细看了才觉得应该记下来。
当tar选択绝对路径(Absolute Path)而非相对路径(Relative Path)时候,
tar会报WARNING,默认去除root符号
这算是一种安全策略吧,Linux有时候设计就是这样,可以理解,但比较生硬
因为tar有时候只是为了备份还原,有时候只是简单的打包。
这种默认的设置还真有点意思
1 2 3 |
[root@vm user]# tar -cjvf /tmp/atest.tar.gz /tmp/libs.pm tar: Removing leading `/' from member names /tmp/libs.pm |
如果想保留/
记号的话,比如tar备份 /etc/grub.conf,那么在解包时候
无论tar包位置如何,都会解压覆盖原/etc/grub.conf
1 2 |
-P, --absolute-names don't strip leading `/'s from file names |