Ops
Search…
Getting Started

Supported Operating Systems

Currently Ops support various forms of linux operating systems.
  • MacOS
  • Debian
  • Ubuntu
  • Fedora
  • Centos

Install Prerequisites

If you plan on installing Ops using the install script vs source code, you only need to install QEMU. All other prerequisite installs can be skipped on this page.

Install QEMU

Ensure that you install a version of QEMU that is equal to or greater than version 2.5
MacOS (homebrew)
If you're running on a Mac, you do need to install QEMU. The easiest way to install QEMU is via homebrew.
1
$ brew install qemu
Copied!
For alternate ways of installing QEMU, see their website.
Debian / Ubuntu (apt-get)
  1. 1.
    To install QEMU, run the following command...
1
$ sudo apt-get install qemu-kvm qemu-utils
Copied!
Fedora (dnf/yum)
  1. 1.
    To install qemu, run the following command...
1
$ sudo dnf update
2
$ sudo dnf install qemu-kvm qemu-img
Copied!
Or...
1
$ sudo yum update
2
$ sudo yum install qemu-kvm qemu-img
Copied!

Install Make

You'll also need to install the make command line tool. Various Linux distributions have different methods for doing so.

MacOS

  1. 1.
    To install make, run the following command line command...
1
$ xcode-select --install
Copied!

Debian / Ubuntu (apt-get)

  1. 1.
    To install make, run the following command...
1
$ sudo apt-get install build-essential
Copied!
  1. 1.
    Check that make is properly installed by running the following
    command...
1
$ make --version
Copied!

Fedora (dnf/yum)

  1. 1.
    To install make, run the following command...
1
$ sudo dnf update
2
$ sudo dnf groupinstall "Development Tools"
Copied!
Or...
1
$ sudo yum update
2
$ sudo yum groupinstall "Development Tools"
Copied!
  1. 1.
    Check that make is properly installed by running the following
    command...
1
$ make --version
Copied!

Install Git

First we need to make sure you have git installed. You can find the official git installation instructions here.

MacOS (homebrew)

  1. 1.
    To install git, run the following command. Make sure you have
    homebrew installed first.
1
$ brew install git
Copied!

Debian / Ubuntu (apt-get)

  1. 1.
    To install git on a Debian or Ubuntu instance, run the following command...
1
$ sudo apt-get update
2
$ sudo apt-get install git
Copied!
  1. 1.
    Next verify that git is installed by running the following command...
1
$ git --version
2
git version 2.18.0
Copied!
  1. 1.
    Configure your git username and email address. These details will be
    associated with any commit that may be made.
1
$ git config --global user.name "Emma Paris"
2
$ git config --global user.email "[email protected]"
Copied!

Fedora (dnf/yum)

  1. 1.
    To install git on a Fedora instance, run the following command...
1
$ sudo dnf install git
Copied!
Or...
1
$ sudo yum install git
Copied!
  1. 1.
    Next verify that git is installed by running the following command...
1
$ git --version
2
git version 2.18.0
Copied!
  1. 1.
    Configure your git username and email address. These details will be
    associated with any commit that may be made.
1
$ git config --global user.name "Emma Paris"
2
$ git config --global user.email "[email protected]"
Copied!

Build from Source

Debian / Ubuntu
  1. 1.
    There are a few dependencies that are needed to build git from source on
    Debian / Ubuntu. You can install them with the following command...
1
$ sudo apt-get update
2
$ sudo apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev asciidoc xmlto docbook2x
Copied!
  1. 1.
    To get the git source code, download and extract it.
  2. 2.
    Use the make command to build and install git.
1
$ make all doc info prefix=/usr
2
$ sudo make install install-doc install-html install-info install-man prefix=/usr
Copied!
Fedora
  1. 1.
    There are a few dependencies that are needed to build git from source on
    Fedora. You can install them with the following command...
1
$ sudo dnf install curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel asciidoc xmlto docbook2X
Copied!
For installing via yum, you need to install the Extra Packages for Enterprise Linux (EPEL) repository first:
1
$ sudo yum install epel-release
2
$ sudo yum install curl-devel expat-devel gettext-devel openssl-devel perl-devel zlib-devel asciidoc xmlto docbook2X
Copied!
  1. 1.
    Symlink docbook2X to the filename that git build expects...
1
$ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi
Copied!
  1. 1.
    To get the git source code, download and extract it.
  2. 2.
    Use the make command to build and install git.
1
$ make all doc info prefix=/usr
2
$ sudo make install install-doc install-html install-man prefix=/usr
Copied!

Install Go

It is a requirement to have go installed on your system. To do so, follow the documentation below. ops requires that the minimum version of go that you install is v1.7.

Build from Source

  1. 1.
    First pull the source and extract it.
1
$ curl -O https://storage.googleapis.com/golang/go1.11.2.linux-amd64.tar.gz
2
$ tar -xvf go1.11.2.linux-amd64.tar.gz
3
$ sudo mv go /usr/local
Copied!
  1. 1.
    Next, we need to setup your Go path. Open up the following file with your
    editor of choice.
1
$ nano ~/.profile
Copied!
1
Add the following lines...
Copied!
1
export GOPATH=$HOME/go
2
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
Copied!
1
Once the file is edited, source it to load the new environment variables.
Copied!
1
$ source ~/.profile
Copied!
  1. 1.
    Now that go is installed, let's check and make sure it is working
    properly.
1
$ go version
Copied!

Next Steps

Now that we have the prerequisites installed, the next step is to install Ops. Go to the installation instructions.
Last modified 7mo ago