Difference between revisions of "Honeycomb/Releases/1609/Installing binaries from packages"
(→Java) |
(→Ubuntu) |
||
Line 46: | Line 46: | ||
== Ubuntu == | == Ubuntu == | ||
− | === Ubuntu 14 | + | === Ubuntu 14.04 - Honeycomb Release DEB === |
'''Note: Should work on any system able to process deb package and can support VPP and also Java. Not just ubuntu trusty.''' | '''Note: Should work on any system able to process deb package and can support VPP and also Java. Not just ubuntu trusty.''' | ||
Line 61: | Line 61: | ||
sudo apt-get update | sudo apt-get update | ||
sudo apt-get install honeycomb | sudo apt-get install honeycomb | ||
+ | |||
+ | === Ubuntu 16.06 - Honeycomb Release DEB === | ||
+ | |||
+ | For Ubuntu 16.06, the packages are not published to repository. But the packages from ubuntu 1404 repository can be safely used. | ||
+ | |||
+ | '''Note: The service definition is written for upstart, not systemd, so in ubuntu 16.06 one might have to start honeycomb using script: ''/opt/honeycomb/honeycomb-start'' ''' | ||
== Running honeycomb == | == Running honeycomb == | ||
[[Honeycomb/Releases/1609/Running Honeycomb#Starting_Honeycomb_agent]] | [[Honeycomb/Releases/1609/Running Honeycomb#Starting_Honeycomb_agent]] |
Revision as of 13:56, 22 September 2016
Contents
Dependencies
Honeycomb binary package dependencies
Java
Honeycomb needs Java 8 to run. It installs openjdk-8 as a dependency.
IMPORTANT: For Ubuntu 14.04, make sure to manually add openjdk repository for jdk8, since it's not included by default According to http://stackoverflow.com/questions/32942023/ubuntu-openjdk-8-unable-to-locate-package
IMPORTANT: Make sure there is no java 7 installed before running HC. After honeycomb installation, look for packages e.g. openjdk-7-* and uninstall them. If Honeycomb picks up older JVM, it won't run.
VPP
Honeycomb runs on top of VPP. It installs VPP as a dependency if not already present.
NSH (optional)
Honeycomb provides optional support for VPP's plugin: NSH_SFC. It is a suggested dependency, so if wanted, install honeycomb with --install-suggests switch.
Centos
CentOS 7.2 - Honeycomb Release RPMs
Note: Should work on any system able to process rpm package and can support VPP and also Java
Add fd.io repo
Create a file /etc/yum.repos.d/honeycomb-release.repo with contents:
[honeycomb-release] name=honeycomb release branch latest merge baseurl=https://nexus.fd.io/content/repositories/fd.io.centos7/ enabled=1 gpgcheck=0
Install honeycomb packages
sudo yum install honeycomb
Ubuntu
Ubuntu 14.04 - Honeycomb Release DEB
Note: Should work on any system able to process deb package and can support VPP and also Java. Not just ubuntu trusty.
Note: Honeycomb is published only to trusty repository, but it can be installed from there into any other ubuntu version that's supported by VPP.
- Pick Ubuntu version:
export UBUNTU="trusty"
- Then run:
sudo rm /etc/apt/sources.list.d/99fd.io.list echo "deb [trusted=yes] https://nexus.fd.io/content/repositories/fd.io.ubuntu.$UBUNTU.main/ ./" | sudo tee -a /etc/apt/sources.list.d/99fd.io.list sudo apt-get update sudo apt-get install honeycomb
Ubuntu 16.06 - Honeycomb Release DEB
For Ubuntu 16.06, the packages are not published to repository. But the packages from ubuntu 1404 repository can be safely used.
Note: The service definition is written for upstart, not systemd, so in ubuntu 16.06 one might have to start honeycomb using script: /opt/honeycomb/honeycomb-start
Running honeycomb
Honeycomb/Releases/1609/Running Honeycomb#Starting_Honeycomb_agent