Installation
Pagegen can be downloaded as a simple tar file or as a deb package.
Installing deb package
- Download http://pagegen.phnd.net/download e.g. wget http://pagegen.phnd.net/include/downloads/pagegen_0.8.6_all.deb
- Install the package, e.g. dpkg -i pagegen_0.8.6_all.deb
- Setup Pagegen sites directory #setup_pagegen_sites_directory
Installing tar package
- Download http://pagegen.phnd.net/download e.g. wget http://pagegen.phnd.net/include/downloads/pagegen_0.8.6.tar.gz
- Extract tar archive tar -zxf pagegen_0.8.6.tar.gz
- Ensure all files in the pagegen_0.8.6 are executable e.g. chmod 777 *
- 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.
| Name | Value | Description |
|---|---|---|
| PAGEGEN_LIB_DIR | path_to_executables | The 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 |



