Project

General

Profile

Redmine on a server ubuntu 16.04 with apache

Added by mauro santini almost 10 years ago

Hi there,

I'm new with redmine but I'm really fond of this project which is overlapping all the features I was implementing some time back with more simple php scripts and I'd really love to install and run locally.

I'm a bit confusing which are the right steps to follow from packages to be online.

under your howtos about ubuntu there are so many option of which I have no clue and trying for what I see the more straight forward and basic to start with

HowTo_Install_Redmine_on_Ubuntu_step_by_step

when I now point to
http://localhost/redmine

I have just a list of files.

my perplexity regarding this how to are as follow:

-- passenger module. is this correct just adding the PassengerDefaultUser to the default module?
<IfModule mod_passenger.c>
PassengerDefaultUser www-data
PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
</IfModule>

-- virtualhosts. I have few virtual hosts and I'm not sure if this code
<Directory /var/www/html/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>

still goes to the 000-default.conf or the redmine.conf file

During installation I haven't seen major error msg but if someone could teml me what to check and what I should post for you to understand i'll gladly do it!!

I hope to get a support because I stopped developing my web app for redmine...

thanks a lot


Replies (3)

RE: Redmine on a server ubuntu 16.04 with apache - Added by Anonymous almost 10 years ago

Hi Mauro,

sorry for the late reply: showing a files list is a common problem indicating configuration problems in phusion passenger or phusion passenger not running.

I used this guide (and adapted it for ubuntu 16.04): http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_30x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_Subversion_and_Git_%28Gitolite%29

There are a few very common pitfalls:

hope this helps!

cheers and ti auguro buon fortuna con questi problemi - ma tutto sara bene

Immanuel.

RE: Redmine on a server ubuntu 16.04 with apache - Added by mauro santini almost 10 years ago

Hey Immanuel,

thanks a lot.

I still have a few doubts:

quote: adapted it for ubuntu 16.04. the changes are in the link you posted or where/what are these changes about?

quote: use RVM, not the system ruby! what it is about?

Sorry but I'm not familiar with these configurations or programming languages

Regards

ciao

RE: Redmine on a server ubuntu 16.04 with apache - Added by Anonymous almost 10 years ago

Hi Mauro

ubuntu 14.04 and 16.04 have different nicknames (trusty vs. xenial). So if you need explicitly to address a package-repository, you may have to take care of this.

usage of rvm is described here: http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_30x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_Subversion_and_Git_(Gitolite)#Prerequist

this means you install redmine version manager, which then for each application provides the desired ruby version.

So you could also use http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_30x_on_Ubuntu_1404_with_Apache2_Phusion_Passenger_MySQL_Subversion_and_Git_(Gitolite) and omit all steps not required, e.g.:
  • subversion, git and gitolite
    If you do not need connection to a sourcecode control system, skip those steps.

Be very careful to use the correct linux-user for the steps described.

It is not that easy to get redmine up and running, but once it runs it is very stable.

cheers

Immanuel.

    (1-3/3)