This shows you the differences between two versions of the page.
tutorials:redmine [2009/11/14 23:21] razvan created |
tutorials:redmine [2020/07/20 09:16] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | = Redmine = | ||
- | * Install and configure Redmine | ||
- | |||
- | == System settings == | ||
- | |||
- | * Debian GNU/Linux Testing (squeeze)< | ||
- | ixlabs:~# cat /etc/issue | ||
- | Debian GNU/Linux squeeze/sid \n \l | ||
- | </ | ||
- | * kernel 2.6.30, CPU Pentium 4 2.66GHz, 1GB RAM< | ||
- | ixlabs:~# uname -a | ||
- | Linux ixlabs 2.6.30-2-686 #1 SMP Sat Sep 26 01:16:22 UTC 2009 i686 GNU/Linux | ||
- | |||
- | ixlabs:~# lscpu | ||
- | Architecture: | ||
- | CPU(s): | ||
- | Thread(s) per core: 1 | ||
- | Core(s) per socket: | ||
- | CPU socket(s): | ||
- | Vendor ID: | ||
- | CPU family: | ||
- | Model: | ||
- | Stepping: | ||
- | CPU MHz: | ||
- | L1d cache: | ||
- | L2 cache: | ||
- | |||
- | ixlabs:~# free -m | ||
- | | ||
- | Mem: | ||
- | -/+ buffers/ | ||
- | Swap: | ||
- | </ | ||
- | * Apache 2.2.14< | ||
- | ixlabs:~# apache2 -v | ||
- | Server version: Apache/ | ||
- | Server built: | ||
- | </ | ||
- | |||
- | == Scripts == | ||
- | |||
- | * The scripts used throughout the process are stored in [[http:// | ||
- | |||
- | == Installation steps == | ||
- | |||
- | === Install Packages === | ||
- | |||
- | < | ||
- | apt-get install ruby rubygems ruby-dev libgemplugin-ruby libruby-extras rails rake subversion git-core libapache2-svn | ||
- | </ | ||
- | |||
- | === Download Redmine === | ||
- | |||
- | * I'm using Subversion to checkout the latest stable branch as described on the [[http:// | ||
- | mkdir -p $FULL_CHECKOUT_PATH | ||
- | svn co http:// | ||
- | </ | ||
- | * {{{FULL_CHECKOUT_PATH}}} is the root folder for the Redmine instance; it's {{{/ | ||
- | |||
- | == Configuration steps == | ||
- | |||
- | === Update Rails version === | ||
- | |||
- | * The current Redmine stable version (0.8.6, on October 14, 2009) defaults to using Rails 2.1.2. | ||
- | * My Debian (squeeze) installation uses Rails 2.2.3< | ||
- | ixlabs: | ||
- | Desired=Unknown/ | ||
- | | Status=Not/ | ||
- | |/ Err? | ||
- | ||/ Name | ||
- | +++-==============-==============-============================================ | ||
- | ii rails 2.2.3-1 | ||
- | </ | ||
- | * I have to comment out the {{{RUBY_GEM_VERSION}}} variable definition in {{{$FULL_CHECKOUT_PATH/ | ||
- | # | ||
- | </ | ||
- | === Configure the database === | ||
- | |||
- | * I'm using MySQL as database backend. | ||
- | * First step is creating the database:< | ||
- | mysql> create database redmine; | ||
- | Query OK, 1 row affected (0.00 sec) | ||
- | |||
- | mysql> grant all privileges on redmine.* to ' | ||
- | Query OK, 0 rows affected (0.00 sec) | ||
- | |||
- | mysql> flush privileges; | ||
- | Query OK, 0 rows affected (0.00 sec) | ||
- | </ | ||
- | * I'm using the following script to configure the database for Redmine:< | ||
- | |||
- | </ |