...
Add ODN packages repository into apt-sources-list:
Code Block language bash echo "deb http://packages.comsode.eu/debian/ wheezy main" > /etc/apt/sources.list.d/odn.list
Add ODN public key:
Code Block wget -O - http://packages.comsode.eu/key/odn.gpg.key | apt-key add -
Update apt sources:
Code Block aptitude update
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:
- http://host/internalcatalog - for internal catalog
- http://host - for public catalog
Default users
After successful installation the following users are created (can be used immediately):
Component | Username | Password | Role | ODN role |
---|---|---|---|---|
ODN/InternalCatalog | admin | admin | CKAN sysadmin | ODN Administrator |
ODN/PublicCatalog | admin | admin | CKAN sysadmin | ODN Administrator |
Unified Views | admin | test | Administrator, User | ODN Administrator |
Unified Views | user | test | User | Data 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 |