Archive

‘軟件’ 分類過的Archive

redmine installation

2010年1月8日 評論已關閉

My redmine setup log on Server 2008 SP2 x64 Web Edition, IIS7, native FastCGI and Microsoft URL Rewrite    

Base on 2 best article I found by googling    

with something I found may be useful.    

First of all -  prepare files    

 Then – Install files    

Step 1: Install Ruby 1.8.6.
According to Redmine Installation Guide ( http://www.redmine.org/wiki/redmine/RedmineInstall ), Support Ruby version is 1.8.6. & 1.8.7. 

Step 2: Install rails

gem install rails

Step 3: Install RubyForIIS
Because the fcgi extension not bundle in rails.
Afterward, test fcgi    

c:\ruby\bin\>irb
irb(main):001:0> require 'fcgi'  
=> true   
irb(main):002:0> quit

Step 4: Extract Redmine files to target folder    

e.g.  C:\inetpub\redmine    

below I will call it  [Redmine Path]    

Step 5: Create folder and Set folder permission (Step 7 on Redmine Installation Guide)
make a folder called \tmp and \public\plugin_assets under [Redmine Path]

cd [Redmine Path]
md tmp
md public\plugin_assets

and assign tmp, files, log,  public\plugin_assets IWAM account ( or Network Service  account) has full control    

    

    

Step 6: Create Database
Just create database, user account and password (Step 3 on Redmine Installation Guide).
make sure the default  database character is "utf-8″ because the create database script did not assign.    

Step 7: Config files
copy [Redmine Path]\config\database.y ml.example to [Redmine Path]\config\database. yml and edit the "production" database connection settings    

Step 8: run database create script on redmine root folder    

rake db:migrate RAILS_ENV="production"    and create session store    

cd [Redmine Path]
rake config/initializers/session_store.rb

Step 9: test site by using build-in webrick (step 8 on Redmine Installation Guide).    

ruby script/server webrick -e production

Step 10:IIS config

  1. Create a web site and set physical path to redmine public folder
  2. Copy/rename [Redmine Path]\public\dispatch.fcgi.example to [Redmine Path]\public\dispatch.fcgi
  3. Modify [Redmine Path]\config\environment.rb, uncomment line "# ENV['RAILS_ENV'] ||= 'production'" to assign the environment to production
  4. Copy/rename [Redmine Path]\config\email.yml.example to [Redmine Path]\config\email.yml and setup Outgoing email settings
  5. Module Setting
  6. URL Mapping
    Request path: dispatch.fcgi
    Module: FastCgiModule
    Executable (optional):
    c:\Ruby\bin\Ruby.exe|[Redmine Path]\public\dispatch.fcgi production

Step 11:URL Rewrite

paste following url rewrite config into web.config under <system.webServer> branch

<rewrite>
 <rules>
 <clear />
 <rule name="Imported Rule 1-1" stopProcessing="true">
  <match url="^(.*)(\.png)(\.)$" ignoreCase="true" />
  <conditions logicalGrouping="MatchAll" />
  <action type="Rewrite" url="{R:1}.png" appendQueryString="false" />
 </rule>
 <rule name="Imported Rule 1">
  <match url="^$" ignoreCase="false" />
  <action type="Rewrite" url="index.html" appendQueryString="true" />
 </rule>
 <rule name="Imported Rule 2">
  <match url="^([^.]+)$" ignoreCase="false" />
  <action type="Rewrite" url="{R:1}.html" appendQueryString="true" />
 </rule>
 <rule name="Imported Rule 3" stopProcessing="true">
  <match url="^(.*)$" ignoreCase="false" />
  <conditions logicalGrouping="MatchAll">
  <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" pattern="" ignoreCase="false" />
  </conditions>
  <action type="Rewrite" url="dispatch.fcgi" appendQueryString="true" />
 </rule>
 </rules>
</rewrite>

Step 12:Minor configuration

[Redmine Path]\config\environment.rb

uncomment following line to force rails environment to production

ENV['RAILS_ENV'] ||= 'production'

好用的專案管理 – redmine

2010年1月8日 評論已關閉

由於有新project 並且要有效管理現有的project, 一套管現軟件是必需的.
見到pfsense個redmine幾好, 再到wiki上對比過幾套的功能後, 最後選了redmine.

http://www.redmine.org/

第一次接觸 Ruby、Ruby on Rail, 同時又要在Server 2008 的IIS7 上用FastCGI運行, 再加上外面的FAQ唔多齊全. 結果玩足一日才能夠安裝完成.

pfSense 2.0 Beta1 Cont.

2010年1月5日 評論已關閉

今日終於有時間做下載測試

用Vuze BT 19.70GB, 9:25開始, 到12:13已完成51.7%.

Broadband: HGC 10M
Router Hardware: 致銘ITX-M4S2GAP w/2GB DDR2, 4GB CF
Router Software: pfSense 2.0 Beta1 snapshot 2009-12-31
Modified: kern.polling.idle_poll=0

Processor Usage, current 5%

Session Table, current 2200 sessions, 25.4 state changes per second

Traffic, current DL 9.59Mbps, UL 5.42Mbps

Categories: SoftRouter, 網絡, 軟件 Tags: ,

新的一年, 新的開始 pfSense

2010年1月1日 評論已關閉

在除夕前Update 左做pfSense 2.0 Beta1, 我張Atheros 9280終於Detect 到. 而且LAN同wifi個interface bridge可以正常運作.

Categories: 網絡, 軟件 Tags: ,

因為VPN問題, 轉左用pfSense

2009年12月7日 評論已關閉
Uploading to FTP Server @ 10Mbps.
開了Polling, 關閉了idle_poll, 個CPU Loading 還可以接受
Categories: 網絡, 軟件 Tags: , ,

Vyatta Core 6 alpha

2009年11月12日 評論已關閉

Vyatta Releases Vyatta Core 6 Alpha

Vyatta 今日推出了VC6的alpha版, 而且一出就是alpha 2.

新增功能有

  • Wireless AP (可作為AP的 PCI CARD)
  • Traffic Statistics ( Netflow & Sflow )
  • 加強 IPSec  連接的相容能力
  • 加入了之前訂閱版的功能
    • Firewall enchancements
    • NAT enchancements
    • QoS enhancements
    • IPv6 enhancements
    • Over 200 bug fixes

http://www.vyatta.org/downloads.
VC6 ALPHA (recommended for developers & hackers)
VC6 Alpha – Live CD iso
Date: Nov 12, 2009
Size:159 MB
MD5:e1e05745f36a37995915122f72926786

Download: via HTTP | via BitTorrent
Release Notes

今晚唔知有無時間試呢

Categories: SoftRouter, 網絡, 軟件 Tags:

Win7 + Server2k8

2009年11月5日 評論已關閉

今日終於有時間試Windows AIK, 而且還找到方法把Server 2008 Export到Win7個install.wim裏面.
_DSC6332

LINKS
The Windows® Automated Installation Kit (AIK) for Windows® 7
http://www.microsoft.com/downloads/details.aspx?familyid=696DD665-9F76-4177-A811-39C26D3B3B34&displaylang=en

Categories: 軟件 Tags:

vyatta + IPTraf

2009年11月4日 評論已關閉

利用IPTraf來實時監察router的流量

安裝方法
http://www.vyatta.org/forum/viewtopic.php?t=2947

BT中…vyatta - IPTraf

Categories: SoftRouter, 網絡, 軟件 Tags:

Pure MSN/Windows Live Messenger

2009年9月2日 評論已關閉

http://pank.org/im/
上星期有個朋友話SERVER SESSION的MSN全部登入唔到, 原來MSN改版後一定要新版本才可以登入.

找了很久也找不到一個版本可以在WINDOWS SERVER 2003 上安裝. 應該因為原裝MSN的INSTALLER 只可以在WORKSTATION/PC上安裝. 找了個軟件修改INSTALLER的VALIDATION CONDITION也沒幫助.

最後找到個非原版MSN – Pure MSN.

Pure MSN 除了沒有廣告外, 明確的版本記錄、分類, 以及無安裝限際成為最值得收藏的原因.

Pure MSN

Categories: 軟件 Tags:

Cacti

2009年9月2日 評論已關閉

一套很好的SNMP RRD圖表工具, 可以很簡單管理大量Device及多個interface 的圖表.

圖表可依 template 生成不同的sample unit, 更可依時間顯示及自由ZOOM.
cacti

可自定Graph Tree, 自由加插圖表
cacti2

軟件主頁
http://www.cacti.net/

Categories: 軟件 Tags: