xuming on August 31st, 2007

本文根据我的个人理解翻译整理,原文地址: http://forums.gentoo.org/viewtopic.php?t=162177 。 感谢强悍的 taviso 利用 FwmButton 实现如下效果 主要特点:9个 button,一个 xclock Step 1. 构思 利用 GIMP、xpaint、dia 或 xfig 等工具画出构思的草图。下图是作者利用 dia 画出的草图: Step 2. 确定尺寸 计算需要的格子数目(以最小的行高或栏宽为一格,这个原则体现在 FvwmButton 的多个地方,需要好好把握),见下图,在纵向上来说,因为第一行行高最低,所以可以以第一行为一格,所以纵向有7格。在横向上来说就无所谓了,等宽,所以记做3格。 Step 3. 新建 Buttons 利用最简单的 FvwmButtons 配置项测试设计的尺寸是否合适。代码如下: DestroyModuleConfig LaunchTime: * *LaunchTime: Rows 7 *LaunchTime: Columns 3 *LaunchTime: (3×1) *LaunchTime: (1×2) *LaunchTime: (1×2) *LaunchTime: (1×2) *LaunchTime: (1×2) *LaunchTime: (1×2) [...]

  • Share/Bookmark

Continue reading about FVWM 中 FvwmButton 效果配置讲解

在 FreeBSD 6.2 上安装了 Xorg 后,如果十分钟内桌面不活动就会自动关闭显示器,这对我来说非常不方便,我在家一般都是三台机器同时用的,显示器动不动就自动关闭真是痛苦。在网上搜索了一番,找到了解决方法。 如果要启用显示器的自动电源管理功能,需要开启 DPMS 功能,步骤如下: # ee /etc/X11/xorg.conf 在 Section "Monitor" 中添加一行:Option "DPMS"。如: Section "Monitor" Identifier "My Monitor" HorizSync 31.5 – 57.0 VertRefresh 50-90 Option "DPMS" EndSection 然后 restart your X server,可以通过“Ctrl+Alt+Backspace”,然后 xinit 重新进入 X 桌面。 这时可通过命令“xset dpms force off”测试是否设置生效。 设置显示器自动关闭时间。还是在“/etc/X11/xorg.conf”中设置Section “ServerLayout”部分,我的设置如下: Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 [...]

  • Share/Bookmark

Continue reading about Xorg 中的电源管理(设置显示器 turn off 时间)

xuming on August 30th, 2007

Linux、FreeBSD 下有形形色色的 terminal emulator,如:aterm, xterm, Eterm, rxvt, Konsole 等等等,到底如何选择呢?各自又有什么特性呢?哪个适合我?今天在网上看到一篇不错的文章,原文网址: http://ayaz.wordpress.com/2007/04/07/aterm-xterm-eterm-rxvt-konsole-oh-my/ 内容如下: aterm, xterm, Eterm, rxvt, Konsole, oh my! “Konsole” supports transparency, but it is slow (and most importantly for me, does not have the “fixed” fonts that xterm uses). “xterm” is cool, but I want transparency which it doesn’t have. “Eterm” is, again, slower than [...]

  • Share/Bookmark

Continue reading about aterm, xterm, Eterm, rxvt, Konsole,选择谁?

xuming on August 30th, 2007

20070830 发现一台 NetBackup 备份服务器在进行 Catalog 备份时,最后总是报 status 84 错误。同时其 Catalog 备份目录 E:\catalog 有最近生成的 catalog 文件 IMAGE1_2,大小约 550 M。 84 号错误是硬件读写方面的错误,查看了一下,最近的 Catalog 总是备份到硬盘 E:\catalog 目录上,而不是按照设置的“备份到磁带”和“备份到磁盘”依次间隔的方式。 分析过程: 在 Catalog 备份方式的设置中,临时去掉备份到 Disk 的方式,只保留备份到 Tape 的方式,手工发起 Catalog 备份,备份成功; 再在 Catalog 备份方式的设置中,临时去掉备份到 Tape 的方式,只保留备份到 Disk 的方式,手工发起 Catalog 备份,可以看到 E:\catalog 目录中先是生成了一个 2GB 大小的文件后,在生成第二个文件时删掉了第一个文件,最终的保留的文件大小约 550M。考虑到此时 E 盘所剩空间不足 1.9G,可以判断是硬盘空间不足问题造成了 catalog 备份到 Disk 时报 [...]

  • Share/Bookmark

Continue reading about NetBackup Catalog Backup status 84 的处理

xuming on August 28th, 2007

参考:http://www.petri.co.il/working_with_group_policy.htm 在每月 NT 补丁升级的时候偶尔会发现某些服务器没有接收到补丁的问题,下面简要的描述一下处理思路和过程。 先查看机器的组策略设置 相关命令有:gpresult、gpupdate、rsop.msc 等。 关于组策略优先级: Child OU GPO > OU GPO > Domain GPO > Site GPO > Local Policy 中途遇到不出现右下角补丁安装提示图标的处理方法: 用 gpresult 查看是否拿到策略 如果拿到,用 wuauclt /detectnow 去拿补丁 如果无响应,重启机器上的 automatic update 服务再运行 wuauclt /detectnow 也可以利用 wuauclt /demoui 命令调出提示的图标。 由于 Windows 2000 不支持 gpupdate 命令,使用另外一个命令: 针对 computer settings Secedit /refreshpolicy machine_policy 针对 user [...]

  • Share/Bookmark

Continue reading about 和补丁安装相关的组策略问题

1. 如何快速获取当前机器上的已经更新的补丁列表? 运行 systeminfo 命令 2. 快速获取需要安装的补丁文件 运行 wuauclt.exe /detectnow 或 wuauclt.exe /resetauthorization /detectnow 可以结合 gpresult 和 gpupdate 命令使用。 3. wuauclt 命令还支持哪些参数? WSUS 2.0 支持的参数: /detectnow /resetauthorization /detectnow /RunHandlerComServer /RunStoreAsComServer /ShowSettingsDialog /ResetEulas /DemoUI 这个狂好 /FastCountdown /FakeData /FakeReboot /SkipEulas WSUS 3.0 支持的参数: /DetectNow – Causes the client to communicate to the server, report to come in [...]

  • Share/Bookmark

Continue reading about 关于 Windows 补丁更新的一些实用知识 (个人总结版)

xuming on August 26th, 2007

今天将闲置好久的富士通 FMV-253L 拿出来查看之前在上面的 FVWM 的配置,这台机子目前我在上面安装了 FreeBSD 6.1。无奈的却发现忘记了 root 密码(呵呵,好久没用了密码都不记得了。) 还原过程: 1. 启动机器; 2. 在出现“Welcome to FreeBSD!”的选择菜单时,选择“4. Boot FreeBSD in single user mode”; 3. 在加载结束后,执行 # /sbin/mount -a # passwd 这样就重设了 root 账户密码。

  • Share/Bookmark

Continue reading about 修改 FreeBSD root 密码

xuming on August 17th, 2007

Because blade servers may have a limited number of network adapters, it will likely be necessary to use VLANs to separate traffic for the service console, VMotion, IP storage, and various groups of VMs. VMware best practices recommend that the service console and VMotion have their own networks for security reasons. If you dedicate physical [...]

  • Share/Bookmark

Continue reading about Configuring ESX Networking on Blade Servers

xuming on August 17th, 2007

The storage you configure for an ESX Server host might include one or more storage area networks (SANs) that use iSCSI, which is a means of accessing SCSI devices and exchanging data records using TCP/IP protocol over a network port rather than through a direct connection to a SCSI device. In iSCSI transactions, blocks of [...]

  • Share/Bookmark

Continue reading about Networking Configuration for Software iSCSI Storage

NetBackup 版本:NetBackup 5.1 所涉及的工具:Process Explorer (微软免费工具) 由于 NetBackup 的问题,有时会发现备份所产生的临时文件(文件格式为 _vxfiVspCacheFile_0.tmp)在备份完成后并没有被清理掉,造成磁盘空间满的故障。而且这个临时不能直接删除,因为有系统进程此时正在打开这个文件。 解决办法如下: 运行 Process Explorer, 然后用快捷键 CTRL+F 打开 “find handle or dll” 对话框; 键入关键字,例如 “vxfiVsp” , 然后单击 “Search” 找到当前打开这个文件的进程; 右键选中当前打开这个文件的进程,选择 “close handle”; 再次尝试删除临时文件,一般都是可以解决问题的。

  • Share/Bookmark

Continue reading about 关于无法删除 NetBackup 备份产生的 temp 文件的解决方法