<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Post-Installation</title><link>https://sourceforge.net/p/opengroupware/wiki/Post-Installation/</link><description>Recent changes to Post-Installation</description><atom:link href="https://sourceforge.net/p/opengroupware/wiki/Post-Installation/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 08 Jan 2013 18:30:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/opengroupware/wiki/Post-Installation/feed" rel="self" type="application/rss+xml"/><item><title>WikiPage Post-Installation modified by Sebastian Reitenbach</title><link>https://sourceforge.net/p/opengroupware/wiki/Post-Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -3,20 +3,23 @@

 Create OGo user
 ---------------
+OpenGroupware needs a system user under whose account the groupware is running. To create the user do the following:

     sudo groupadd ogo
     sudo useradd -g ogo ogo
     sudo mkdir -p /var/opengroupware/documents /var/log/opengroupware
     sudo chown -R ogo:ogo /var/opengroupware /var/log/opengroupware

+The configuration is done under this system user ID, and stored in the users home directory.
+
 Configure Apache
 ----------------
+The OpenGroupware web interface, the XML-RPC API, and the ZideStore integration server each listen on a unique TCP/IP port.  The mod_ngobjweb Apache module is used to connect each of these service's port to a URL served by Apache.

-    sudo mv /usr/local/lib/mod_ngobjweb.so /usr/lib64/apache2-prefork/
-    sudo mkdir -p /srv/www/htdocs/OpenGroupware55.woa
-    cd /srv/www/htdocs/OpenGroupware55.woa
-    sudo cp -r /usr/local/share/opengroupware/www WebServerResources
-    sudo cp /etc/apache2/vhosts.d/vhost.template /etc/apache2/vhosts.d/ogo.conf
+The mod_ngobjweb module works with Apache 1.3.x or Apache 2.0.x in non-threaded mode.  The module API of Apache differs between 1.3.x and 2.0.x so it is important to acquire or build a version of the ngobjweb module appropriate to your version of Apache.
+
+The “SetAppPort” directive in the each Apache configuration stanza relating to mod_ngobjweb informs the module about the port to which requests should be forwarded when an LocationMatch occurs.
+

     sudo vi /etc/apache2/vhosts.d/ogo.conf

@@ -41,8 +44,35 @@
     

+### Provisioning the module and the pages served by Apache: ###
+
+    sudo mv /usr/local/lib/mod_ngobjweb.so /usr/lib64/apache2-prefork/
+    sudo mkdir -p /srv/www/htdocs/OpenGroupware55.woa /srv/www/htdocs/NewsImages
+    chown -R ogo:ogo /srv/www/htdocs/NewsImages
+    cd /srv/www/htdocs/OpenGroupware55.woa
+    sudo cp -r /usr/local/share/opengroupware/www WebServerResources
+    sudo cp /etc/apache2/vhosts.d/vhost.template /etc/apache2/vhosts.d/ogo.conf
+
+
+### Aliases ###
+For people not running Apache in a chroot environment, they can setup Aliases and save the copying of the of the WebServerResources:
+
+    
+      Order allow,deny
+      Allow from all
+    
+    # required aliases
+    Alias /OpenGroupware55.woa/WebServerResources/ /usr/local/share/opengroupware/www/
+    Alias /ArticleImages /var/opengroupware/news
+
+
+You can use a URL other than “/ArticleImages” for images presented by the news application.  The URL used for images in news articles is controlled by the “LSNewsImagesUrl” default.  The directory this alias is directed to needs to be specified via the “LSNewsImagesPath” default.  In order for news editors to be able to upload images the opengroupware dameon needs to be able to write to the directory specified by the “LSNewsImagesPath” default. The directory must be writable by the user running the OGo daemons.
+
 Setup the database
 ------------------
+
+Before starting OGo, the database needs to be prepared. Example is given for a database in PostgreSQL. A database user called OGo without a password, and the database called OGo running on the localhost is the default what OpenGroupware would use. If it is not liked that way, it can be changed when configuring OpenGroupware.
+
 Change to the postgres user, and create
 the database:

@@ -53,4 +83,6 @@
         /usr/local/lib/opengroupware/commands/OGo.model/Resources/pg-build-schema.psql

