UNIX BLOG

Blog for NIX system based administrators

How to install redmine on lenny ruby on rails 2.3.5

RAILS INSTALL

Add lenny-backports to repositories
nano /etc/apt/sources.list
deb http://backports.debian.org/debian-backports lenny-backports main
apt-get -V -t lenny-backports install rails rubygems

MySQL install

apt-get install mysql-server mysql-client

RAILS INSTALL

mysql -u root -p password
->create database redmine character set utf8;
->create user 'redmine'@'localhost' identified by 'my_password';
->grant all privileges on redmine.* to 'redmine'@'localhost';

Copy config/database.yml.example to config/database.yml
production:
adapter: mysql
database: redmine
host: localhost
username: redmine
password: my_password

Tags:


Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>