Skip to content

Instantly share code, notes, and snippets.

@suhail-sullad
Last active February 6, 2020 09:50
Show Gist options
  • Save suhail-sullad/f0583388a60fc3783c1e1a6fdff6db2f to your computer and use it in GitHub Desktop.
Save suhail-sullad/f0583388a60fc3783c1e1a6fdff6db2f to your computer and use it in GitHub Desktop.
#!/bin/sh
sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config
sudo service sshd restart
sudo yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo
sudo yum update -y
sudo yum install -y docker-ce net-tools java-1.8.0-openjdk.x86_64 maven.noarch git
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/bin/docker-compose
sudo chmod 775 /usr/bin/docker-compose
sudo service docker restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment