Keep in mind….

These instructions were written assuming you’ve launched a CentOS/RHEL 7 AWS instance. Recommended spec is a t3a.medium. The following AMI is being used.

CentOS 7 (x86_64) - with Updates HVM Red Hat Enterprise Linux (RHEL) 7 (HVM)

Any CentOS/RHEL 7 setup should be relatively similar but depending on the packages installed by default you might need to install additional dependencies or some of these steps may not be necessary. Listed below is a list of all of the packages required, following that a step by step of the commands necessary. These are written for the most basic understanding of what is being installed if someone is not Linux proficient.

Software Requirements/Dependencies

  • CentOS/RHEL 7 (6/8 not supported see here)
  • curl
  • docker-ce
  • docker-compose

For RHEL an active subscription configuration is required for optional packages

RHEL Only

sudo subscription-manager repos --enable=rhel-7-server-extras-rpms

If you receive this as output it means you do not have an active subscription and the install will not be successful

This system has no repositories available through subscriptions.

Install Dependencies

Run the following in a terminal:

sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

sudo yum install docker-ce git unzip wget

sudo systemctl enable docker.service

sudo systemctl start docker.service

sudo curl -L "https://github.com/docker/compose/releases/download/1.26.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose

Install VECTR

Follow the remaining installation instructions here