Archive

Posts Tagged ‘ticketing’

still this performance issue

August 26th, 2010 No comments

Unfortunately my previous solution was only temporary, after a while I mentioned that mongrels are eating the memory and hanging.
Read more…

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

redmine on nginx with mongrel_cluster performace

August 25th, 2010 No comments

I have seen some serious performance issues and some error messages with nginx and mongrel_cluster.
Read more…

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

redmine on nginx with mongrel_cluster

June 10th, 2010 No comments

The webrick of redmine has couple of performance issues, so I was looking for an alternative solution to avoid the use of Apache and its proxy features. As already I use nginx it was clear to use it. The proxy is working perfectly with proxy_pass to the webrick, but this still have the performance issues.
Read more…

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Redmine 0.9.3

February 7th, 2010 No comments

After upgrading couple of new plug-ins are installed.

Here is a basic start up script for gentoo

$!/sbin/runscript
 
depend() {
	need net
}
 
start() {
	ebegin "Starting redmine"
	start-stop-daemon --start --make-pidfile --chuid apache:apache --quiet --name redmine --pidfile /opt/redmine/redmine.pid \
	 --exec /usr/bin/ruby /opt/redmine/script/server webrick -- -e production -d
	eend $?
}
 
 
stop() {
	ebegin "Stopping redmine"
	start-stop-daemon --stop --quiet --pidfile /opt/redmine/redmine.pid
	eend $?
}
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...

Installing Redmine on ‘Gentoo’

December 28th, 2009 No comments

Install all required packages for redmine

server ~ $ emerge dev-ruby/rubygems

install ruby on rails version required by redmine
H
Install the preferred database server/client MySQL/PostgreSQL

server ~ $ emerge postgresql

Configure and create the database for redmine

CREATE ROLE redmine LOGIN ENCRYPTED PASSWORD 'my_password' NOINHERIT VALID UNTIL 'infinity';
CREATE DATABASE redmine WITH ENCODING='UTF8' OWNER=redmine;

download and extract redmine

server ~ $ wget http://rubyforge.org/frs/download.php/67144/redmine-0.8.7.tar.gz
server ~ $ tar xvf redmine-0.8.7.tar.gz

Copy config/database.yml.example to config/database.yml

server ~ $ cp redmine-0.8.7/config/database.yml.example redmine-0.8.7/config/database.yml
server ~ $ nano redmine-0.8.7/config/database.yml

and edit this file in order to configure your database settings for your “production” environment

production:
  adapter: postgresql
  database: redmine
  host: localhost
  username: redmine
  password: my_password
  encoding: utf8

make sure to install PosgreSQL adapter for Ruby

server ~ $ gem install postgres-pr

make sure to install rmagick if you wish to export Gantt to png

server ~ $ emerge dev-ruby/rmagick

Generate a session store secret. This is required on the trunk version of Redmine at r2493 or above and the released 0.8.7 version or above.
Redmine stores session data in cookies by default, which requires a secret to be generated. This can be done by running:

server ~ $ cd redmine-0.8.7
server redmine-0.8.7 $ rake config/initializers/session_store.rb

Now we have to populate the database by running the following command

server redmine-0.8.7 $ rake db:migrate RAILS_ENV="production"

now you can load the default configuration data into the database

server redmine-0.8.7 $ rake redmine:load_default_data RAILS_ENV="production"

The user and the group who runs Redmine must have write permission on the following subdirectories: files, log, tmp (create the last one if not present).

server redmine-0.8.7 $ mkdir tmp public/plugin_assets
server redmine-0.8.7 $ chown -R user:group files log tmp public/plugin_assets
server redmine-0.8.7 $ chmod -R 775 files log tmp public/plugin_assets

I will continue soon with apache proxy and init scripts.

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...