diff --git a/install-redhat.sh b/install-redhat.sh new file mode 100644 index 0000000..63f21a7 --- /dev/null +++ b/install-redhat.sh @@ -0,0 +1,49 @@ +#!/bin/sh +# Copyright (c) 2018-2018 +# Data Intensive Applications and Systems Labaratory (DIAS) +# Ecole Polytechnique Federale de Lausanne +# +# All Rights Reserved. +# +# Permission to use, copy, modify and distribute this software and its +# documentation is hereby granted, provided that both the copyright notice +# and this permission notice appear in all copies of the software, derivative +# works or modified versions, and any portions thereof, and that both notices +# appear in supporting documentation. +# +# This code is distributed in the hope that it will be useful, but WITHOUT ANY +# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR +# A PARTICULAR PURPOSE. THE AUTHORS AND ECOLE POLYTECHNIQUE FEDERALE DE LAUSANNE +# DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE +# USE OF THIS SOFTWARE. + +# Import settings +. ./settings.sh + +# Following official instructions from: +# https://docs.docker.com/install/linux/docker-ce/centos/ + +# Install docker, for CentOS/RHEL +sudo yum install -y yum-utils \ + device-mapper-persistent-data \ + lvm2 + +sudo yum-config-manager \ + --add-repo \ + https://download.docker.com/linux/centos/docker-ce.repo + +# You might be requested to accept the key: +echo <