Here is a quick run on how to install ]project-open[ with the cognovís Checkout on Ubuntu LTS 10.4. Become ROOT first!
sudo su -
Install the components
apt-get install aolserver4-core aolserver4-daemon aolserver4-doc aolserver4-nspostgres aolserver4-nssha1 aolserver4-xotcl ghostscript gsfonts imagemagick libcupsimage2 libdjvulibre-text libdjvulibre21 libgomp1 libgraphviz4 libgs8 libilmbase6 liblcms1 libltdl7 libmagickcore2 libmagickcore2-extra libmagickwand2 libopenexr6 libpaper-utils libpaper1 libpq5 libwmf0.2-7 postgresql daemontools daemontools-run postgresql-8.4 postgresql-doc-8.4 postgresql-client postgresql-client-8.4 postgresql-client-common psfontmgr tcl tcl8.4 tcllib tclthread tdom wwwconfig-common xotcl postgresql-contrib-8.4 nginx jodconverter aolserver4-dev make graphviz git-core aolserver4-nsimap emacs unzip zip openoffice.org-headless openoffice.org-writer openoffice.org-draw openoffice.org-java-common
Now install libthread
cd /usr/local/src
wget http://mesh.dl.sourceforge.net/sourceforge/tcl/thread2.6.6.tar.gz
tar -xzf thread2.6.6.tar.gz
cd thread2.6.6/unix
../configure --enable-threads --prefix=/usr/lib/aolserver4 --exec-prefix=/usr/lib/aolserver4 --with-aolserver=/usr/lib/aolserver4 --with-tcl=/usr/lib/tcl8.4
make
make install
# Prepare the projop user.
groupadd web
mkdir /var/lib/aolserver
useradd -g web -d /var/lib/aolserver/projop -m -s /bin/bash projop
su - postgres
createuser -s projop
exit
#Now get yourself ]project-open[ and load the dumpfile
# The following description tells you how to get the code if you are a customer of cognovis
sudo su - projop
git clone git@github.com:cognovis/project-open.git
mv project-open/* .
mv project-open/.git .
rm -rf project-open
createdb -E UNICODE projop
# Assuming you have a dumpile called projop in your current directory
psql -f projop.dmp
Now you need to make sure tsearch works in PG 8.4 as well. ONLY DO THIS ON AN UPGRADE from before 8.4 !!!
psql
# And now enter:
CREATE TEXT SEARCH CONFIGURATION public.default ( COPY = pg_catalog.english );
# Also edit the configuration to allow add_missing_from, default_with_oids and set the regex_flavor to extended
exit
emacs /etc/postgresql/8.4/main/postgresql.conf
/etc/init.d/postgresql-8.4 reload
# Copy the config files and prepare the log directory
cp /var/lib/aolserver/projop/files/projop.tcl /etc/aolserver4/
mkdir /var/log/aolserver4/projop
chown projop.web /var/log/aolserver4/projop/
# Configure daemontools.
# Copy your runfile into /var/lib/supervise/projop
mkdir /var/lib/supervise/projop
cp /var/lib/aolserver/projop/files/run /var/lib/supervise/projop
chown -R projop.web /var/lib/supervise/projop
update-service --add /var/lib/supervise/projop/ projop
initctl start svscan
# Now you should see your aolserver nicely starting up. To make it restart, install the svgroup software
cp /var/lib/aolserver/projop/packages/acs-core-docs/www/files/svgroup.txt /usr/local/bin/svgroup
chmod 755 /usr/local/bin/svgroup
svgroup web /etc/service/projop
# Make sure you can use openoffice
cp /var/lib/aolserver/projop/packages/intranet-openoffice/openoffice-init /etc/init.d/openoffice
chmod 755 /etc/init.d/openoffice
update-rc.d openoffice defaults
# Now it is time for configuring postfix
apt-get install postfix heirloom-mailx
# Smarthost auswählen, dass sollte in den meisten Fällen zutreffen. Dann den entsprechenden Smarthost (SMTP Server beim Provider) angeben. Danach die main.cf anpassen
sudo emacs /etc/postfix/main.cf
# Search for relayhost and add the following lines beneath it
smtp_sasl_auth_enable = yes
smtp_sasl_password_maps = hash:/etc/postfix/smtp_auth
smtp_sasl_security_options = noanonymous
sudo emacs /etc/postfix/smtp_auth
# Now add your credentials to smtp_auth in clear text
yourrelayhost.com yourusername:yourpassword
# And add this to your postfix database
postmap /etc/postfix/smtp_auth
/etc/init.d/postfix reload
chmod 700 /etc/postfix/smtp_auth
# Install EMACS
sudo su -
cd /usr/share/emacs/site-lisp
wget http://www.emacswiki.org/elisp/color-occur.el
wget http://openacs.org/storage/view/xowiki-resources%5C/oacs.el.tar
tar xf oacs.el.tar
apt-get install psgml mmm-mode
After this login as the user who is doing the development and edit you .emacs file.
(add-to-list 'load-path "/usr/share/emacs/site-lisp/oacs")
(require 'oacs)
(setq user-full-name "")
(setq user-mail-address "")
(add-to-list 'auto-mode-alist '("\\.vuh" . tcl-mode))
(add-to-list 'auto-mode-alist '("\\.adp" . html-mode))
#################
# Upgrade pre 4.0 po
##################
su - projop
psql -f packages/intranet-search-pg/sql/postgresql/tsearch2.8.4.5.sql
# Now load the dumpfile
psql -f yourdump.dmp
# Uninstall tsearch again from old PG version
psql -f packages/intranet-search-pg/sql/postgresql/untsearch2.8.1.18.sql
psql -f packages/intranet-search-pg/sql/postgresql/tsearch2.8.4.5.sql
# Upgrade certain files manually to circumwent errors. Ignore errors.
psql -f packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql
psql -f packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.5.0d3-5.5.0d4.sql
# Login to the Web site and install file-storage package.
# Exclude the upgrade-5.2.0d1-5.2.0d2.sql which you already ran
-
install file-storage
# country nicht laden !
# Ggf. ref language nicht laden (das SQL file) - Go to APM and upgrade all of ACS Systems
- Upgrade all of ]po[ packages
- Reinstall intranet-search-pg: First uninstall it, then reinstall it.






