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/08/03 18:24] – 2.34 pizzapodoc:installation [2007/11/27 16:08] (current) – createuser on pg8 is incorrect. pizza
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.php.dist// 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 73: Line 73:
   //$db_dsn = "host=128.61.15.251 port=5432 dbname=po_db user=po_user password=mysecretpassword";   //$db_dsn = "host=128.61.15.251 port=5432 dbname=po_db user=po_user password=mysecretpassword";
   // 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 configuration 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.
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.1186165473.txt.gz · Last modified: 2007/08/03 18:24 by pizza