预览模式: 普通 | 列表

两节点uec测试成功

  基于ubuntu 10.04 amd64 的两节点 ubuntu eucalyptus cloud 安装成功,实例运行正常,下一步学习镜像文件的制作。

Tags: 云计算 Ubuntu eucalyptus

分类:Ubuntu | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 11

查看硬件信息

查看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: 硬件

分类:Ubuntu | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 50

开源硬件的定义

BoingBoing covers the launch of the "Open Source Hardware Definition" and the announcement of the first Open Hardware Summit. "Open Source Hardware (OSHW) is a term for tangible artifacts -- machines, devices, or other physical things -- whose design has been released to the public in such a way that anyone can make, modify, distribute, and use those things. This definition is intended to help provide guidelines for the development and evaluation of licenses for Open Source Hardware."


英文原文:http://lwn.net/Articles/396011/rss

查看更多...

Tags: 开源 硬件

分类:硬件资料 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 69

vmware中linux虚拟机的时间同步

   使用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

分类:Ubuntu | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 121

R1762误删os后的还原

首先去锐捷官网上下载对应的OS,然后运行tftp,接着打开路由电源,启动时按ctrl+c进入bootloader模式,输入

tftp 192.168.1.2 192.168.1.200 rgnos.bin -main -go 

其中192.168.1.2是指定路由的ip,192.168.1.200是tftp服务器的ip,rgnos.bin是路由的OS。升级过程不要断电或重启路由。

升级后的版本如下:

查看更多...

Tags: 1762 锐捷

分类:网络相关 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 106

xp无人值守安装的winnt.sif

把以下代码保存为光盘i386/winnt.sif 就可以了。放了很久的东西。。。

XML/HTML代码
  1. ;SetupMgrTag   
  2. [Data]   
  3.     AutoPartition=1  
  4.     AutomaticUpdates=yes  
  5.     MsDosInitiated="0"  
  6.     UnattendedInstall="Yes"  
  7.   
  8. [Unattended]   
  9.     UnattendMode=FullUnattended  
  10.     OemSkipEula=Yes  
  11.     OemPreinstall=Yes  
  12.     TargetPath=\WINDOWS   
  13.     UnattendSwitch="yes"  
  14.     WaitForReboot="No"  
  15.   
  16. [GuiUnattended]   
  17.     AdminPassword=*   
  18.     EncryptedAdminPassword=NO  
  19.     OEMSkipRegional=1  
  20.     TimeZone=210  
  21.     OemSkipWelcome=1  
  22.   
  23. [UserData]   
  24.     ProductKey=DG8FV-B9TKY-FRT9J-6CRCC-XPQ4G   
  25.     FullName="XP"  
  26.     orgName="3gcomet"  
  27.     ComputerName=*   
  28.   
  29. [FavoritesEx]   
  30.     Title1="星魂博客.url"  
  31.     URL1="http://www.3gcomet.com"  
  32.   
  33. [Branding]   
  34.     BrandIEUsingUnattended=Yes  
  35.   
  36. [Proxy]   
  37.     Proxy_Enable=0  
  38.     Use_Same_Proxy=1  
  39.   
  40. [Components]   
  41.     msmsgs=off  
  42.     msnexplr=off  
  43.     freecell=off  
  44.     hearts=off  
  45.     pinball=off  
  46.     spider=off  
  47.     solitaire=off  
  48.     zonegames=off  
  49.     minesweeper=off  
  50.   
  51. [TapiLocation]   
  52.     CountryCode=86  
  53.     Dialing=Tone  
  54.   
  55. [RegionalSettings]   
  56.     LanguageGroup=9,10   
  57.        
  58. [Identification]   
  59.     JoinWorkgroup=WORKGROUP  
  60.   
  61. [Networking]   
  62.     InstallDefaultComponents=Yes  
  63.   
  64. [Shell]   
  65.     CustomDefaultThemeFile="%WinDir%\Resources\Themes\royale.theme"  

 

Tags: xp

分类:微软系统 | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 123

让apache2支持https

 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

查看更多...

Tags: apache https ssl sed

分类:Ubuntu | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 191

lucid源的redmine有点问题

  在 http://mirrors.163.com 源里面的redmine 0.9.3有点问题。默认安装的情况下中文乱码,缺少files,log,tmp目录,在/usr/share/redmine中加入3个目录还是不行。还是要手动安装一下。

Tags: redmine

分类:Ubuntu | 固定链接 | 评论: 0 | 引用: 0 | 查看次数: 181