Check you have the correct versions of Ruby and Rails, you need the following;
ruby 1.8.6, 1.8.7 Rails 2.3.11 Rack 1.1.1
ruby -v rails -v
I read that ‘rake about’ would tell you what version of rake is installed but I could not get it to work. ‘rake -T’ didn’t even show . . . → Read More: Upgrade for Redmine 1.0.0 to Redmine 1.2.1 using SVN
This is on a fresh version of centos and includes;
Ruby on Rail setup Redmine Installation Apache configuration SVN autocreate SVN authentication using redmine
Thanks to the redmine team for an awesome tool.
Install Ruby on Rails
Install ruby 1.8.7
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7.tar.gz tar xvfz ruby-1.8.7.tar.gz cd ruby-1.8.7 ./configure
I got the error
configure: error: . . . → Read More: How to Install Redmine 0.9.3 on Centos Update, Including Apache and SVN Configuration
This post just saved me a hours of work, thanks
It outlines how to remove an old version of ruby and install the version you need.
This is a combination of all my instructions on how to setup redmine on Centos. Its still a work in progress so please note any problems in comments.
Install Ruby on Rails
yum install ruby ruby-devel ruby-libs ruby-irb ruby-rdoc ruby-mysql
Download and install ruby gems
tar xvf rubygems-1.3.1.tgz
. . . → Read More: How To Install Redmine on Centos 5.2 Update
From – http://bitsandchaos.wordpress.com/2007/11/18/integrate-mongrel-with-rhel-and-derivatives/
This is tailored for the redmine installation that is descibed on this site.
create a directory
create a file in that directory
Put this into the file
# we want three instances, listening on ports 8000, 8001 and 8002
PORTS=”8000 8001 8002″
# the Rails environment . . . → Read More: Set up Mongrel as a service and start it automatically on Centos 5.2
Taken from http://www.redmine.org/wiki/redmine/HowTo_run_Redmine_with_a_Mongrel_cluster
gem install mongrel mongrel_cluster daemons
Configure the Mongrel Cluster for redmine.
mongrel_rails cluster::configure -e production -p 8000 -N 3 -c /opt/redmine-0.8.0_RC1 –user apache –group apache
Start the Cluster
Configure apache as the load balancer
create a new config file in /etc/httpd/conf.d
paste this . . . → Read More: Create a Mongrel Cluster with an Apache Frontend Load Balancer for Redmine
The new release looks almost complete so I thought I would look at the differences between 0.8.0 and 0.7.3. The installation is basically the same as 0.7.3 except you need to update rails and gem.
Follow my instruction on how to install Ruby on Rails – http://www.how-to-linux.com/2008/12/how-to-install-ruby-on-rails-on-centos-52/
You will need to upgrade gem and . . . → Read More: How to install Redmine 0.8.0 RC1 on Centos 5.2
I found the instructions at http://www.redmine.org/wiki/redmine/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl did not work for me. I managed to get it working doing the following;
You do not need to but you can set subversion 1.54 by installing the RPMForge repos, follow these instructions - http://wiki.centos.org/AdditionalResources/Repositories/RPMForge
Get the necessary packages
yum install mod_dav_svn mod_perl perl-Apache-DBI perl-Digest-SHA1 perl-DBD-mysql subversion
Copy Redmine.pm . . . → Read More: How To Configure Subversion access control with apache mod dav svn and mod perl on Redmine in Centos5.2
Make sure apache starts at boot.
chkconfig httpd on
Create a repository folder.
Change the owner and group to root.apache
chown -R root.apache /svn
Change the permissions
chmod 0750 /svn
Configure subversion to be browsed, goto /etc/httpd/conf.d
Insert the following at the bottom
SVNParentPath . . . → Read More: How To Autocreate Subversion Repositories with Redmine on Centos 5.2
See instructions on how to install Ruby on Rails – http://www.how-to-linux.com/2008/12/how-to-install-ruby-on-rails-on-centos-52/
go to /opt
download the source http://rubyforge.org/frs/?group_id=1850
Create a Database for Redmine
(install mysql if nececssary – see http://www.how-to-linux.com/2008/12/install-mysql-server-on-centos-52/)
mysql -u root -p create database redmine character set utf8; exit
Configure the Redmine database connection settings
Copy . . . → Read More: Install Redmine on Centos 5.2