Next: , Previous: , Up: How-to   [Contents][Index]

2.3 Scenario 2: manage collections

Collections are managing shared support’s contents, exposing them to the rest of the world.

Add the new “hello” collection. You will be asked for the “mdtx” password that will gives you full access next, on the HTML catalogue.

# mediatex adm add coll hello

Set the server’s hostname on /etc/mediatex/mdtx.conf so as remote servers from latter scenario 5 and 6 may acces to the collection too.

host    localhost
host    hostname1

Build the “hello” Html catalogue.

$ mediatex make coll hello

Add a new USER (see Who) to the collection’s APACHE users.

$ htdigest /etc/mediatex/mdtx-hello/apache2/htpasswd \
           mdtx-hello username2

Give him permissions on some of the HTML sections by editing the /etc/mediatex/mdtx-hello/apache2/htgroup file:

index: mdtx usename2
cache: mdtx usename2
score: mdtx
history: mdtx
upload: mdtx

(Sections are described here: see Apache).

Browses the remotely available collection’s catalog via this URL:

Notice: for remote access, ensure hostname1 is known, by adding it to the /etc/hosts file of clients.

Change the logo:

$ cp yourLogo.{png|jpg|gif} /etc/mediatex/mdtx-hello/logo
$ mediatex make coll hello