HowTo Install Redmine 231 On Ubuntu 1204 with git and Redmine Git Hosting plugin » History » Revision 4
Revision 3 (Yovav Cohen Tene, 2013-07-13 20:41) → Revision 4/19 (Yovav Cohen Tene, 2013-07-13 20:44)
h1. HowTo Install Redmine 231 On Ubuntu 1204 clean installation with git and Redmine Git Hosting plugin
h2. Installing LAMP
<pre>
apt-get update && apt-get upgrade -y
reboot
apt-get install tasksel
tasksel
</pre>
choose LAMP server and choose a password for MySQL root account
h2. Installing Packages
<pre>
apt-get install ruby rubygems libruby libapache2-mod-passenger ruby-dev libmysqlclient-dev libmagickcore-dev libmagickwand-dev -y
</pre>
h2. Installing Redmine
<pre>
cd /tmp
wget rubyforge.org/frs/download.php/76933/redmine-2.3.1.tar.gz
tar -xzvf redmine-2.3.1.tar.gz
mv redmine-2.3.1 /usr/local/share/redmine-2.3.1
ln -s /usr/local/share/redmine-2.3.1 /usr/local/share/redmine
chown -R root:root /usr/local/share/redmine-2.3.1
gem install bundler
cd /usr/local/share/redmine/
bundle install --without development test postgresql sqlite
</pre>
h2 .Setting up Redmine user and database in MySQL
<pre>
mysql -u root -p
</pre>
<pre>
CREATE DATABASE redmine CHARACTER SET utf8;
CREATE USER 'redmine'@'localhost' IDENTIFIED BY 'my_password';
GRANT ALL PRIVILEGES ON redmine.* TO 'redmine'@'localhost';
</pre>