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:通 ...
随机推荐
- [转]Ionic – Mobile UI Framework for PhoneGap/Cordova Developers
本文转自:http://devgirl.org/2014/01/20/ionic-mobile-ui-framework-for-phonegapcordova-developers/ Ionic i ...
- common-pool2对象池(连接池)的介绍及使用
我们在服务器开发的过程中,往往会有一些对象,它的创建和初始化需要的时间比较长,比如数据库连接,网络IO,大数据对象等.在大量使用这些对象时,如果不采用一些技术优化,就会造成一些不可忽略的性能影响.一种 ...
- CUDA入门1
1GPUs can handle thousands of concurrent threads. 2The pieces of code running on the gpu are calle ...
- 13Spring_AOP编程(AspectJ)_后置通知
后置通知和前置通知差不多.最大的特点是因为后置通知是运行在目标方法之后的,所以他可以拿到目标方法的运行的结果. 给出案例: 案例结构图:
- Android studio disign 问题
有些低配置的电脑使用android studio 写xml的时候,disign会一直处于rendering,有可能是xml使用的图片过大导致渲染不出来
- Ruby Web实时消息后台服务器推送技术---GoEasy
越来越多的项目需要用到实时消息的推送与接收,怎样用Ruby实现最方便呢?我这里推荐大家使用GoEasy, 它是一款第三方推送服务平台,使用它的API可以轻松搞定实时推送! 浏览器兼容性:GoEasy推 ...
- js计算两个日期相隔几小时几分钟?
var dt1 = "2009-11-5 10:30" var dt2 = "2009-11-8 9:20" function ge ...
- 解决网站在负载均衡环境下SESSION丢失的问题
在WEB场中,动态网页往往会因为几台主机做了负载而产生SESSION丢失的问题,网上也有很多的介绍,我这里只将我经历的过程给大家分享一下: 系统要运行在负载平衡的 Web 场环境中,而系统配置文件 ...
- caffe windows学习:第一个测试程序
caffe windows编译成功后,就可以开始进行测试了.如果还没有编译成功的,请参考:caffe windows 学习第一步:编译和安装(vs2012+win 64) 一般第一个测试都是建议对手写 ...
- 北京联想招聘-java 云服务开发工程师 加入qq 群:220486180 或者直接在此 留言咨询
Position Title: 云服务开发工程师 Experience Required: 3 - 5 Years 负责联想企业网盘服务端开发 Position Requirements 1. ...