How to get and install Authentic
Installation under Debian GNU/Linux or Ubuntu ( Debian/Ubuntoのインストール）
To work correctly Authentic relies on:
Apache (1.3 or 2.x, Apache 2 recommended) ;
Lasso (0.6.3 or later) ;
Quixote (2.0 or later) ;
Authentic is not yet an official package of these distributions, depending on the version you use, you will need to add one of the following lines to your /etc/apt/sources.list file:
deb http://deb.entrouvert.org/ sarge main
deb http://deb.entrouvert.org/ etch-experimental main
As root type:apt-get update apt-get install authentic
All the required packages are installed.
If you don’t want to modify your sources.list file, you can manually dowload and install the required packages with the dpkg -i command:
Authentic and Quixote 2 on http://authentic.labs.libre-entreprise.org/ ;
Lasso on http://lasso.entrouvert.org.
You need then to configure Apache to have a Authentic virtual host. The following example file is called authentic and is installed. It works (replacing http://www.example.com by the domain Name you’ve chosen for Authentic, we’ll use authentic.example.com) for Apache and SCGI. You can find it in /etc/apache2/sites-available:<VirtualHost *> ServerName authentic.example.com include /usr/share/authentic/apache2.conf CustomLog /var/log/apache2/authentic-access.log combined ErrorLog /var/log/apache2/authentic-error.log </VirtualHost>
To activate Authentic site you need to make a link toward this file from the /etc/apache2/sites-available/ directory:a2ensite authentic
You have to make sure Apache is configured to support SSL as well: check you have the following line in /etc/apache2/ports.conf:Listen 443
Add it if you don’t find it. Add then SSL support in Apache:a2enmod ssl
Next it is necessary for SCGI to be enabled:a2enmod scgi
You can then reload Apache (still as root):/etc/init.d/apache2 reload
If the hostname you chose is not served by your DNS, don’t forget to add en entry to your /etc/hosts file.
Authentic works, the administration interface is reachable: http://authentic.example.com/admin.
Installation with another Linux distribution
We suppose Apache, SCGI (which gather a Python module and an Apache module which communicate together) or mod_python are already installed. You need then to download and install the following sources:
To install Authentic, uncompress the sources you have downloaded and launch the setup.py script:tar xzf authentic-VERSION.tar.gz cd authentic-VERSION python setup.py install
You then need to configure Apache correctly.
To launch Authentic you can type as root (or any non-privileged user with read/write access to /var/lib/authentic/) in a terminal:authenticctl.py start
Note that for security reasons, it is better to have Authentic launched by a dedicated user, this user must have writing right on /var/lib/authentic.
Once Authentic is working, the administration interface is: http://authentic.example.com/admin.
Installation under Windows
We did not proceed any installation of Authentic under Windows so far. But as all the required components works with this OS, the installation is possible and we may describe it soon. Don’t hesitate to tell us about your attempts.
hdknr@deb09:~$ apt-cache show python-quixote
Maintainer: Oleksandr Moskalenko <email@example.com>
Replaces: python2.3-quixote (<< 2.4-6), python2.4-quixote (<< 2.4-6), quixote (<< 2.4-6)
Provides: python2.4-quixote, python2.5-quixote
Depends: python (<< 2.6), python (>= 2.4), python-support (>= 0.7.1)
Conflicts: python2.3-quixote (<< 2.4-6), python2.4-quixote (<< 2.4-6), quixote (<< 2.4-6)
Description: A highly Pythonic Web application framework
Quixote is yet another framework for developing Web applications in
Python. The design goals were:
1) To allow easy development of Web applications where the
emphasis is more on complicated programming logic than
2) To make the templating language as similar to Python as possible,
in both syntax and semantics. The aim is to make as many of the
skills and structural techniques used in writing regular Python
code applicable to Web applications built using Quixote.
3) No magic. When it’s not obvious what to do in
a certain case, Quixote refuses to guess.
If you view a web site as a program, and web pages as subroutines,
Quixote just might be the tool for you. If you view a web site as a
graphic design showcase, and each web page as an individual work of
art, Quixote is probably not what you’re looking for.
Python-Version: 2.4, 2.5