Install root certificates for work https (optional, required if https is intercepted)
sudo mkdir /usr/share/ca-certificates/extra sudo cp root.crt /usr/share/ca-certificates/extra/root.crt sudo dpkg-reconfigure ca-certificates
Install CKAN Package
sudo apt-get install -y nginx apache2 libapache2-mod-wsgi libpq5 wget http://packaging.ckan.org/python-ckan_2.5-trusty_amd64.deb sudo dpkg -i wget python-ckan_2.5-trusty_amd64.deb rm python-ckan_2.5-trusty_amd64.deb
Install PostgreSQL
sudo apt-get install -y postgresql solr-jetty
/etc/ckan/default/production.ini
solr_url = http://127.0.0.1:8983/solr ckan.site_url = http://opendata.test
/etc/default/jetty
NO_START=0 # (line 4) JETTY_PORT=8983 # (line 19)
Add DB User and Init DB
sudo -u postgres createuser -S -D -R -P ckan_default sudo -u postgres createdb -O ckan_default ckan_default -E utf-8 sudo ckan db init
You should see the CKAN landing page when going to http://localhost
Create an admin user.
Create a user through the web interface, then use the CLI to promote the user.
sudo ckan sysadmin add yournewusername