Outils pour utilisateurs

Outils du site


public:tutorial:chiliproject

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentesRévision précédente
Prochaine révision
Révision précédente
public:tutorial:chiliproject [2011/09/17 07:17] ceric35public:tutorial:chiliproject [2023/02/13 13:39] (Version actuelle) – modification externe 127.0.0.1
Ligne 5: Ligne 5:
 ===== Installation ===== ===== Installation =====
  
-  emerge bundler +package.use: 
-  media-gfx/imagemagick gs jpeg png truetype wmf +  media-gfx/imagemagick gs jpeg png truetype wmf 
-  emerge imagemagick+  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 Pour la suite, suivre la doc d'install : https://www.chiliproject.org/projects/chiliproject/wiki/Installation
Ligne 13: Ligne 18:
 ===== Apache ===== ===== Apache =====
  
-Intégration a apache:+perl: 
 +<code bash>cd /usr/lib/perl5/5.12.3/ 
 +mkdir Apache 
 +cd Apache 
 +ln -s /opt/chiliproject/extra/svn/Redmine.pm</code> 
 + 
 +vhost: 
 +<code xml><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></code> 
 + 
 +/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.
  
-  emerge www-apache/passenger+Source : http://www.redmine.org/boards/2/topics/7593
  
  
public/tutorial/chiliproject.1316243822.txt.gz · Dernière modification : 2023/02/13 13:39 (modification externe)