Created
May 23, 2024 10:25
-
-
Save nuboat/c216a244f1000fc493fa6a1c49f411cf to your computer and use it in GitHub Desktop.
Standard Setup
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo dnf update | |
sudo dnf install docker | |
sudo systemctl start docker | |
sudo systemctl enable docker | |
sudo systemctl status docker | |
sudo usermod -aG docker ec2-user | |
# docker-compose (latest version) | |
sudo curl -L https://github.com/docker/compose/releases/latest/download/docker-compose-$(uname -s)-$(uname -m) -o /usr/local/bin/docker-compose | |
sudo chmod +x /usr/local/bin/docker-compose | |
docker-compose version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
yum install -y https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment