User Tools

Site Tools


podoc:installation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
podoc:installation [2007/03/16 18:06] – UTF8. pizzapodoc:installation [2007/11/27 16:08] (current) – createuser on pg8 is incorrect. pizza
Line 1: Line 1:
 ==== Installation Overview ==== ==== Installation Overview ====
  
-Please note that these instructions only apply to v2.32 or newer.  If you are trying to install v2.31b or older, please see the originial installation instructions at: [[http://www.k-i-s.net/article.php?article=10]]+//Please note that these instructions are intended for v2.34.  For versions 2.31 and older, please see the originial installation instructions at: [[http://www.k-i-s.net/article.php?article=10]]//
  
 Additionally, please read the [[installation_gotchas]] page before installing, as it contains a short list of common problems and their solutions. Additionally, please read the [[installation_gotchas]] page before installing, as it contains a short list of common problems and their solutions.
Line 15: Line 15:
 If you have not already done so, extract the archive you downloaded.  If you have not already done so, extract the archive you downloaded. 
  
-  [root@heatwave ~]$ tar -xjf po-2.32.tar.bz2+  [root@heatwave ~]$ tar -xjf po-2.34.tar.bz2
  
 ==== Create the Database user and database ==== ==== Create the Database user and database ====
Line 27: Line 27:
 First, we create the user: First, we create the user:
  
-  [root@heatwave ~]$ createuser -U postgres -S -R -P -D po_user   #  use '-A' instead of '-S -R' on PG 7.4+  [root@heatwave ~]$ createuser -U postgres -S -R -P -D po_user   #  use '-A' instead of '-S -R' on PG <= 8.0
   Password: [[enter_postgres_s_password]]   Password: [[enter_postgres_s_password]]
   Enter password for new role: [[enter_password]]   Enter password for new role: [[enter_password]]
Line 58: Line 58:
 ==== Modify default configuration ==== ==== Modify default configuration ====
  
-If you are performing a new installation or upgrading from v2.31b or older, you will need to copy ///po-2.32/config_site.inc// into your new Photo Organizer folder.  This file contains your site-specific configuration, including database configuration.+If you are performing a new installation or upgrading from v2.31b or older, you will need to copy ///po-2.34/config_site.php.dist// into your new Photo Organizer folder.  This file contains your site-specific configuration, including database configuration.
  
-  [root@heatwave ~]$ cp -v po-2.32/src/include/config_site.php.dist po-2.32/src/include/config_site.php+  [root@heatwave ~]$ cp -v po-2.34/src/include/config_site.php.dist po-2.34/src/include/config_site.php
  
 Then, edit the newly-installed file with your configuration.  For example: Then, edit the newly-installed file with your configuration.  For example:
Line 74: Line 74:
   // Further examples can be found in src/include/config.php   // Further examples can be found in src/include/config.php
  
-//please note that this database syntax is for v2.33+// +If you are performing an upgrade, ensure that you have //$install_enabled=1// set, as the installer will not run without it enabled.
- +
-IF you are performing an upgrade, ensure that you have //$install_enabled=1// set, as the installer will not run without it enabled.+
  
 ==== Install php files ====  ==== Install php files ==== 
Line 98: Line 96:
  
 Now that it's installed, you may log into your new Photo Organizer installation.  The default username and password are 'admin' and 'admin', respectively.  Please change this immediately. Now that it's installed, you may log into your new Photo Organizer installation.  The default username and password are 'admin' and 'admin', respectively.  Please change this immediately.
 +
 +
 +
 +==== Alternative installation method for Gentoo ====
 +
 +Additionally it is possible to install Photo Organizer using an ebuild on Gentoo.
 +
 +Installation is done in two steps:
 +
 +1. Install the package in Gentoo via Portage
 +
 +2. Install the package into your website using webapp-config.
 +
 +This allows you to install Photo Organizer and it's dependencies (exiftool, postgresql, etc...) once and then use it in multiple virtual hosts on your system.
 +
 +These parts take care of dependencies and installing of the PHP files. Creating the database and other steps in the installation process are the same as for any other setup.
 +
 +Currently, ebuilds for gentoo can be found in the following Gentoo bugzilla entry:
 +
 +https://bugs.gentoo.org/show_bug.cgi?id=176976
 +
 +You need to put these in a portage overlay, e.g. /usr/local/portage/www-apps/photoorganizer
 +
 +For details ons how to create a portage overlay see the Gentoo docs at www.gentoo.org
podoc/installation.1174068384.txt.gz · Last modified: 2007/03/16 18:06 by pizza