Attention: All pages of this wiki depend on the pages that come before it, in order as they are listed on the Main Page. Please check for Dependencies.
Please also look at What You Need to Know Before Using This Wiki

Install Davical: Difference between revisions

From COCNM
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 01:20, 19 September 2013

Obtain and Install Davical

  • Big Fat Note: in the event that this repo is offline, these packages are available in debian Sid. Change your sources list, update and install, then change your sources list back. If you do this all/most of your apache mdoules will have to come from this repository
  • echo "deb http://debian.mcmillan.net.nz/debian lenny awm" >> /etc/apt/sources.list
  • apt-key advanced --keyserver pgp.net.nz --recv-keys F6E0FA5CF0307507BB23A512EAFCFEBF8FEB8EBF
  • apt-get update
  • apt-get install davical postgresql php5 libapache2-mod-php5 postgresql-doc-9.1 php5-curl libawl-php

Configure Postgres

  • su - postgres
  • /usr/share/davical/dba/create-database.sh
  • exit
  • sed -i '/trust/d' /etc/postgresql/9.1/main/pg_hba.conf
  • sed -i 's/#//g' /etc/postgresql/9.1/main/pg_hba.conf
  • echo "davappmap davical davical_app" >> /etc/postgresql/9.1/main/pg_ident.conf
  • echo "davdbamap davical davical_dba" >> /etc/postgresql/9.1/main/pg_ident.conf
  • /etc/init.d/postgresql restart

Configue Apache

Configure Davical

  • vi /etc/davical/cal.computerisms.com-conf.php
  • samba-tool dns add houselian computerisms.com cal A 192.168.26.10
  • samba-tool dns add houselian computerisms.com _caldavs._tcp SRV "cal.computerisms.com 443 1 10"
  • samba-tool dns add houselian computerisms.com _carddavs._tcp SRV "cal.computerisms.com 443 1 10"
  • su - postgres
  • psql davical -c "UPDATE usr set email= where user_no='1';"
  • psql davical -c "UPDATE usr set password= where user_no='1';"
  • psql davical -c "UPDATE usr set username='administrator' where user_no='1';"
  • exit
  • navigate to https://cal.computerisms.com and log in as network Administrator
  • under the tools menu sync the users and then the groups <= Big Big Fat Note: Davical does not autosync with AD. You must come and sync from Davical as part of your user-adding routine
  • Remember to look under inactive users to re-enable the administrator account

Required Reading

Notes

  • Like Apache, you have to be careful how to plan your basednusers and your OUs
  • Wishlist: stop certain/most groups from syncing