http://www.redmine.org.cn/download

Linux下安装项目管理工具Redmine
1、Ruby安装
Ruby on Rails网站推荐使用1.8.7版。

点击(此处)折叠或打开

  1. # wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz
  2. # tar zxvf ruby-1.8.7-p174.tar.gz
  3. # cd ruby-1.8.7-p174
  4. # ./configure –prefix=/usr/local/ruby
  5. # make && make install

设置Ruby环境变量

点击(此处)折叠或打开

  1. # cd ~
  2. # vi .bash_profile

添加下面一行

点击(此处)折叠或打开

  1. export PATH=$PATH:/usr/local/ruby/bin

保存退出:wq

点击(此处)折叠或打开

  1. # . .bash_profile

2、RubyGems安装

点击(此处)折叠或打开

  1. # wget https://rubygems.org/rubygems/rubygems-1.3.5.tgz(http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz)
  2. # tar zxvf rubygems-1.3.5.tgz
  3. # cd rubygems-1.3.5
  4. # ruby setup.rb

3、Rake安装

点击(此处)折叠或打开

  1. # gem install rake //直接使用gem命令安装rake.
  2. //也可以下载安装地址:http://rubyforge.org/frs/download.php/56872/rake-0.8.7.tgz

4、Ruby on Rails

点击(此处)折叠或打开

  1. # gem install rails
  2. 安装成功提示:
  3. Successfully installed activesupport-2.3.3
  4. Successfully installed activerecord-2.3.3
  5. Successfully installed rack-1.0.0
  6. Successfully installed actionpack-2.3.3
  7. Successfully installed actionmailer-2.3.3
  8. Successfully installed activeresource-2.3.3
  9. Successfully installed rails-2.3.3
  10. 7 gems installed
  11. Installing ri documentation for activesupport-2.3.3…
  12. Installing ri documentation for activerecord-2.3.3…
  13. Installing ri documentation for rack-1.0.0…
  14. Installing ri documentation for actionpack-2.3.3…
  15. Installing ri documentation for actionmailer-2.3.3…
  16. Installing ri documentation for activeresource-2.3.3…
  17. Installing ri documentation for rails-2.3.3…
  18. Installing RDoc documentation for activesupport-2.3.3…
  19. Installing RDoc documentation for activerecord-2.3.3…
  20. Installing RDoc documentation for rack-1.0.0…
  21. Installing RDoc documentation for actionpack-2.3.3…
  22. Installing RDoc documentation for actionmailer-2.3.3…
  23. Installing RDoc documentation for activeresource-2.3.3…
  24. Installing RDoc documentation for rails-2.3.3…
  25. //也可以下载安装地址:http://rubyforge.org/frs/download.php/60599/rails-2.3.3.tgz

5、Redmine安装

点击(此处)折叠或打开

  1. # wget http://rubyforge.org/frs/download.php/56909/redmine-0.8.4.tar.gz
  2. # tar zxvf redmine-0.8.4.tar.gz
  3. # mv redmine-0.8.4 /usr/local/redmine
  4. # cd /usr/local/redmine/config
  5. 设置数据库参数
  6. # cp database.yml.example database.yml
  7. # vi database.yml
  8. production:
  9. adapter: mysql
  10. database:redmine
  11. host: localhost
  12. username: redmineuser
  13. password: redminepw
  14. encoding: utf8
  15. 保存退出:wq
  16. 创建mysql数据库
  17. # /usr/local/mysql/bin/mysql -u root -p
  18. Mysql> create database redmine default character set utf8;
  19. grant all on redmine.* to root;
  20. grant all on redmine.* to root@localhost;
  21. grant all on redmine.* to redmineuser;
  22. grant all on redmine.* to redmineuser @localhost;
  23. set password for redmineuser@localhost=password(‘redminpw’);
  24. Mysql>exit;

Remine设定

点击(此处)折叠或打开

  1. (注意此时的目录一定要在redmine/config里,不然会出错,本文后面有错误信息。)
  2. # rake db:migrate RAILS_ENV=”production” //创建表
  3. # rake redmine:load_default_data RAILS_ENV=”production” //加载默认配置
  4. 这里会要求选择默认语言,我选的中文zh:
  5. 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
  6. 这个默认设置只是在未登录时的界面语言,当用户登录后,默认语言还是英语,在My account里可以修改成其它语言。
  7. 启动WEB服务
  8. # ruby script/server webrick -e production
  9. 或# ruby /usr/local/redmine/script/server webrick -e production
  10. 停止web服务方法:在当前启动窗口按ctrl+C
  11. 访问http://ip:3000/
  12. 初始用户名/密码:admin/admin
  13. 这样启动后,启动窗口是不能关闭的,所以要使Redmine作为服务启动,需添加-d参数:
  14. # ruby script/server webrick -e production -d
  15. 或# ruby /usr/local/redmine/script/server webrick -e production –d
  16. 停止服务方法:(ps命令查出此进程的pid号,再杀掉,目前好像只能这样,我看了–help里面,还没有停止的参数。)
  17. # ps aux | grep ruby
  18. # kill -9 [PID]
  19. OK,安装完毕!可以进去玩了!哈哈!
  20. 贴个图,秀一下,嘿嘿~~~

