Installation

Requirements

I have written in brackets Debian packages' name.

XmlAutoIndex is working on linux (and unix systems).

For xai core:

  • apache2 (apache2)
  • mod_perl2 for apache2 (libapache2-mod-perl2)
  • mod_xslt for Apache2 (libapache2-modxslt)
  • XML::LibXml (libxml-libxml-common-perl libxml-simpleobject-libxml-perl)

For image plugin

  • Image::Size (libimage-size-perl)
  • Image::Info (libimage-base-bundle-perl libimage-info-perl)
  • Image::ImLib (libimage-imlib2-perl)

For video plugin

  • imagemagick (imagemagick)
  • mplayer (mplayer)
  • ffmpeg (ffmpeg)
  • mencoder (mencoder)

For OpenDocument

  • imagemagick (imagemagick)
  • unzip (unzip)
  • For Pdf imagemagick (imagemagick)
  • ghostscript (gs-common)

For audio plugin

  • mplayer (mplayer)

Installation

tar -zxvf xmlAutoIndex-0.01.tar.gz
# copy Apache modules into your apache2's etc
cp -a xmlAutoIndex/Apache /etc/apache2/Apache
cp -a xmlAutoIndex/lib /var/lib/xai
mkdir /var/cache/xai
#don't forget to set writeable /var/cache/xai by apache's user.

nb: I am using apache2-mpm-prefork (prefork mode in apache2)