前幾天手癢,更新 centos 5.4 (yum upgrade)
之後 rt3 就死了
症狀是,打開 rt3 的網址後,畫面一片空白
完全沒有交待死因 (我想比個中指 凸= =)
2011/07/27
rt3 with lighttpd 1.4.26
參考了很多連結,結果都是多的... =_=;
http://redmine.lighttpd.net/wiki/1/RequestTracker
http://requesttracker.wikia.com/wiki/FastCGIConfiguration
上面兩個連結裡面的東西不用看了~ (除非我的方法沒用)
以下的文件假設你是用 centos 5.4,rt3 是安裝在 /opt/rt3
基本上你要用 lighttpd 1.4.26 跑 rt3.8.7 只要做兩件事:
http://redmine.lighttpd.net/wiki/1/RequestTracker
http://requesttracker.wikia.com/wiki/FastCGIConfiguration
上面兩個連結裡面的東西不用看了~ (除非我的方法沒用)
以下的文件假設你是用 centos 5.4,rt3 是安裝在 /opt/rt3
基本上你要用 lighttpd 1.4.26 跑 rt3.8.7 只要做兩件事:
- 按照官方安裝 rt3 的文件確實的裝好;預設是用 apache 跑 rt3
沒有什麼~因為這部份的文件很完整,所以基本上就是照 rt 的官方文件做 - lighttpd 的部份~ 不曉得是太簡單還是他們懶的寫...
- 下載 lighttpd 的 tarball 檔
解開後,找到 INSTALL 的檔案
make 三部曲 - (./configure, make, make test, make install) - 說明:啟用 mod_fastcgi
修改 /etc/lighttpd/lighttpd.conf,將註解拿掉,
修改前:
#"mod_fastcgi",
修改後:
"mod_fastcgi",
說明:告訴 lighttpd 要去哪呼叫 fastcgi 的 handler
一樣是修改 /etc/lighttpd/lighttpd.conf ,找地方加入以下幾行
fastcgi.server = ( "/" =>
((
"socket" => "/tmp/rt-fcgi.socket",
"bin-path" => "/opt/rt3/bin/mason_handler.fcgi",
"check-local" => "disable",
"min-procs" => 4,
"max-procs" => 8
)),
)
這樣就完成了... 這麼簡單的東西,我以前居然要翻遍文件都還沒找到答案... 0rz
2011/06/24
windows 7 停用數位簽章
停用:
BCDedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
BCDedit /set TESTSIGNING ON
啟用:
BCDedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
BCDedit /set TESTSIGNING OFF
BCDedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
BCDedit /set TESTSIGNING ON
啟用:
BCDedit /set loadoptions DDISABLE_INTEGRITY_CHECKS
BCDedit /set TESTSIGNING OFF
2011/06/22
在 hyper-v 掛載 usb 碟
參考:http://blog.ronnypot.nl/?p=721
簡單說:
必須先準備一個 usb 外接硬碟 (我試姆指碟沒成功過)
然後到磁碟管理中將它離線
再到 hyper-v 的虚擬機器中,新增 ide 裝置,實體硬碟那邊就會有可以掛載的裝置
結論: virtualbox (windows) 可以直接共用實體硬碟,方便多了
簡單說:
必須先準備一個 usb 外接硬碟 (我試姆指碟沒成功過)
然後到磁碟管理中將它離線
再到 hyper-v 的虚擬機器中,新增 ide 裝置,實體硬碟那邊就會有可以掛載的裝置
結論: virtualbox (windows) 可以直接共用實體硬碟,方便多了
2011/06/07
vdi | vmdk | vhd 轉換
另一段的來源:
http://blog.tenyi.com/2009/12/convert-from-vmdkvhd-to-vdi-format.html
上網找到的都是舊資料,現在不再需要vditool或qemu,直接利用VirtualBox附的VBoxManage就可以轉換虛擬硬碟的格式。
把vmdk或vhd轉成vdi的指令:
Your are no longer needed to use vditool, the tool "VBoxManage" comes with recent revision VirtualBox.
Just type the command:
來源:http://xmsigh.com/node/89
memo:
http://blog.tenyi.com/2009/12/convert-from-vmdkvhd-to-vdi-format.html
上網找到的都是舊資料,現在不再需要vditool或qemu,直接利用VirtualBox附的VBoxManage就可以轉換虛擬硬碟的格式。
把vmdk或vhd轉成vdi的指令:
VBoxManage clonehd source.vmdk target.vdi --format VDI--format是指target的格式,source的格式似乎會自動判斷
Your are no longer needed to use vditool, the tool "VBoxManage" comes with recent revision VirtualBox.
Just type the command:
VBoxManage clonehd source.vmdk target.vdi --format VDI- format refers to the target format, source format seems to be automatically determined.
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.來源:http://xmsigh.com/node/89
memo:
将virtualbox的虚拟机迁移到windows的Hyper-V
星期五, 03/11/2011 - 14:26 — sighinsilence
由于工作需要,上午测试从virtualbox把虚拟机迁移到windows Hyper-V下面
由于virtualbox的虚拟机文件时vdi,需要将vdi转换成Hyper-V支持的VHD
命令很简单:
VBoxManage clonehd win2003.vdi win2003.vhd --format VHD
进入Hyper-V创建虚拟机的时候,选择刚才转换好的win2003.vhd 文件即可。
新的系统启动之后出现了无法识别网卡驱动的问题,网上搜了一下。
原因:hyper-v使用的新的架构导至win2003和它之前的系统不能识别网卡
解决方法:
1 关闭虚拟机
2 在虚拟机设置中移处网卡
3 添加硬件,选择旧版网络识别器,重新添加,再启虚拟机就可认到网卡。
2011/05/18
一眼帶過:office 2010
常聽人家說:office 新版 好難用,啊是好在哪?
以前遇到這個問題我會瞠目結舌說不出來
但昨天看過 office 2010 的簡介後,我可以告訴你,還真的好了不少~
首先,大家對 office 2007 / 2010 最有感覺的改變,應該就是 ribbon UI
檔案/插入/編輯功能表呢?完全找不到
以前遇到這個問題我會瞠目結舌說不出來
但昨天看過 office 2010 的簡介後,我可以告訴你,還真的好了不少~
首先,大家對 office 2007 / 2010 最有感覺的改變,應該就是 ribbon UI
檔案/插入/編輯功能表呢?完全找不到
- 2010 雖仍使用和 2007 相同的 ribbon UI ,不過因使用者反映不好用,微軟倒也從善如流的把功能表加了(某些)回來
- 其次,office 2010 在功能上比較貼近 apple 感覺,意思是說:現在編輯影片會比以前簡單很多
不但可以在文件中簡單的插入影片(以前就辦的到了),而且還可以對影片按兩下,直接編輯影片的長度、播放起始點
操作上簡易直覺(可以跟 apple 的 iMovie 比)
在 MAC 上就可以簡單做到的影片編輯,現在 office 2010 也有了(雖然不確定 office 可以做到多少)
- execl 可以處理超過 65535 行的資料
- excel 有一個新的增益集,叫 pivot 啥米碗糕的,可以簡單的匯入異質資料庫,並能輕易匯入超過上百萬筆資料
而由於 pivot 是將所有的資料放在記意體中處理,因此非常快速 (但也很吃記憶體) ,微軟建議此增益集至少需要 4g 以上的記憶體
- excel 新的樞鈕分析表比以前更直覺,而且可以在 cell 中,簡單標記出哪一欄的植最大
- excel 可以在 cell 中,針對某些資料繪製各種圖表,可以幫助我們作資料解說
2011/05/04
將 ubuntu 的 console 解析度降低
http://admingroup.com/showthread.php?t=444
HOWTO: Change bootup console resolution to Low Resolution at boot
Remove the comment on line "#GRUB_GFXMODE=640x480"
代碼:
# vi /etc/default/grub
# update-gru
HOWTO: Change bootup console resolution to Low Resolution at boot
Remove the comment on line "#GRUB_GFXMODE=640x480"
代碼:
# vi /etc/default/grub
# update-gru
2011/05/03
groups 的連絡人同步問題
作者 aeolus0829 (archer) 看板 iPhone
標題 [問題] groups 和內建的連絡人資料不一致
時間 Fri Apr 29 10:05:47 2011
───────────────────────────────────────
我用 groups 來管理群組
iphon4 4.3.2
groups 2.2
問題一:
在最近的更新和 jb 後,內建的分組連絡資料都是空的
ex: (以前)
所有連絡資訊 (很多筆連絡人)
我的 iphone (很多筆連絡人)
家人
a
b
c
同學
a
b
c
google contact (很多連絡人)
(現在)
所有連絡資訊 (很多筆連絡人)
我的 iphone (空)
家人 (空)
同學 (空)
google contact (很多連絡人)
但是點選 所有連絡資訊 時,其實所有人都在
只是沒有歸到群組
但是在 groups 中看,又確實有照群組放... = =a
我是用 exchange 的方式作
問題二:
在 groups 中,點選連絡人後,無法發送簡訊
作法:
點選連絡人
點選手機號碼
選擇 send SMS
回到連絡人資訊畫面 <- 正常應該會帶出發送簡訊的畫面吧?
想問有沒有解法 ...
另外,groups 這個詞太一般了,在 google 上很難找到有意義的資料... ="=
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.130.203.238
推 semicoma:如果用groups iapp 搜尋會不會比較多? 04/29 10:20
→ semicoma:而且我印像這不是全名吧? 04/29 10:20
→ aeolus0829:一樣 ... 資料很多.. 只是和我要的沒什麼關係 04/29 10:47
找到問題點了
因為我用了 google sync (Microsoft Exchange)
groups 在重新安裝後,什麼都沒作,就解決了問題二
第一次使用 groups 時,會有警告訊息,說是 Microsoft Exchange 的方式會造成聯絡
資訊有問題
問題一在我在無數次修改、同步、重覆連絡人、修改、刪除、連路人不見後
想到也許是 google sync 造成的
把它砍了,再依版上文章
在 iTunes 的資訊中,選擇 "與 google contact" 同步後
一切都正常了~
※ 編輯: aeolus0829 來自: 61.218.139.174 (05/03 10:47)
標題 [問題] groups 和內建的連絡人資料不一致
時間 Fri Apr 29 10:05:47 2011
───────────────────────────────────────
我用 groups 來管理群組
iphon4 4.3.2
groups 2.2
問題一:
在最近的更新和 jb 後,內建的分組連絡資料都是空的
ex: (以前)
所有連絡資訊 (很多筆連絡人)
我的 iphone (很多筆連絡人)
家人
a
b
c
同學
a
b
c
google contact (很多連絡人)
(現在)
所有連絡資訊 (很多筆連絡人)
我的 iphone (空)
家人 (空)
同學 (空)
google contact (很多連絡人)
但是點選 所有連絡資訊 時,其實所有人都在
只是沒有歸到群組
但是在 groups 中看,又確實有照群組放... = =a
我是用 exchange 的方式作
問題二:
在 groups 中,點選連絡人後,無法發送簡訊
作法:
點選連絡人
點選手機號碼
選擇 send SMS
回到連絡人資訊畫面 <- 正常應該會帶出發送簡訊的畫面吧?
想問有沒有解法 ...
另外,groups 這個詞太一般了,在 google 上很難找到有意義的資料... ="=
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.130.203.238
推 semicoma:如果用groups iapp 搜尋會不會比較多? 04/29 10:20
→ semicoma:而且我印像這不是全名吧? 04/29 10:20
→ aeolus0829:一樣 ... 資料很多.. 只是和我要的沒什麼關係 04/29 10:47
找到問題點了
因為我用了 google sync (Microsoft Exchange)
groups 在重新安裝後,什麼都沒作,就解決了問題二
第一次使用 groups 時,會有警告訊息,說是 Microsoft Exchange 的方式會造成聯絡
資訊有問題
問題一在我在無數次修改、同步、重覆連絡人、修改、刪除、連路人不見後
想到也許是 google sync 造成的
把它砍了,再依版上文章
在 iTunes 的資訊中,選擇 "與 google contact" 同步後
一切都正常了~
※ 編輯: aeolus0829 來自: 61.218.139.174 (05/03 10:47)
2011/04/14
很好的哲學,提醒自己 - The Serenity Prayer
The Serenity Prayer
God grant me the serenity
to accept the things I cannot change;
courage to change the things I can;
and wisdom to know the difference.
Living one day at a time;
Enjoying one moment at a time;
Accepting hardships as the pathway to peace;
Taking, as He did, this sinful world
as it is, not as I would have it;
Trusting that He will make all things right
if I surrender to His Will;
That I may be reasonably happy in this life
and supremely happy with Him
Forever in the next.
Amen.
--Reinhold Niebuhr
God grant me the serenity
to accept the things I cannot change;
courage to change the things I can;
and wisdom to know the difference.
Living one day at a time;
Enjoying one moment at a time;
Accepting hardships as the pathway to peace;
Taking, as He did, this sinful world
as it is, not as I would have it;
Trusting that He will make all things right
if I surrender to His Will;
That I may be reasonably happy in this life
and supremely happy with Him
Forever in the next.
Amen.
--Reinhold Niebuhr
2011/04/01
破音
覺的 ubuntu 音效比 windows 差(破音)嗎?
這有可能是因為 PCM 輸出設太高的關係
輸入 alsamixer 指令,找到 PCM 輸出,如果是在 100% 的狀態,
把它降到 80% 左右就不會再有破音的問題了
這有可能是因為 PCM 輸出設太高的關係
輸入 alsamixer 指令,找到 PCM 輸出,如果是在 100% 的狀態,
把它降到 80% 左右就不會再有破音的問題了
訂閱:
文章 (Atom)