Phraseanet provides a setup command line utility: