1 Installing Objavi2 on a Debian machine.
4 0. Fetch the tarball or clone the git repositiory with
6 git clone git://repo.or.cz/objavi2.git
8 (hint: this has probably already been done because that's how you
12 1. Install dependencies. Everything is apt-gettable in Debian Lenny except wkhtml2pdf,
13 which is available in Squeeze (testing).
17 xvfb (unnecessary if you're just testing under another X server)
19 ttf-??? (you'll need some fonts)
22 poppler-utils or xpdf-utils
23 httpd (apache2 is easiest because a config file is included)
25 wkhtmltopdf (download from http://code.google.com/p/wkhtmltopdf/ - you
26 can choose whether to compile or use the existing binary)
28 2. Make sure the following two files are executable (and no others):
34 3. Make sure the following directories exist and are writable by
35 www-data (or whoever is you webserver user):
41 The file ./setup.sh shows a way of doing this.
44 4. Configure your webserver. For apache 2.2 you can use the following steps:
46 4.1 edit the file apache-config-objavi2 and replace each occurrence
47 of '/home/douglas/objavi2' with the name of your objavi
48 directory. Adjust other parameters as you see fit.
50 4.2 Copy apache-config-objavi2 to /etc/apache2/sites-available/objavi2
52 4.3 sudo a2ensite objavi2
55 5. Restart or reload the webserver.