两节点uec测试成功
作者:comet 日期:2010-07-30
查看硬件信息
作者:comet 日期:2010-07-23
查看CPU:
cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Pentium(R) 4 CPU 2.00GHz
stepping : 4
cpu MHz : 2004.647
cache size : 512 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm up pebs bts
bogomips : 4009.29
clflush size : 64
cache_alignment : 128
address sizes : 36 bits physical, 32 bits virtual
power management:
----------------------------------------------
查看内存:
free -m
total used free shared buffers cached
Mem: 496 467 29 0 231 193
-/+ buffers/cache: 41 455
Swap: 956 0 956
-----------------------------------------------
查看硬盘:
hdparm -i /dev/sda
/dev/sda:
Tags: 硬件
开源硬件的定义
作者:comet 日期:2010-07-16
英文原文:http://lwn.net/Articles/396011/rss
vmware中linux虚拟机的时间同步
作者:comet 日期:2010-07-05
使用vmware server创建的虚拟机会有时间不同步的情况,如果是windows的虚拟系统,可以通过安装vmware tools后在控制面板设置好便可以定时同步。如果是linux的虚拟系统,通过编辑vmx文件,添加或修改对应的选项:
tools.syncTime = TRUE
time.synchronize.continue = TRUE
time.synchronize.restore = TRUE
time.synchronize.resume.disk = TRUE
time.synchronize.shrink = TRUE
time.synchronize.tools.startup = TRUE
解释如下:
| Option | Effect |
| tools.syncTime | If set to TRUE, the clock syncs periodically. |
| time.synchronize.continue | If set to TRUE, the clock syncs after taking a snapshot. |
| time.synchronize.restore | If set to TRUE, the clock syncs after reverting to a snapshot. |
| time.synchronize.resume.disk | If set to TRUE, the clock syncs after resuming from suspend and after migrating to a new host using the VMware VMotion feature. |
| time.synchronize.shrink | If set to TRUE, the clock syncs after defragmenting a virtual disk. |
| time.synchronize.tools.startup | If set to TRUE, the clock syncs when the tools daemon starts up, normally while the guest operating system is booting. |
参考自:www.vmware.com/pdf/vmware_timekeeping.pdf
Tags: vmware
R1762误删os后的还原
作者:comet 日期:2010-07-02
xp无人值守安装的winnt.sif
作者:comet 日期:2010-06-29
把以下代码保存为光盘i386/winnt.sif 就可以了。放了很久的东西。。。
- ;SetupMgrTag
- [Data]
- AutoPartition=1
- AutomaticUpdates=yes
- MsDosInitiated="0"
- UnattendedInstall="Yes"
- [Unattended]
- UnattendMode=FullUnattended
- OemSkipEula=Yes
- OemPreinstall=Yes
- TargetPath=\WINDOWS
- UnattendSwitch="yes"
- WaitForReboot="No"
- [GuiUnattended]
- AdminPassword=*
- EncryptedAdminPassword=NO
- OEMSkipRegional=1
- TimeZone=210
- OemSkipWelcome=1
- [UserData]
- ProductKey=DG8FV-B9TKY-FRT9J-6CRCC-XPQ4G
- FullName="XP"
- orgName="3gcomet"
- ComputerName=*
- [FavoritesEx]
- Title1="星魂博客.url"
- URL1="http://www.3gcomet.com"
- [Branding]
- BrandIEUsingUnattended=Yes
- [Proxy]
- Proxy_Enable=0
- Use_Same_Proxy=1
- [Components]
- msmsgs=off
- msnexplr=off
- freecell=off
- hearts=off
- pinball=off
- spider=off
- solitaire=off
- zonegames=off
- minesweeper=off
- [TapiLocation]
- CountryCode=86
- Dialing=Tone
- [RegionalSettings]
- LanguageGroup=9,10
- [Identification]
- JoinWorkgroup=WORKGROUP
- [Networking]
- InstallDefaultComponents=Yes
- [Shell]
- CustomDefaultThemeFile="%WinDir%\Resources\Themes\royale.theme"
Tags: xp
让apache2支持https
作者:comet 日期:2010-06-21
os:ubuntu server 8.04
1.安装需要用到的包
sudo apt-get install ssl-cert
2.证书默认是1个月的有效期,这里是测试用,改成10年。
sudo sed -i -e 's/keyout $output/keyout $output -days 3650/' /usr/sbin/make-ssl-cert
3.建立目录,并生成证书
sudo mkdir /etc/apache2/ssl
sudo make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem











