Project

General

Profile

HowTo Install Redmine 231 On Ubuntu 1204 with git and Redmine Git Hosting plugin » History » Version 4

Yovav Cohen Tene, 2013-07-13 20:44

1 1 Yovav Cohen Tene
h1. HowTo Install Redmine 231 On Ubuntu 1204 clean installation with git and Redmine Git Hosting plugin
2
3
h2. Installing LAMP
4 2 Yovav Cohen Tene
5 1 Yovav Cohen Tene
<pre>
6
apt-get update && apt-get upgrade -y
7
reboot
8
apt-get install tasksel
9 3 Yovav Cohen Tene
tasksel
10 1 Yovav Cohen Tene
</pre>
11
12 3 Yovav Cohen Tene
choose LAMP server and choose a password for MySQL root account
13
 
14
h2. Installing Packages
15
16
<pre>
17
apt-get install ruby rubygems libruby libapache2-mod-passenger ruby-dev libmysqlclient-dev libmagickcore-dev libmagickwand-dev -y
18
</pre>
19
20
h2. Installing Redmine
21
22
<pre>
23
cd /tmp
24
wget rubyforge.org/frs/download.php/76933/redmine-2.3.1.tar.gz
25
tar -xzvf redmine-2.3.1.tar.gz
26
mv redmine-2.3.1 /usr/local/share/redmine-2.3.1
27
ln -s /usr/local/share/redmine-2.3.1 /usr/local/share/redmine
28
chown -R root:root /usr/local/share/redmine-2.3.1
29 4 Yovav Cohen Tene
gem install bundler
30
cd /usr/local/share/redmine/
31
bundle install --without development test postgresql sqlite
32
</pre>
33
34
h2 .Setting up Redmine user and database in MySQL
35
36
37
<pre>
38
mysql -u root -p
39
</pre>
40
<pre>
41
CREATE DATABASE redmine CHARACTER SET utf8;
42
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
43
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
44 3 Yovav Cohen Tene
</pre>