Outils pour utilisateurs

Outils du site


public:tutorial:chiliproject

Table des matières

ChiliProject

Installation de chiliproject 2.2.1.

Installation

package.use:

media-gfx/imagemagick gs jpeg png truetype wmf
dev-lang/perl ithread
sys-devel/libperl ithreads

emerge:

emerge bundler imagemagick
emerge passenger mod_perl DBD-SQLite

Pour la suite, suivre la doc d'install : https://www.chiliproject.org/projects/chiliproject/wiki/Installation

Apache

perl:

cd /usr/lib/perl5/5.12.3/
mkdir Apache
cd Apache
ln -s /opt/chiliproject/extra/svn/Redmine.pm

vhost:

<IfDefine DAV>
<IfDefine SVN>
<IfDefine SVN_AUTHZ>
<IfDefine PASSENGER>
<IfDefine PERL>
<VirtualHost *:80>
 
    ServerName dev.ceric35.net
    CustomLog /var/log/apache2/log_vh_dev.log combined
 
    # maven2
    Alias /maven2 /var/lib/maven/maven2
    <Directory "/var/lib/maven/maven2">
        Order allow,deny
        Allow from all
        Options +Indexes
        PassengerEnabled off
    </Directory>
 
    # svn access with chili authentification
    PerlLoadModule Apache::Redmine
    <Location /svn>
        PassengerEnabled off
        DAV svn
        SVNParentPath /var/lib/svn
        DirectorySlash Off
        AuthType Basic
        AuthName "Subversion repository"
        Require valid-user
        PerlAccessHandler Apache::Authn::Redmine::access_handler
        PerlAuthenHandler Apache::Authn::Redmine::authen_handler
        RedmineDSN "DBI:SQLite:dbname=/opt/chiliproject/db/production.db"
        RedmineDbUser "redmine"
        RedmineDbPass "password"
    </Location>
 
    # git access with chili authentification
    Alias /git /var/lib/git
    <Directory "/var/lib/git">
         Order allow,deny
         Allow from all
         Options +Indexes
         PassengerEnabled off
    </Directory>
    <Location /git>
         Dav on
         AuthType Basic
         AuthName "Git repository"
         Require valid-user
         PerlAccessHandler Apache::Authn::Redmine::access_handler
         PerlAuthenHandler Apache::Authn::Redmine::authen_handler
         RedmineDSN "DBI:SQLite:dbname=/opt/chiliproject/db/production.db"
         RedmineDbUser "redmine"
         RedmineDbPass "password"
         #RedmineGitSmartHttp yes
    </Location>
 
    # chili project
    DocumentRoot /opt/chiliproject/public
    <Directory /opt/chiliproject/public>
        Options +Indexes
        AllowOverride None
        Order deny,allow
        Allow from all
    </Directory>
</VirtualHost>
</IfDefine>
</IfDefine>
</IfDefine>
</IfDefine>
</IfDefine>

/etc/conf.d/apache2:

  • vérifiez les options -D DAV, -D SVN, -D SVN_AUTHZ, -D PERL et -D PASSENGER

FAQ

svn: COPY de '/svn/sandbox/!svn/bc/42/overlays/trunk': Could not read status line: connection was closed by server (http://dev.ceric35.net)

ajoutez APACHE_MPMS=“prefork” à /etc/make.conf et recompiler apache.

Source : http://www.redmine.org/boards/2/topics/7593

public/tutorial/chiliproject.txt · Dernière modification: 2014/06/07 11:30 (modification externe)