nameserver 202.96.128.166
nameserver 8.8.8.8
安裝好rails以後,可以執行: rails –v 確認一下rails的版本。 Rake安裝 # gem install rake //直接使用gem命令安裝rake. 下載redmine (搞了半天,終於到正事了~~~) http://rubyforge.org/frs/?group_id=1850&release_id=43474 這裡要下載你redmine對應支持的版本 大家如果不清楚關系,可以到官網查看 http://www.redmine.org/wiki/redmine/RedmineInstall Redmine安裝 # wget http://rubyforge.org/frs/download.php/56909/redmine-0.9.4.tar.gz再# rake db:migrate RAILS_ENV=”production”
# rake redmine:load_default_data RAILS_ENV=”production” //加載默認配置
這裡會要求選擇默認語言,我選的中文zh:
Select language: bg, ca, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sk, sr, sv, th, tr, uk, vn, zh, zh-tw [en] zh
這個默認設置只是在未登錄時的界面語言,當用戶登錄後,默認語言還是英語,在My account裡可以修改成其它語言。
啟動WEB服務
# ruby script/server webrick -e production
或# ruby /usr/local/redmine/script/server webrick -e production
停止web服務方法:在當前啟動窗口按ctrl+C
訪問http://ip:3000/
初始用戶名/密碼:admin/admin
這樣啟動後,啟動窗口是不能關閉的,所以要使Redmine作為服務啟動,需添加-d參數:
# ruby script/server webrick -e production -d
或# ruby /usr/local/redmine/script/server webrick -e production –d
停止服務方法:(ps命令查出此進程的pid號,再殺掉,目前好像只能這樣,我看了–help裡面,還沒有停止的參數。)
# ps aux | grep ruby
# kill -9 [PID
ezFAQ plugin 0.3.5
This is a FAQ management plugin for Redmine.
ONLY compatible with Redmine last devel. NOT compatible with Redmine 0.8.x
=== Feature
1. Ask question and request a user to answer it.
2. FAQ is grouped by categories.
3. FAQ's modification has history logs.
4. Send notify email to the author and the assigned user who should answer the question.
5. FAQ creation or update is added to redmine's activity.
6. FAQ and FAQ-list can be exported to PDF document.
7. FAQ are searchable using redmine's search engine.
=== Note
Since the plugin applies a patch to redmine core, it can only run properly under
production environment. When runs under development envrionment, the faq with attachments
will fail to show.
Redmine currently doesn't support plugin to extend its search scope, so you have to
modify redmine's search controller to search FAQ.
(Edit ln51 in search_controller.rb, add faqs to the @object_types)
=== Plugin installation
1. Copy the plugin directory(ezfaq_plugin) into the vendor/plugins directory
NOTE: The plugin directory must be ezfaq_plugin!
2. Migrate plugin:
rake db:migrate_plugins
if can't run u can use: rake db:migrate_plugins RAILS_ENV=production
3. Start Redmine
Installed plugins are listed on 'Admin -> Plugins' screen.