redmine install guide
来源:互联网 发布:js隐藏img标签 编辑:程序博客网 时间:2024/05/21 05:42
please refer official wiki:
http://www.redmine.org/projects/redmine/wiki/RedmineInstall
1,check version
I use ubuntu12.04 to deploy redmine 2.3.0, and the corresponding rails version is 3.2.13
2,install rvm
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
source /etc/profile.d/rvm.sh
3,install ruby
rvm install 1.9.3
4,install rubygems
rvm rubygems latest
5,modify gem repository
gem sources --remove http://rubygems.org/
gem sources -a http://ruby.taobao.org/
gem sources -l
*** CURRENT SOURCES ***
http://ruby.taobao.org
# make sure only : ruby.taobao.org
6,install rails
gem install rails -v 3.2.13
7,download redmine-2.3.3.tar.gz
tar xzvf redmine-2.3.3.tar.gz
cd redmine-2.3.3
8,install mysql
apt-get install mysql-server libmysqlclient-dev
9,Create an empty database and accompanying user
CREATE DATABASE redmine CHARACTER SET utf8;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
10, Database connection configuration
Copy config/database.yml.example to config/database.yml and edit this file in order to configure your database settings for "production" environment
production: adapter: mysql database: redmine host: localhost username: redmine password: my_password
11,Dependencies installation
apt-get install libxslt-dev libxml2-dev
gem install bundler
bundle install --without development test
(if too slow, you can modify redmine/Gemfile, change the first line with source 'http://ruby.taobao.org')
12,Session store secret generation
rake generate_secret_token
13,install libopenssl-ruby
apt-get install libopenssl-ruby
13,Database schema objects creation
RAILS_ENV=production rake db:migrate
14, Database default data set
RAILS_ENV=production rake redmine:load_default_data
15,File system permissions
mkdir -p tmp tmp/pdf public/plugin_assets
sudo chmod -R 755 files log tmp public/plugin_assets
16,Test the installation
ruby script/rails server webrick -e production
17,Once WEBrick has started, point your browser to http://localhost:3000/. You should now see the application welcome page
- redmine install guide
- redmine install
- How to install Redmine
- install redmine on server
- How to install Redmine
- Redmine bundle install问题
- HowTo Install Redmine in Ubuntu - Redmine
- gentoo linux install git + redmine
- Ubuntu install guide
- openLDAP install guide
- SimpleScalar Install Guide
- CDH3 Install Guide
- SVN Install Guide
- Trac Install Guide
- SAKAI 2.9 Install Guide
- BACI Install & Usage Guide
- Goagent Install Guide
- HowTo install Redmine on CentOS 5
- 蓝牙鼠标调试过程
- 四叶玫瑰线的图形设计JAVA代码
- 条形码类型及其字符集和长度的说明
- 用su权限写tinymix命令改A10寄存器值
- 次方求模
- redmine install guide
- Android 漫游之路------直接拿来用!最火的Android开源项目(1)
- java 中 16 进制 HEX 转换成字节码形式的 UTF-8
- GTK+扫雷,目标达成,前来汇报,顺带一说按钮上色的疑惑
- 探索并发编程(七)------分布式环境中并发问题
- 获取当前程序,activity是否在运行
- ZOJ 3686 A Simple Tree Problem
- sql优化_sql server
- overlapped重叠IO