Redmine on Ubuntu Server

1. Installation and Configurations

(1) Install apache and mysql

(2) Install redmine

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ su
$ apt-get install redmine redmine-mysql
$ sudo ruby /usr/share/redmine/script/server -e production &

[/codesyntax]

Now redmine is running on http://localhost:3000/

(3) Apache configurations

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ sudo ln -s /usr/share/redmine/public/ /var/www/redmine
$ vim /etc/apache2/redmine.conf

[/codesyntax]

RailsEnv production
RailsBaseURI /redmine
PassengerDefaultUser www-data

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ vim /etc/apache2/apache2.conf

[/codesyntax]

Include /etc/apache2/redmine.conf

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ apache2ctl restart

[/codesyntax]

Now redmine is available on http://localhost/redmine

(4) Chinese support

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ sudo dpkg-reconfigure redmine

[/codesyntax]

Choose default language : zh

(5) Within local area network

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ iptables -A INPUT -p tcp --dport 3000 -j ACCPET
$ ifconfig

[/codesyntax]

Perhaps you get your ip as 192.168.0.129
Now redmine is available on http://192.168.0.129/redmine

(6) Login by default

admin / admin

(7) Options

For email notify :

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ vi etc/default/email.yml

[/codesyntax]

production:

delivery_method: :sendmail

For style :

[codesyntax lang=”bash” lines=”no” container=”pre” tab_width=”4″]

$ vi /var/www/redmine/stylesheets/application.css

[/codesyntax]




2. Remine Development Workflow

(1) Issue statuses :
http://www.redmine.org/wiki/redmine/RedmineIssueTrackingSetup
New
In Progress
Resolved
Feedback
Closed
Rejected

redmine
redmine.vsd

Posted in Project Management | Tagged | Leave a comment