ubuntu 安装redmine
2013-08-07 20:40
218 查看
ubuntu
1.下载安装包 redmine
下载地址:https://github.com/redmine/redmine
2.修改配置
mv redmine /usr/local/redmine
然后修改工作环境,这里主要是指数据库
cp ./Redmine/config/database.yml.example ./Redmine/config/database.yml
vim ./Redmine/config/database.yml
把production选项中的信息进行修改,适应自己的环境
production:
adapter: mysql
database: redmine
host: localhost
username: root
password: xxx
encoding: utf8
3.创建数据库
例如 mysql 数据库
create database redmine character set utf8;
create user 'redmine'@'localhost' identified by 'my_password';
grant all privileges on redmine .* to 'redmine'@'localhost';
4.配置redmine连接数据库所需的参数
*将config/database.yml.example重命名为config/database.yml
mv config/database.yml.example config/database.yml
*修改database.yml文件
production:
adapter: mysql
database: redmine
host: localhost
username: redmine
password: my_password
encoding: utf8
5.创建一个session安装密钥
运行下面命令:
$ rake config/initializers/session_store.rb
6.执行数据迁移
rake db:migrate RAILS_ENV='production'
注:如果出现异常:
The bundled mysql.rb driver has been removed from Rails 2.2 install t he mysql gem and try again: gem install mysql.
而且执行gem install mysql后仍然出现以下异常:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
则执行如下命令:
sudo apt-get install ruby1.8-dev
sudo apt-get install libmysqlclient15-dev
然后再执行gem install mysql 就OK了
7.rake redmine:load_default_data RAILS_ENV="production",指明当前项目运行环境为production,中间会提示选择语言,我们选择zh。
8.启动服务
ruby script/server -e production
9.检测是否成功安装
打开浏览器,输入http://localhost:3000看页面是否抛异常
you nedd the imagemagic libraries under ubuntu
sudo apt-get install libmagickwand-dev
it contains all missing libraires
then return bundle install
1.下载安装包 redmine
下载地址:https://github.com/redmine/redmine
2.修改配置
mv redmine /usr/local/redmine
然后修改工作环境,这里主要是指数据库
cp ./Redmine/config/database.yml.example ./Redmine/config/database.yml
vim ./Redmine/config/database.yml
把production选项中的信息进行修改,适应自己的环境
production:
adapter: mysql
database: redmine
host: localhost
username: root
password: xxx
encoding: utf8
3.创建数据库
例如 mysql 数据库
create database redmine character set utf8;
create user 'redmine'@'localhost' identified by 'my_password';
grant all privileges on redmine .* to 'redmine'@'localhost';
4.配置redmine连接数据库所需的参数
*将config/database.yml.example重命名为config/database.yml
mv config/database.yml.example config/database.yml
*修改database.yml文件
production:
adapter: mysql
database: redmine
host: localhost
username: redmine
password: my_password
encoding: utf8
5.创建一个session安装密钥
运行下面命令:
$ rake config/initializers/session_store.rb
6.执行数据迁移
rake db:migrate RAILS_ENV='production'
注:如果出现异常:
The bundled mysql.rb driver has been removed from Rails 2.2 install t he mysql gem and try again: gem install mysql.
而且执行gem install mysql后仍然出现以下异常:
ERROR: Error installing mysql:
ERROR: Failed to build gem native extension.
则执行如下命令:
sudo apt-get install ruby1.8-dev
sudo apt-get install libmysqlclient15-dev
然后再执行gem install mysql 就OK了
7.rake redmine:load_default_data RAILS_ENV="production",指明当前项目运行环境为production,中间会提示选择语言,我们选择zh。
8.启动服务
ruby script/server -e production
9.检测是否成功安装
打开浏览器,输入http://localhost:3000看页面是否抛异常
Can't install RMagick 2.13.1. Can't find Magick-config
you nedd the imagemagic libraries under ubuntusudo apt-get install libmagickwand-dev
it contains all missing libraires
then return bundle install
相关文章推荐
- 安装Redmine 1.3.x 之Ubuntu Server 10.04
- 如何在ubuntu 安装 redmine
- redmine 2.2.2 + git ubuntu下安装
- 在Ubuntu上安装redmine
- Ubuntu 12.04 64位安装Redmine+GIT+ReviewBoard
- 在ubuntu上安装redmine
- ubuntu 12.04 安装redmine
- 基于Ubuntu+Apache+Passenger+MySQL的Redmine安装笔记
- 全新Ubuntu-13.04安装配置redmine
- Ubuntu下安装Redmine
- ubuntu安装Nginx + PHP + Redmine
- ubuntu下安装redmine及其邮件发送的配置
- 在ubuntu上安装redmine
- ubuntu12.0.4 安装redmine
- ubuntu 安装 redmine
- Ubuntu redmine 安装
- Ubuntu中安装项目管理软件Redmine
- 安装Redmine 2.3.0(Ubuntu 12.04 Server)
- 如何在Linux(Ubuntu)上安装Redmine