...
Configure Debian as follows:
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 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)
How to set FQDN
Code Block language bash # get ip address of host IP_ADDRESS=`/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}'` # set FQDN - where host is accessible via my-computer.my-domain.ext echo "$IP_ADDRESS my-computer.my-domain.ext my-computer " >> /etc/hosts # verify hostname -A
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
Use either option a for new installation of ODN or option b for upgrade to newer version of ODN:
install ODN box:
Code Block aptitude install odn-simple
upgrade ODN box:
Code Block aptitude upgrade
...