+Other database that can be used is MySQL, but is not well tested.
+
 That should it be with the basic post-installation tasks. You may now go on with the [Configuration](https://sourceforge.net/p/opengroupware/wiki/Configuration/)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Reitenbach</dc:creator><pubDate>Tue, 08 Jan 2013 18:30:24 -0000</pubDate><guid>https://sourceforge.net86347ed9a8c80f0eb76966570d26347afa0f0322</guid></item><item><title>WikiPage Post-Installation modified by Sebastian Reitenbach</title><link>https://sourceforge.net/p/opengroupware/wiki/Post-Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -51,3 +51,6 @@
     $ createdb -O OGo -E UTF-8 -t template0 OGo
     $ psql -U OGo OGo &lt; \
         /usr/local/lib/opengroupware/commands/OGo.model/Resources/pg-build-schema.psql
+
+
+That should it be with the basic post-installation tasks. You may now go on with the [Configuration](https://sourceforge.net/p/opengroupware/wiki/Configuration/)
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Reitenbach</dc:creator><pubDate>Thu, 03 Jan 2013 14:26:57 -0000</pubDate><guid>https://sourceforge.net84b255776dde616ae3606010f005ff3b72f18359</guid></item><item><title>WikiPage Post-Installation modified by Sebastian Reitenbach</title><link>https://sourceforge.net/p/opengroupware/wiki/Post-Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -45,6 +45,7 @@
 ------------------
 Change to the postgres user, and create
 the database:
+
     # su - postgres
     $ createuser OGo
     $ createdb -O OGo -E UTF-8 -t template0 OGo
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Reitenbach</dc:creator><pubDate>Thu, 03 Jan 2013 14:14:12 -0000</pubDate><guid>https://sourceforge.netb541a27a751f2a97a65c1cae81d29e04ace0371a</guid></item><item><title>WikiPage Post-Installation modified by Sebastian Reitenbach</title><link>https://sourceforge.net/p/opengroupware/wiki/Post-Installation/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="opengroupware-post-installation-tasks"&gt;OpenGroupware post installation tasks&lt;/h1&gt;
&lt;h2 id="create-ogo-user"&gt;Create OGo user&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;groupadd&lt;/span&gt; &lt;span class="n"&gt;ogo&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;useradd&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;g&lt;/span&gt; &lt;span class="n"&gt;ogo&lt;/span&gt; &lt;span class="n"&gt;ogo&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;mkdir&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opengroupware&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;documents&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nb"&gt;log&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opengroupware&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;chown&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;R&lt;/span&gt; &lt;span class="n"&gt;ogo&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="n"&gt;ogo&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opengroupware&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="nb"&gt;log&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opengroupware&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h2 id="configure-apache"&gt;Configure Apache&lt;/h2&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;mv&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;mod_ngobjweb&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;so&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;lib64&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;apache2&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;prefork&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;mkdir&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;p&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;srv&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;htdocs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;OpenGroupware55&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;woa&lt;/span&gt;
&lt;span class="n"&gt;cd&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;srv&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;htdocs&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;OpenGroupware55&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;woa&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;cp&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;usr&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;local&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;share&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opengroupware&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt; &lt;span class="n"&gt;WebServerResources&lt;/span&gt;
&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;cp&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;apache2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;vhosts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;vhost&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;template&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;apache2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;vhosts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ogo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;

&lt;span class="n"&gt;sudo&lt;/span&gt; &lt;span class="n"&gt;vi&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;etc&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;apache2&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;vhosts&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;d&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;ogo&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;conf&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;add the following:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nt"&gt;&amp;lt;IfModule&lt;/span&gt; &lt;span class="err"&gt;ngobjweb_module.c&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;LocationMatch&lt;/span&gt; &lt;span class="err"&gt;&amp;quot;^/OpenGroupware55*&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    SetHandler NONE
  &lt;span class="nt"&gt;&amp;lt;/LocationMatch&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;LocationMatch&lt;/span&gt; &lt;span class="err"&gt;&amp;quot;^/OpenGroupware*&amp;quot;&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    SetHandler ngobjweb-adaptor
    SetAppPort 20000
  &lt;span class="nt"&gt;&amp;lt;/LocationMatch&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;LocationMatch&lt;/span&gt; &lt;span class="err"&gt;^/zidestore/*&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    SetAppPort 21000
    SetHandler ngobjweb-adaptor
  &lt;span class="nt"&gt;&amp;lt;/LocationMatch&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;LocationMatch&lt;/span&gt; &lt;span class="err"&gt;^/xmlrpcd/*&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
    SetAppPort 22000
    SetHandler ngobjweb-adaptor
  &lt;span class="nt"&gt;&amp;lt;/LocationMatch&amp;gt;&lt;/span&gt;
&lt;span class="nt"&gt;&amp;lt;/IfModule&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;h2 id="setup-the-database"&gt;Setup the database&lt;/h2&gt;
&lt;p&gt;Change to the postgres user, and create&lt;br /&gt;
the database:&lt;br /&gt;
    # su - postgres&lt;br /&gt;
    $ createuser OGo&lt;br /&gt;
    $ createdb -O OGo -E UTF-8 -t template0 OGo&lt;br /&gt;
    $ psql -U OGo OGo &amp;lt; \
        /usr/local/lib/opengroupware/commands/OGo.model/Resources/pg-build-schema.psql&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sebastian Reitenbach</dc:creator><pubDate>Thu, 03 Jan 2013 14:13:24 -0000</pubDate><guid>https://sourceforge.neteb808fabaaeedaa1fa4b80dbee11e77c05d8e564</guid></item></channel></rss>