添加上你运营商对应的dns服务器ip即可 nameserver 202.96.128.68
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# tar zxvf redmine-0.9.4.tar.gz
# mv redmine-0.9.4 /usr/local/redmine
# cd /usr/local/redmine/config
设置数据库参数
# cp database.yml.example database.yml
# vi database.yml
production: adapter: mysql
database:redmine
host: localhost
username: redmineuser
password: redminepw
encoding: utf8
保存退出:wq
Remine设定
(注意此时的目录一定要在redmine/config里,不然会出错)
# rake db:migrate RAILS_ENV=”production” //创建表
如果这里运行报
A secret is required to generate an integrity hash for cookie session data.
Use config.action_controller.session = { :session_key => “_myapp_session”,
先执行 #rake config/initializers/session_store.rb
如果提示没有mysql驱动,那请先执行#gem install ruby-mysql
# cd /usr/local/redmine/config
设置数据库参数
# cp database.yml.example database.yml
# vi database.yml
production: adapter: mysql
database:redmine
host: localhost
username: redmineuser
password: redminepw
encoding: utf8
保存退出:wq
Remine设定
(注意此时的目录一定要在redmine/config里,不然会出错)
# rake db:migrate RAILS_ENV=”production” //创建表
如果这里运行报
A secret is required to generate an integrity hash for cookie session data.
Use config.action_controller.session = { :session_key => “_myapp_session”,
先执行 #rake config/initializers/session_store.rb
如果提示没有mysql驱动,那请先执行#gem install ruby-mysql
(注意此时的目录一定要在redmine/config里,不然会出错)
# rake db:migrate RAILS_ENV=”production” //创建表 如果这里运行报 A secret is required to generate an integrity hash for cookie session data.
Use config.action_controller.session = { :session_key => “_myapp_session”, 先执行 #rake config/initializers/session_store.rb 如果提示没有mysql驱动,那请先执行#gem install ruby-mysql
再# 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.