Versions Compared

Key

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

...

  1. Add ODN packages repository into apt-sources-list: 

    Code Block
    languagebash
    echo "deb http://packages.comsode.eu/debian/ wheezy main" > /etc/apt/sources.list.d/odn.list
  2. Add ODN public key: 

    Code Block
    wget -O - http://packages.comsode.eu/key/odn.gpg.key | apt-key add -
  3. Update apt sources: 

    Code Block
    aptitude update
  4. install ODN box: 

    Code Block
    aptitude install odn-simple

In case of fresh clean Debian Wheezy installation the steps described above should work, no other commands are required, however in some cases some python dependency problems has been detected (when the Debian environment was created as a result of virtualization). 

In such cases the following steps are required to resolve the dependency problems:

Code Block
apt-get purge python*
Code Block
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
Code Block
aptitude install odn-simple -V

Default URLs of catalogs

After successful installation the following URLs are assigned to ODN/InternalCatalog and ODN/PublicCatalog: 

 

...

Default users

After successful installation the following users are created (can be used immediately):

Component

UsernamePasswordRoleODN role
ODN/InternalCatalogadminadminCKAN sysadminODN Administrator
ODN/PublicCatalogadminadminCKAN sysadminODN Administrator
Unified ViewsadmintestAdministrator, UserODN Administrator
Unified ViewsusertestUserData Publisher

Create new user (ODN/IC) with ODN Administrator role

Code Block
. /usr/share/python/odn-ckan-shared/bin/activate
paster --plugin=ckan sysadmin add <<usrername>> -c /etc/odn-simple/odn-ckan-ic/production.ini

Create new user (ODN/IC) with Data Publisher role

Code Block
. /usr/share/python/odn-ckan-shared/bin/activate 
paster --plugin=ckan   user  add  <<username>> email=<<emailaddress>> -c   /etc/odn-simple/odn-ckan-ic/production.ini