How to install XmlAutoIndex on a linux/debian server

Abstract

TODO

Installation

1. Take a dedicated server from your favorite hosting compagny: http://www.ovh.com/

nb: if you have alreay your own server you can skip this step.

In my case I am using Kimsufi's server, it is a low cost solution with sufficient storage capabilities: 160 Gb and 10Gbps of band width.

Go to http://www.kimsufi.com/ and choose linux/debian distribution.

2. Once you have your server, upgrade it in etch release (which is the currently debian testing release):

update your source list using your prefered editor:

# vi /etc/apt/sources.list
deb ftp://mir1.ovh.net/debian/ testing main
deb-src ftp://mir1.ovh.net/debian/ testing main
deb http://security.debian.org/ testing/updates main

update packages' database

# apt-get update 

upgrade your packages

# apt-get dist-upgrade 

You can reject configuration upgrade for (/etc/init.d/checkfs.sh and /etc/init.d/checkroot.sh, because the current configuration is here to avoid fsck lock on reboot) and accept all others. You can accept to restart services (due to a gcc upgrade)

nb: If you have a gcc upgrade, it will restart your services. Once upgrade is done, don't logout from ssh and try another ssh connexion to check if ssh is still running. (I have never had any problem with this dist-upgrade)

Once it is done, you can download XmlAutoIndex .deb from TODO

# wget http://www.xmlautoindex.org/download/xmlAutoIndex-0.03-all.deb
# dpkg -i xmlAutoIndex-0.03-all.deb

Configuration

Load modxslt (it is not the case by default)

# cd /etc/apache2/mods-enabled
# /etc/apache2/mods-enabled# ln -s ../mods-available/
# /etc/init.d/apache2 restart

Test

Have a look on your server http://your-host/apache2-default/