Archive for the 'Linux' Category

用 dmidecode 搜集主机信息

Auto Date Thursday, November 26th, 2009

管理主机的序列号等其他资产信息不是一件容易的事,dmidecode 这个免费的工具完全可以搜集到大部分所需要的主机信息。

[root@freelamp dmidecode-2.10]# /usr/local/sbin/dmidecode -s ?

Valid string keywords are:
bios-vendor
bios-version
bios-release-date
system-manufacturer
system-product-name
system-version
system-serial-number
system-uuid
baseboard-manufacturer
baseboard-product-name
baseboard-version
baseboard-serial-number
baseboard-asset-tag
chassis-manufacturer
chassis-type
chassis-version
chassis-serial-number
chassis-asset-tag
processor-family
processor-manufacturer
processor-version
processor-frequency

Reblog this post [with Zemanta]

Post to Twitter

Ubuntu vs. OpenSolaris 在 NetBook 上的性能比较

Auto Date Saturday, July 18th, 2009

这篇文章比较了 Ubuntu 9.04 和 OpenSolaris 2009.06 在 Netbook 上的性能比较,当然在各项指标上各有优缺点,在我看来, OpenSolaris 在 I/O, Threads 上要明显的优越于 Ubuntu 。

Reblog this post [with Zemanta]

Post to Twitter

在 VirtualBox 上安装一个 LiveAndroids

Auto Date Thursday, July 16th, 2009
T-Mobile launch of Android phone
Image by ronin691 via Flickr

本来就是小菜一碟, 同事花 2180 大洋买了一个 gPhone, 看不到样机,就下载 V0.2 的 LiveCD 安装到 VirtualBox 上看看 gPhone 的西洋镜吧。liveandroids

Reblog this post [with Zemanta]

Post to Twitter

BTRFS — Linux 上的 ZFS 替代品

Auto Date Tuesday, May 12th, 2009
ZFS en Mac OSX Leopard
Image by Iban Nieto via Flickr

ZFS 是 Solaris 10 的主要特性。现在 Linux 上也可以拥有和 ZFS 类似的文件系统了。这就是 btrfs 。

Reblog this post [with Zemanta]

Post to Twitter

Ubuntu 9.0.4 Desktop on top of Virtualbox 2.2.2

Auto Date Sunday, May 3rd, 2009
VirtualBox
Image via Wikipedia

IT for most ordinary people, including those called themselves in the industry, may still had the complexity. Different version, different platform.

在这个五一小长假里,做的一件有意义的事情就是把机器里的 VirtualBox 从 2.2.0 升级到 2.2.2 ,因为看到 2.2.0 上的那些   GuestOS 运行起来都有问题。

然后,安装了 Ubuntu 9.0.4 的 Desktop 版本到 VBox 上。安装的过程有点慢,特别是配置 apt-get 镜像的时候,那个时候,必须断开一下网络,重新连接,否则网络的 timeout 估计遥遥无期了。断开的方式很简单,在 VBox 的右下菜单右键点击那个网卡按钮,不选中网卡即可。

网络上的文章谈到的不能安装 Guest ,恐怕是不对的,我的机器上安装了 Guest Edition ,没有看到不稳定的情形。显卡的  3D 加速功能也很正常。

Read the rest of this entry »

Post to Twitter

OpenSolaris vs Linux

Auto Date Tuesday, March 17th, 2009

有一点他们是一样的,都是 GNU 背景的。然而作者 argue 的仅仅是小小的一些点。当然, OpenSolaris 作为服务器进入企业来代替 Linux 可能还需时日,然而,在桌面而言,其成熟度不亚于 Linux 。

Post to Twitter

五大奇客级别的 Linux 发行版本

Auto Date Monday, March 9th, 2009

要称得上奇客,当然得要几把刷子,大路货的 Linux 版本谁都会玩一些,就好象 Windows XP ,我家儿子都会很多。这篇文章介绍的5个 Linux 发行版本或许能让您迈入 Geek 的行列,您可以打造真正属于自己的 OS 。

1. Slackware—the classic. Main release is very stable. You can use Slackware-Current to keep up with changes.

2. Arch Linux—possibly the most optimized binary distribution available. Similar to Slackware in structure, but simpler than Slackware in what it comes with—not a whole lot.

3. Debian—another classic with Debian, you can get a rock solid stable version, which is awesome for server environments, but gets old quickly for desktop users.

4. Gentoo—one of the classic source based distributions. The project has recently fallen on hard times, but people who want to build their own source code based system still frequently turn to Gentoo.

5. Sabayon—a Gentoo offshoot that makes initial entry into the source based distro space a bit easier initially.


Post to Twitter

为 gOS 安装 FCITX 输入法

Auto Date Sunday, December 28th, 2008

gOS 是一个很有意思的 OS 。安装在 XP 上的 VirtualBox 2.1.0 上,默认的 SCIM 输入不带拼音输入法, 遂安装这个 Fcitx 输入法。

apt-get install im-switch fcitx
im-switch -s fcitx -z default

重新 logout/login 后,就可以使用新的输入法了。

这篇文章就是在 gOS 上键入的。

Post to Twitter

在 Dell E6400 上的 WinXP 下安装 VirtualBox 上的 gOS

Auto Date Friday, December 26th, 2008

认为 gOS 是一个迷人的 OS, 所谓 Good OS, 或者 Google OS ,都是 Google 的应用。然而在安装 VirtualBox 增强功能时,必须先安装 make ,内核 头文件的包等,花了些时间。终于能让 gOS 跑在 1440X900 的全屏上了。

和原先的版本相比, gmail/calendar 等功能都用了新的浏览器界面,而不是 FireFox,还在桌面上能显示很多 Gadget。

在这台 4G  内存,双内核的笔记本上,还要多测试测试,逐步把 Windows 的应用移到 gOS 上。

Easy Life!

Post to Twitter

kernel: ip_conntrack: table full, dropping packet.

Auto Date Thursday, November 27th, 2008

解决的办法:

Read the rest of this entry »

Post to Twitter