CKAN is a powerful data management system that makes data accessible – by providing tools to streamline publishing, sharing, finding and using data. CKAN is aimed at data publishers (national and regional governments, companies and organizations) wanting to make their data open and available.
- Ubuntu 13.10
- Apache 2.4.6
- Nginx 1.4.1
- PostgreSQL 9.1.13
- CKAN 2.2
http://${public_hostname}/
- PostgreSQL
- User: ckan_default
- Password: Random Password (See /etc/ckan/default/production.ini)
You have to use CKAN’s command line interface to create your first sysadmin user.
SSH into the instance with the user ‘ubuntu’.
ssh -i /path/to/my-key-pair.pem ubuntu@${public_hostname}
CKAN commands are executed using the paster command on the server that CKAN is installed on. Before running the paster commands below, you need to make sure that your virtualenv is activated and that you're in your ckan source directory.
. /usr/lib/ckan/default/bin/activate
cd /usr/lib/ckan/default/src/ckan
You have to create your first CKAN sysadmin user from the command line. For example, to create a user called seanh and make him a sysadmin:
paster sysadmin add seanh -c /etc/ckan/default/production.ini
http://docs.ckan.org/en/ckan-2.2/getting-started.html#create-admin-user
Some simple customizations to customize the ‘look and feel’ of your CKAN site are available via the UI, at http://<my-ckan-url>/ckan-admin/config/
.
http://docs.ckan.org/en/ckan-2.2/sysadmin-guide.html
Install an email server to enable CKAN’s email features (such as sending traceback emails to sysadmins when crashes occur, or sending new activity email notifications to users). For example, to install the Postfix email server, do:
sudo apt-get install postfix
When asked to choose a Postfix configuration, choose Internet Site
and press return.