Difference between revisions of "Avimanager"

From YobiWiki
Jump to navigation Jump to search
m
 
m
Line 1: Line 1:
 
==Site==
 
==Site==
 
* http://avimanager.sourceforge.net/
 
* http://avimanager.sourceforge.net/
  +
==mod_perl Installation==
  +
apt-get install libapache2-mod-perl2
  +
 
==Installation==
 
==Installation==
   
Line 36: Line 39:
 
sessions = /tmp
 
sessions = /tmp
 
themes = /usr/local/share/avimanager/pages/themes
 
themes = /usr/local/share/avimanager/pages/themes
  +
  +
aviman.pl
  +
- push @INC, '.';
  +
+ push @INC, '/usr/local/share/avimanager/cgi-bin';

Revision as of 01:37, 22 November 2006

Site

mod_perl Installation

apt-get install libapache2-mod-perl2 

Installation

apt-get install libwww-perl libcgi-session-perl libconfig-inifiles-perl libhtml-template-perl libstring-approx-perl

Get last version from http://sourceforge.net/project/showfiles.php?group_id=54985
This was aviman_0.9rc2.tar.gz and I had to take also cgi-bin/imdb.pl from the CVS version so I simply just used the CVS snapshot:

cvs -d:pserver:anonymous@avimanager.cvs.sourceforge.net:/cvsroot/avimanager login
cvs -z3 -d:pserver:anonymous@avimanager.cvs.sourceforge.net:/cvsroot/avimanager co -P avimanager

Prepare in 2 dirs:

pages -> /usr/local/share/avimanager/pages
cgi-bin -> /usr/local/share/avimanager/cgi-bin
(and doc/html -> /usr/local/share/avimanager/doc)
mkdir /usr/local/share/avimanager/pages/media
find . -type f -exec chmod 644 {} \;
find . -type f -name "*.pl" -exec chmod 755 {} \;
find . -type f -name "aviman.cfg" -exec chmod 755 {} \;
find cgi-bin/data -type d -exec chmod 777 {} \;
find pages/images -type d -exec chmod 777 {} \;
find pages/media -type d -exec chmod 777 {} \;

Edit aviman.cfg
Users must be added manually

@owners = ("admin", "me", "friend");'

Edit Aviman/CGI/aviman_cgi.ini

[URL] 
website = http...
website_data  =  aviman/pages
media_data  =  aviman/media
[PATH]
website_data =  /usr/local/share/avimanager/pages 
media_data =  /usr/local/share/avimanager/pages/media
sessions     =  /tmp
themes       =  /usr/local/share/avimanager/pages/themes

aviman.pl

- push @INC, '.';
+ push @INC, '/usr/local/share/avimanager/cgi-bin';