Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Installation and Upgrade Manual

Configuration of system

  • Supported distribution is Debian Wheezy (7.x)
  • Ports to be opened: HTTP (80), HTTPS (443)

Configure FQDN on Debian

  • if FQDN is defined, the host has to be visible from external network, (e.g. if FQDN is odn.example.com then the host must be visible both through http and https protocols via http://odn.example.com/ and https://odn.example.com/)
  • if FQDN is not defined, the host has to be visible from external network, (e.g. if hostname is example then the host must be visible both through http and https via http://example and https://example)

Steps to configure FQDN

  1. to get ip address of host 
    IP_ADDRESS=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'`
  2. to set FQDN - where host is accessible via my-computer.my-domain.ext 
    echo "$IP_ADDRESS my-computer.my-domain.ext my-computer " >> /etc/hosts
  3. to verify if host is set properly 
    hostname -A

Configuration of java for tomcat

tomcat 7 uses by default java 6 so it is necessary to change default java for tomcat. Edit /etc/default/tomcat7, update environment variable JAVA_HOME. JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64

Installation on clean system

To install packages from COMSODE Debian repository, please follow these steps:

...

apt-get purge python\*
apt-get install python2.7-minimal  -V
apt-get install libapache2-mod-wsgi -V
apt-get install lsb-release  -V
apt-get install python-pkg-resources  -V
apt-get install python-pip  -V
apt-get install python-setuptools  -V
aptitude install odn-simple -V

Upgrade from a previous version

Note Upgrade from ODN prior to 1.0.0 is not correctly supported due to change of CKAN version and also infrastructure changes.

...