Linux下安装项目管理工具Redmine的更多相关文章

  1. Windows 下安装项目管理工具 Redmine 1.1.2

    1.InstantRails-2.0-win 下载地址  https://rubyforge.org/frs/?group_id=904 2.redmine1.1.2 下载地址  http://www ...

  2. Linux下安装yum工具

    Linux下安装yum工具 http://blog.csdn.net/caoshichaocaoshichao/article/details/13171919

  3. linux下安装make工具

    安装make工具 make工具依赖gcc ,automake,autoconf,libtool,make 这些安装包 可以一起安装 center os系统 运行如下命令yum install gcc ...

  4. linux下安装swftools工具

    swfTools是一种实用工具与Adobe Flash文件(swf文件)工作的集合.可以把(pdf/gif/png/jpeg/jpg/font/wav) 7种格式转换为swf文件.一般常用于文件在线浏 ...

  5. Linux下安装cmake

    cmake是一个跨平台的编译工具,特点是语句简单,编译高效,相对于原有的automake更为高效,接下来说明在Linux下安装cmake工具的过程 首先去cmake官网下载cmake安装包,下载界面网 ...

  6. 项目管理工具 Redmine 安装试用手记

    原文:项目管理工具 Redmine 安装试用手记 项目管理工具 Redmine 安装试用手记 分类: Redmine2009-06-01 10:12 996人阅读 评论(1) 收藏 举报 项目管理工具 ...

  7. 【转】Linux下XenServer管理工具安装

    转载文章 - Linux下XenServer管理工具安装 Xen-Server 6.5 虚拟机安装Linux系统 vmware安装ubuntu12.04嵌套安装xen server(实现嵌套虚拟化) ...

  8. linux下gitflow辅助工具安装和使用

    gitflow是一个确保nvie推荐的git branch分支策略最佳模型得到有效实施的辅助工具.它作为git的一个子命令而存在. http://nvie.com/posts/a-successful ...

  9. Linux下批量管理工具pssh安装和使用

    Linux下批量管理工具pssh安装和使用 pssh工具包 安装:yum -y install pssh pssh:在多个主机上并行地运行命令 pscp:把文件并行地复制到多个主机上 prsync:通 ...

随机推荐

  1. xamarin.android 沉浸式状态栏

    public class SystemBarTintManager { /** * The default system bar tint color value. */ public static ...

  2. 警惕javascript变量的全局污染问题

    作用域的概念总是和变量形影不离,它不是javascript语言独有的概念,只是其运用上与其他大型语言略有不同,JavaScript语言中采用的是弱类型的变量类型,对使用的数据类型未做出严格的要求,是基 ...

  3. cnblog code syntaxhighlighter view

    wlw代码插件 测试多款 wlw插入代码插件 在博客园的代码高亮效果 1.Code Snippet 1: public override void Update() 2: { 3: base.Upda ...

  4. Windows环境中Openfire与Spark安装与配置指南

    安装软件: openfire3.9.3 spark2.6.3 安装环境: WindowsXP JDK1.6.0_21 Oracle 一.openfire安装 1.安装openfire3.9.3,下载地 ...

  5. kvm虚拟机时间修改

    在虚拟化环境中,虚拟机在长时间运行过程中,时间会变慢,通常的作法是配置ntpdate定时与时间服务器进行时间同步的计划任务.KVM虚拟机默认采用utc时间,需要专门修改,以及考虑kvm时间同步问题.1 ...

  6. iOS中使用RSA对数据进行加密解密

    RSA算法是一种非对称加密算法,常被用于加密数据传输.如果配合上数字摘要算法, 也可以用于文件签名. 本文将讨论如何在iOS中使用RSA传输加密数据. 本文环境 mac os openssl-1.0. ...

  7. C# 利用BarcodeLib.dll生成条形码(一维,zxing,QrCodeNet/dll二维码)

    原文:http://blog.csdn.net/kongwei521/article/details/17588825 首先效果: 一.下载BarcodeLib.dll 下载地址 :http://do ...

  8. Sublime Text 3 文本编辑器

    1.安装下载 下载地址:http://www.cr173.com/soft/121149.html http://www.xiazaiba.com/html/24343.html 官网 http:// ...

  9. yslow性能优化的35条黄金守则

    参考Best Practices for Speeding Up Your Web Site Exceptional Performance 团队总结了一系列优化网站性能的方法,分成了7个大类35条, ...

  10. Discuz X3核心文件解析

    <?php /** *      [Discuz!] (C)2001-2099 Comsenz Inc. *      This is NOT a freeware, use is subjec ...