Redmine on ISPC3?

Discussion in 'General' started by Mosquito, Mar 30, 2010.

  1. Mosquito

    Mosquito New Member

    Has anyone installed Redmine on ISPC3?
     
  2. 4F2E4A2E

    4F2E4A2E New Member

    me2

    that's something i would like to know too.
     
  3. theWeird

    theWeird Member

    I am also interested in this.
     
  4. theWeird

    theWeird Member

    No one using Redmine on a ISP3 Server?
     
  5. falko

    falko Super Moderator Howtoforge Staff

    I've never tried it.
     
  6. tompi

    tompi New Member

    I have Redmine up and running (well so far, it might need more tweeking in the future). Here it is:

    I used the description on the redmine site for installing redmine on ubuntu with passenger (http://www.redmine.org/projects/redmine/wiki/HowTos -> http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu -> section 2 "Ubuntu 10.04 using Passenger") up to the point where u set the passenger default user. Then skip the rest, and go to /usr/share/redmine/public and edit .htaccess (create if needed) ad put the

    RailsBaseURI /redmine
    PassengerResolveSymlinksInDocumentRoot on

    directives in it (only these).
    Set permissions if needed (for www-data group) and restart Apache.
    And there u go. If u install it on an other system this should do the trick as well, since apache reads these directives when entering the directory and this overrides previously set rules by ISPConfing (putting them in a <Directory> tag doesn't seems to work for some reason).
    U don't need to check neither Ruby nor CGI for the site for this to work.

    Hope this helps!
     
  7. modules

    modules New Member

    On Debian i have done the following:

    Code:
    apt-get install libapache2-mod-passenger
    a2enmod passenger
    apache2ctl force-reload
    
    add website domain.tld in ispconfig

    download and extract redmine in website root (/var/www/domain.tld/redmine)

    add websiteoptions in ispconfig
    Code:
    DocumentRoot /var/www/domain.tld/redmine/public
    <Directory /var/www/domain.tld/redmine/public>
            Order allow,deny
            Allow from all
    </Directory>
    Alias /stats /var/www/domain.tld/web/stats
    # RewriteEngine On
    # RewriteCond %{HTTPS} off
    # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
    
     
  8. 4F2E4A2E

    4F2E4A2E New Member

    all i am getting is this:
    webserver:~# aptitude install libapache2-mod-passenger
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done
    Couldn't find any package whose name or description matched "libapache2-mod-passenger"
    Couldn't find any package whose name or description matched "libapache2-mod-passenger"
    No packages will be installed, upgraded, or removed.
    0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0B of archives. After unpacking 0B will be used.
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done

    debian lenny
     
  9. modules

    modules New Member

  10. 4F2E4A2E

    4F2E4A2E New Member

    installed

    i just followed the instructions as described here and everything is running except ruby :/

    http://www.dconstructing.com/admin/2010/01/11/setting-up-ruby-in-debian/

    test1:
    like described in setp 8: http://www.redmine.org/projects/redmine/wiki/RedmineInstall#Requirements
    Code:
    ruby script/server webrick -e production
    it did work, but it's not thought to be used in production...

    test2:
    http://xxx.com/index.rb
    Code:
    # The Greeter class
    class Greeter
      def initialize(name)
        @name = name.capitalize
      end
    
      def salute
        puts "Hello #{@name}!"
      end
    end
    
    # Create a new object
    g = Greeter.new("world")
    
    # Output "Hello World!"
    g.salute
    didn't work:
    Code:
    You don't have permission to access /index.rb on this server.
    test3:
    http://xxx.com/redmine/public/
    didn't work:
    Code:
    You don't have permission to access /redmine/public/ on this server.

    info:
    [Thu Mar 03 15:55:24 2011] [notice] Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 Phusion_Passenger/2.2.15 PHP/5.2.6-1+lenny9 with Suhosin-Patch mod_ruby/1.2.6 Ruby/1.8.7(2008-08-11) mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 configured -- resuming normal operations

    config:
    DocumentRoot /var/www/developer.halbgasse.at/redmine/public
    <Directory /var/www/developer.halbgasse.at/redmine/public>
    Order allow,deny
    Allow from all
    </Directory>
    # RewriteEngine On
    # RewriteCond %{HTTPS} off
    # RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

    i want redm_iii_ne! :confused:
     
  11. razor7

    razor7 Member

    After this, it worked for me!
     
  12. maumar

    maumar Member

    Sorry to repone a very old thread, I have installed into /home/redmine with user redmine, redmin start w/ot issue on port 5000 or 3000 (as I configure)
    I am unable to install as ftp user:
    Code:
    download and extract redmine in website root (/var/www/domain.tld/redmine)
    
    b/c my insatllation run as redmine user only
    Where should I change the user redmine is thought to be runned as?
     
  13. maumar

    maumar Member

    /etc/systemd/system/redmine.service
    [Service]
    User=redmine
     

Share This Page