Linux下安装项目管理工具Redmine
http://www.redmine.org.cn/download
Linux下安装项目管理工具Redmine
1、Ruby安装
Ruby on Rails网站推荐使用1.8.7版。
点击(此处)折叠或打开
- # wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p174.tar.gz
- # tar zxvf ruby-1.8.7-p174.tar.gz
- # cd ruby-1.8.7-p174
- # ./configure –prefix=/usr/local/ruby
- # make && make install
设置Ruby环境变量
点击(此处)折叠或打开
- # cd ~
- # vi .bash_profile
添加下面一行
点击(此处)折叠或打开
- export PATH=$PATH:/usr/local/ruby/bin
保存退出:wq
点击(此处)折叠或打开
- # . .bash_profile
2、RubyGems安装
点击(此处)折叠或打开
- # wget https://rubygems.org/rubygems/rubygems-1.3.5.tgz(http://rubyforge.org/frs/download.php/60718/rubygems-1.3.5.tgz)
- # tar zxvf rubygems-1.3.5.tgz
- # cd rubygems-1.3.5
- # ruby setup.rb
3、Rake安装
点击(此处)折叠或打开
- # gem install rake //直接使用gem命令安装rake.
- //也可以下载安装地址:http://rubyforge.org/frs/download.php/56872/rake-0.8.7.tgz
4、Ruby on Rails
点击(此处)折叠或打开
- # gem install rails
- 安装成功提示:
- Successfully installed activesupport-2.3.3
- Successfully installed activerecord-2.3.3
- Successfully installed rack-1.0.0
- Successfully installed actionpack-2.3.3
- Successfully installed actionmailer-2.3.3
- Successfully installed activeresource-2.3.3
- Successfully installed rails-2.3.3
- 7 gems installed
- Installing ri documentation for activesupport-2.3.3…
- Installing ri documentation for activerecord-2.3.3…
- Installing ri documentation for rack-1.0.0…
- Installing ri documentation for actionpack-2.3.3…
- Installing ri documentation for actionmailer-2.3.3…
- Installing ri documentation for activeresource-2.3.3…
- Installing ri documentation for rails-2.3.3…
- Installing RDoc documentation for activesupport-2.3.3…
- Installing RDoc documentation for activerecord-2.3.3…
- Installing RDoc documentation for rack-1.0.0…
- Installing RDoc documentation for actionpack-2.3.3…
- Installing RDoc documentation for actionmailer-2.3.3…
- Installing RDoc documentation for activeresource-2.3.3…
- Installing RDoc documentation for rails-2.3.3…
- //也可以下载安装地址:http://rubyforge.org/frs/download.php/60599/rails-2.3.3.tgz
5、Redmine安装
点击(此处)折叠或打开
- # wget http://rubyforge.org/frs/download.php/56909/redmine-0.8.4.tar.gz
- # tar zxvf redmine-0.8.4.tar.gz
- # mv redmine-0.8.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
- 创建mysql数据库
- # /usr/local/mysql/bin/mysql -u root -p
- Mysql> create database redmine default character set utf8;
- grant all on redmine.* to root;
- grant all on redmine.* to root@localhost;
- grant all on redmine.* to redmineuser;
- grant all on redmine.* to redmineuser @localhost;
- set password for redmineuser@localhost=password(‘redminpw’);
- Mysql>exit;
Remine设定
点击(此处)折叠或打开
- (注意此时的目录一定要在redmine/config里,不然会出错,本文后面有错误信息。)
- # 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]
- OK,安装完毕!可以进去玩了!哈哈!
- 贴个图,秀一下,嘿嘿~~~

Linux下安装项目管理工具Redmine的更多相关文章
- Windows 下安装项目管理工具 Redmine 1.1.2
1.InstantRails-2.0-win 下载地址 https://rubyforge.org/frs/?group_id=904 2.redmine1.1.2 下载地址 http://www ...
- Linux下安装yum工具
Linux下安装yum工具 http://blog.csdn.net/caoshichaocaoshichao/article/details/13171919
- linux下安装make工具
安装make工具 make工具依赖gcc ,automake,autoconf,libtool,make 这些安装包 可以一起安装 center os系统 运行如下命令yum install gcc ...
- linux下安装swftools工具
swfTools是一种实用工具与Adobe Flash文件(swf文件)工作的集合.可以把(pdf/gif/png/jpeg/jpg/font/wav) 7种格式转换为swf文件.一般常用于文件在线浏 ...
- Linux下安装cmake
cmake是一个跨平台的编译工具,特点是语句简单,编译高效,相对于原有的automake更为高效,接下来说明在Linux下安装cmake工具的过程 首先去cmake官网下载cmake安装包,下载界面网 ...
- 项目管理工具 Redmine 安装试用手记
原文:项目管理工具 Redmine 安装试用手记 项目管理工具 Redmine 安装试用手记 分类: Redmine2009-06-01 10:12 996人阅读 评论(1) 收藏 举报 项目管理工具 ...
- 【转】Linux下XenServer管理工具安装
转载文章 - Linux下XenServer管理工具安装 Xen-Server 6.5 虚拟机安装Linux系统 vmware安装ubuntu12.04嵌套安装xen server(实现嵌套虚拟化) ...
- linux下gitflow辅助工具安装和使用
gitflow是一个确保nvie推荐的git branch分支策略最佳模型得到有效实施的辅助工具.它作为git的一个子命令而存在. http://nvie.com/posts/a-successful ...
- Linux下批量管理工具pssh安装和使用
Linux下批量管理工具pssh安装和使用 pssh工具包 安装:yum -y install pssh pssh:在多个主机上并行地运行命令 pscp:把文件并行地复制到多个主机上 prsync:通 ...
随机推荐
- xamarin.android 沉浸式状态栏
public class SystemBarTintManager { /** * The default system bar tint color value. */ public static ...
- 警惕javascript变量的全局污染问题
作用域的概念总是和变量形影不离,它不是javascript语言独有的概念,只是其运用上与其他大型语言略有不同,JavaScript语言中采用的是弱类型的变量类型,对使用的数据类型未做出严格的要求,是基 ...
- cnblog code syntaxhighlighter view
wlw代码插件 测试多款 wlw插入代码插件 在博客园的代码高亮效果 1.Code Snippet 1: public override void Update() 2: { 3: base.Upda ...
- Windows环境中Openfire与Spark安装与配置指南
安装软件: openfire3.9.3 spark2.6.3 安装环境: WindowsXP JDK1.6.0_21 Oracle 一.openfire安装 1.安装openfire3.9.3,下载地 ...
- kvm虚拟机时间修改
在虚拟化环境中,虚拟机在长时间运行过程中,时间会变慢,通常的作法是配置ntpdate定时与时间服务器进行时间同步的计划任务.KVM虚拟机默认采用utc时间,需要专门修改,以及考虑kvm时间同步问题.1 ...
- iOS中使用RSA对数据进行加密解密
RSA算法是一种非对称加密算法,常被用于加密数据传输.如果配合上数字摘要算法, 也可以用于文件签名. 本文将讨论如何在iOS中使用RSA传输加密数据. 本文环境 mac os openssl-1.0. ...
- C# 利用BarcodeLib.dll生成条形码(一维,zxing,QrCodeNet/dll二维码)
原文:http://blog.csdn.net/kongwei521/article/details/17588825 首先效果: 一.下载BarcodeLib.dll 下载地址 :http://do ...
- Sublime Text 3 文本编辑器
1.安装下载 下载地址:http://www.cr173.com/soft/121149.html http://www.xiazaiba.com/html/24343.html 官网 http:// ...
- yslow性能优化的35条黄金守则
参考Best Practices for Speeding Up Your Web Site Exceptional Performance 团队总结了一系列优化网站性能的方法,分成了7个大类35条, ...
- Discuz X3核心文件解析
<?php /** * [Discuz!] (C)2001-2099 Comsenz Inc. * This is NOT a freeware, use is subjec ...