Content

Installation

Pagegen can be downloaded as a simple tar file or as a deb package.

Installing deb package

  1. Download http://pagegen.phnd.net/download e.g. wget http://pagegen.phnd.net/include/downloads/pagegen_0.8.6_all.deb
  2. Install the package, e.g. dpkg -i pagegen_0.8.6_all.deb
  3. Setup Pagegen sites directory #setup_pagegen_sites_directory

Installing tar package

  1. Download http://pagegen.phnd.net/download e.g. wget http://pagegen.phnd.net/include/downloads/pagegen_0.8.6.tar.gz
  2. Extract tar archive tar -zxf pagegen_0.8.6.tar.gz
  3. Ensure all files in the pagegen_0.8.6 are executable e.g. chmod 777 *
  4. Setup Pagegen sites directory #setup_pagegen_sites_directory

Setup Pagegen sites directory

Pagegen requires a sites directory to store the sites it manages (content, templates, generated HTML etc). It assumes the sites directory is located in ~/pagegen, if this directory does not exist it must be created e.g. mkdir ~/pagegen.

Pagegen is now ready to roll.

If you want to specify another location for this directory create ~/.pagegen.conf and add PAGEGENDIR=[path to your Pagegen sites directory].

Further configuration of the installation

This information is for customizing the installation further and is probably not relevant to most users.

If /etc/pagegen.conf exists it will be used, it may contain the following settings.

NameValueDescription
PAGEGEN_LIB_DIRpath_to_executablesThe pagegen executable may be moved to any location (e.g. /usr/bin), as long as this setting points to the directory containing the other executables
Last changed 2009-10-18 16:49