This is an old revision of the document!


Download repository

First configure and activate the download repository in the config file /etc/vhffs/vhffs.conf:

# Configuration of download repositories
<repository>
  # Use this module or not
  activate                =       yes

  # URL to the repositories server
  repository_url          =       "http://download.domaine.com/"
  # The initial quota of repositories
  default_quota           =       1024

[...]
</repository>

Others options are related to awstats.

Then, create a virtual host for the URL you have configured in the repository_url option in vhffs.conf.

To do that, create a file in /etc/apache2/sites-available/ and add the following content:

<VirtualHost *:80>
        HashEnable Off

        ServerAdmin admin@domaine.com
        ServerName download.domain.com
        DocumentRoot /data/repository/ #path to vhffs data

        ErrorLog /var/log/apache2/download-error.log
        LogLevel warn

        CustomLog /var/log/apache2/download-access.log combined  
        ServerSignature Off

</VirtualHost>

Save the file and initialize the virtual host with a2ensite filename

Finally, Check the activations of the related bots repository_create.pl, repository_delete.pl and repository_getquota.pl, located in /usr/lib/vhffs/bots/.

You can now log in and create repositories. Each repository takes the name of their group.

You can also mirror these repositories using VHFFS-FS-Sync

doc/installationguide/download-service.1302649172.txt.gz · Last modified: 2011/04/12 22:59 by gradator
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki