Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
# Update OS software
sudo -n yum -y update

# Install Java 8
sudo -n yum -y install java-1.8.0-openjdk-devel
sudo -n yum -y remove java-1.7.0-openjdk

# Install Git
sudo -n yum -y install git

# install docker
sudo yum install docker -y

# Start the Docker Service
sudo service docker start

# Add the ec2-user to the docker group so you can execute Docker commands without using sudo.
sudo usermod -a -G docker ec2-user

# Install Docker compose

sudo curl -L "$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

# Clone DSpace-Docker-Images
git clone
cd DSpace-Docker-Images/docker-compose-files/dspace-compose

Reboot the Machine

This ensures that the permission changes granted to the docker-compose executable will have taken effect.

Follow the documented DSpace Docker instructions