Versions Compared

Key

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

...

  1. Configure Debian as follows:

    1. 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) 

    2. 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
      languagebash
      # 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

       

       


  2. 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
  3. Add ODN public key: 

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

    Code Block
    aptitude update
  5. Use either option a for new installation of ODN or option b for upgrade to newer version of ODN:

    1. install ODN box: 

      Code Block
      aptitude install odn-simple
    2. upgrade ODN box: 

      Code Block
      aptitude upgrade

...