Authentic — Administrator Guide : How to get and install Authentic : 俺約

 

How to get and install Authentic

Installation under Debian GNU/Linux or Ubuntu ( Debian/Ubuntoのインストール)

To work correctly Authentic relies on:

Package Installation

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:

Debian

Ubuntu

Sarge

n/a

deb http://deb.entrouvert.org/ sarge main

Etch

Edgy

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:

Apache Configuration

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.

 

Authentic — Administrator Guide

 

Debian Lenny

Quixote 2

hdknr@deb09:~$ apt-cache show python-quixote
Package: python-quixote
Priority: optional
Section: web
Installed-Size: 612
Maintainer: Oleksandr Moskalenko <malex@debian.org>
Architecture: i386
Source: quixote
Version: 2.5-3
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)
Recommends: python-quixote-doc
Conflicts: python2.3-quixote (<< 2.4-6), python2.4-quixote (<< 2.4-6), quixote (<< 2.4-6)
Filename: pool/main/q/quixote/python-quixote_2.5-3_i386.deb
Size: 109366
MD5sum: 008626778b21c029c78dcd0e0da9ba1b
SHA1: b3785f6931e905388c89eb3410bff5f8b3603e7e
SHA256: b3438aa4ce28584b44eeea0a490a5c51e87f59dfa8cde3e49a729a53bf1af262
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
     complicated templating.
.
  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

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中