Install linux packages

Now begin configuring the client instance. First, install some packages on the client instance. Among other dependencies, these commands install Docker, which is used to manage execution environments using a convenient abstraction concept called containers. The Fabric commands execute inside of a pre-configured container to reduce the time it takes to set up a Fabric environment.

sudo yum update -y
sudo yum install -y telnet docker jq git
sudo service docker start
sudo usermod -a -G docker ec2-user

In order for user permissions to be updated, log out and back in again by entering exit until the terminal closes. Note that you can page through previous terminal commands using the up and down arrow keys. After logging in again, run the following commands in the Cloud9 terminal.

sudo curl -L`uname -s`-`uname -m` -o /usr/local/bin/docker-compose
sudo chmod a+x /usr/local/bin/docker-compose
sudo yum install libtool -y
wget -O go1.13.6.linux-amd64.tar.gz
tar -xzf go1.13.6.linux-amd64.tar.gz --overwrite
sudo rsync -a go /usr/local
sudo yum install libtool-ltdl-devel -y