Project

General

Profile

Basic setup on ubuntu xenial

Added by JOSE TABISI over 7 years ago

I have followed this guide to setup redmine starting from scratch on an Ubuntu 14.04 server.

HowTo_Install_Redmine_on_Ubuntu_step_by_step

I have checked everything twice in case I had missed anything.

When I point my browser to http://192.168.30.88/redmine I get this result:

Index of /redmine

[ICO] Name Last modified Size Description
[PARENTDIR] Parent Directory -
[TXT] 404.html 2013-12-23 05:48 485
[TXT] 500.html 2013-12-23 05:48 674
[ ] dispatch.fcgi 2013-12-23 05:48 473
[IMG] favicon.ico 2013-12-23 05:48 7.7K
[DIR] help/ 2017-07-13 08:31 -
[DIR] images/ 2017-07-13 08:31 -
[DIR] javascripts/ 2017-07-13 08:31 -
[DIR] public/ 2017-07-13 10:55 -
[DIR] stylesheets/ 2017-07-13 08:31 -
[DIR] themes/ 2017-07-13 08:31 -
Apache/2.4.7 (Ubuntu) Server at 192.168.30.88 Port 80

This my setup:

jose@ubuntu14:~$ rails --version
Rails 3.2.16
jose@ubuntu14:~$ ruby --version
ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
jose@ubuntu14:~$ mysql --version
mysql Ver 14.14 Distrib 5.5.55, for debian-linux-gnu (x86_64) using readline 6.

Also, on the first part of the installation guide, there´s a reference regarding which version of redmine I should use with my specific ubuntu release but I have not been able to choose anything regarding this point during my setup.

This is my /etc/apache2/sites-available/000-default.conf file

<VirtualHost *:80>
        # The ServerName directive sets the request scheme, hostname and port that
        # the server uses to identify itself. This is used when creating
        # redirection URLs. In the context of virtual hosts, the ServerName
        # specifies what hostname must appear in the request's Host: header to
        # match this virtual host. For the default virtual host (this file) this
        # value is not decisive as it is used as a last resort host regardless.
        # However, you must set it for any further virtual host explicitly.
        #ServerName www.example.com

        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
        # error, crit, alert, emerg.
        # It is also possible to configure the loglevel for particular
        # modules, e.g.
        #LogLevel info ssl:warn

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        # For most configuration files from conf-available/, which are
        # enabled or disabled at a global level, it is possible to
        # include a line for only one particular virtual host. For example the
        # following line enables the CGI configuration for this host only
        # after it has been globally disabled with "a2disconf".
        #Include conf-available/serve-cgi-bin.conf

        <Directory /var/www/html/redmine>
            RailsBaseURI /redmine
            PassengerResolveSymlinksInDocumentRoot on
        </Directory>

</VirtualHost>

# vim: syntax=apache ts=4 sw=4 sts=4 sr noet

And this is my /tec/apache2/mods-available/passenger.conf file

<IfModule mod_passenger.c>
  PassengerDefaultUser www-data
  PassengerRoot /usr
  PassengerRuby /usr/bin/ruby
</IfModule>

What am I missing ?

Thanks.

I see some stange signs showing up when copying from vi to the web page, I apologize for that.


Replies (2)

RE: Basic setup on ubuntu xenial - Added by andrew kao over 7 years ago

/tec/apache2/mods-available/passenger.conf change to /etc/apache2/mods-available/passenger.conf

RE: Basic setup on ubuntu xenial - Added by JOSE TABISI over 7 years ago

Thanks Andrew for your feedback. The /tec instead of /etc is only a typing mistake, I apologize. The contents of the files are copied and pasted from the actual setup.

    (1-2/2)