Skip to content

OGo Docs

Sections
Personal tools
You are here: Home » Members » melguezabal's Home » HowTos » Fedora 2 OGo HowTo

Fedora 2 OGo HowTo

Document Actions
Update of the Fedora Core 2 Install by Gavin Young. Will give you a running OGo system in 15-20 minutes tops in a freshly installed fedora.
OpenGroupware 1.0alpha8-shapeshifter install on Fedora 2 HOWTO (Revisited)
v1.0 Last Updated: 13/12/2004 by Marco Elguezabal

This is mostly just an update of Gavin Young Fedora 2 Install HowTo

Prerequisites: Apache and Postgres installed (Fedora RPMs fine) All commands completed as root unless otherwise stated

0)) Install Fedora Core 2

PACKAGE GROUP SELECTION

*** Desktops - X Window System - Genome Desktop

*** Applications - Editors - Graphical Internet - Text-Based Internet (FULL)

*** Servers - Server Configuration Tools - Web Server - Mail Server - Windows File Server - FTP Server - SQL Database Server - Network Server (Telnet, tftp y vnc-server)

*** Development - Development Tools - Kernel Development - X Software Development - Gnome Software Development

*** System - System Tools (FULL) - Printing Support

Steps for installing Opengroupware:

1)--------------- Uncompress the tar file --------------- #In root's home directory, extract the tar file: $ tar -xvzf OpenGroupWare.tar.gz # This will create 2 directories: "sope-4.3.8_dir" and "ogo-1.0alpha8_dir" ------------------------------------------------------*

2)------------------RPM Installation------------------- $ cd ogo-1.0alpha8_dir $ rpm -Uvh $ cd sope-4.3.8_dir $ rpm -Uvh ------------------------------------------------------*

3)-------------- Postgres Configuration --------------- # Please note that this file wont exist in a fresh install, you must # run the postgresql service in order to create the file postgresql.conf # run it using: # /sbin/service postgresql start $ vi /var/lib/pgsql/data/postgresql.conf - change tcpip_socket = true $ vi /var/lib/pgsql/data/pg_hba.conf - add:local all all trust host all all 127.0.0.1 255.255.255.255 trust host all all 0.0.0.0 255.255.255.255 reject ------------------------------------------------------*

4)------------ Postgres Database Creation ------------- ## Create new postgres database called "ogo" $ su - postgres $ createdb ogo $ createuser -A -D ogo $ exit ## Import OpenGroupware Schema into "ogo" database $su - ogo $ cd /usr/local/lib/opengroupware.org-1.0a/commands/OGo.model/Resources/ $ psql ogo -U ogo Welcome to psql 7.3.3, the PostgreSQL interactive terminal. ---snip--- ogo=> \i pg-build-schema.psql ---snip--- ogo=> \q -------------------------------------------------------*

5)--------------- Apache Configuration ----------------- ## Copy OpenGroupware Apache config file into correct directory $ cp /var/lib/opengroupware.org/OGo.conf /etc/httpd/conf.d/ ## FIX ## Add symbolic link to correct OGo.conf Apache config incorrect path $ ln -s /usr/local/lib/sope-4.3/mod_ngobjweb.so /var/lib/opengroupware.org/mod_ngobjweb.so ## FIX ## Zidestore Listening port set to 2100 instead of 2300 in OGo.conf Apache config $ vi /etc/httpd/conf.d/OGo.conf Change from: --snip-- > SetHandler ngobjweb-adaptor SetAppPort 21000 --snip-- to: --snip-- SetHandler ngobjweb-adaptor SetAppPort 23000 --snip-- $ service httpd restart --------------------------------------------------------

6)------------------- INIT Script ----------------------- ## Copy init script into correct directory and set permissions correctly $ cp opengroupware /etc/init.d/ $ chmod 755 /etc/init.d/opengroupware -------------------------------------------------------*

7)------------------ Daemon Setup --------------------- ## Add required daemons to correct runlevels and set to start on reboot $ chkconfig httpd --add $ chkconfig httpd on $ chkconfig postgresql --add $ chkconfig postgresql on $ chkconfig opengroupware --add $ chkconfig opengroupware on -------------------------------------------------------*

8))----------------- Daemon Startup -------------------- ## Restart all services making sure config changes are implimented $ service httpd restart $ service postgresql restart $ service opengroupware restart ## Check OGo log for errors: $ tail -f /var/log/ogo.log -------------------------------------------------------*

9))----------------- Set up Defaults ------------------* - If needed Default write commands (as user ogo) are: $ Defaults write NSGlobalDomain LSAdaptor PostgreSQL $ Defaults write NSGlobalDomain LSConnectionDictionary {databaseName = ogo; hostName = localhost; password = ""; port = 5432; userName = ogo} $ Defaults write NSGlobalDomain NGBundlePath /usr/lib/opengroupware.org-1.0a/ $ Defaults write NSGlobalDomain LSAttachmentPath /var/lib/opengroupware.org/documents/ -------------------------------------------------------- - To list all "NSGlobalDomain" defaults (as user ogo): $ Defaults read NSGlobalDomain

10))----------------- Run ldconfig --------------------* # Open file ld.so.conf for editing: $ vi /etc/ld.so.conf # Add the line: /usr/local/lib # run ldconfig to make the changes /sbin/ldconfig

11) Open browser, goto: http://localhost/OpenGroupware

12) Set root password then logout

DONE!

########################## NOTES ############################## -------------------------------------------------------- URLs: OGo Web Interface: http://{hostname}/OpenGroupware Zidestore: http://{hostname}/zidestore/so/{username}/ More Info: http://docs.opengroupware.org/Members/helge/ZideStore/ZideStore-URLs/view

############################################################

Created by melguezabal
Last modified 2004-12-18 11:55 PM
 

Powered by Plone

This site conforms to the following standards: