Repository Configuration

Configure necessary software repositories and update installed packages.

  1. Configure Ubuntu repositories

    Edit the /etc/apt/sources.list file to contain the following:

    # Ubuntu Main Archive
    deb http://archive.ubuntu.com/ubuntu/ trusty main
    deb http://security.ubuntu.com/ubuntu trusty-updates main
    deb http://security.ubuntu.com/ubuntu trusty-security main
    
    # Ubuntu Universe Archive
    deb http://archive.ubuntu.com/ubuntu/ trusty universe
    deb http://security.ubuntu.com/ubuntu trusty-updates universe
    deb http://security.ubuntu.com/ubuntu trusty-security universe
  2. Configure Ubuntu Cloud Archive repository

    Create the /etc/apt/sources.list.d/cloudarchive-mitaka.list file and edit it to contain the following:

    # Ubuntu Cloud Archive
    deb http://ubuntu-cloud.archive.canonical.com/ubuntu trusty-updates/mitaka main

    Install the repository’s key:

    # apt-get update
    # apt-get install ubuntu-cloud-keyring
  3. Configure DataStax repository

    Create the /etc/apt/sources.list.d/datastax.list file and edit it to contain the following:

    # DataStax (Apache Cassandra)
    deb http://debian.datastax.com/community 2.2 main

    Download and install the repository’s key:

    # curl -L https://debian.datastax.com/debian/repo_key | apt-key add -
  4. Configure Java 8 repository

    Since Ubuntu 14.04 does not provide a Java 8 runtime environment in its repositories, we are going to use the Launchpad PPA for OpenJDK.

    Create the /etc/apt/sources.list.d/openjdk-8.list file and edit it to contain the following:

    # OpenJDK 8
    deb http://ppa.launchpad.net/openjdk-r/ppa/ubuntu trusty main

    Download and install the repository’s key:

    # apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x86F44E2A
  5. Configure MidoNet repositories

    Create the /etc/apt/sources.list.d/midonet.list file and edit it to contain the following:

    # MidoNet
    deb http://builds.midonet.org/midonet-5.4 stable main
    
    # MidoNet OpenStack Integration
    deb http://builds.midonet.org/openstack-mitaka stable main
    
    # MidoNet 3rd Party Tools and Libraries
    deb http://builds.midonet.org/misc stable main

    Download and install the repositories' key:

    # curl -L https://builds.midonet.org/midorepo.key | apt-key add -
  6. Install available updates

    # apt-get update
    # apt-get dist-upgrade
  7. If necessary, reboot the system

    # reboot
Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.