Last active
January 4, 2020 19:52
-
-
Save brunneis/056b5e9f23898f3785b9418084d287ec to your computer and use it in GitHub Desktop.
CentOS 8 first steps
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 -y install epel-release | |
yum -y install nano git | |
yum -y install yum-utils device-mapper-persistent-data lvm2 | |
yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo | |
yum -y install docker-ce --nobest | |
systemctl enable docker | |
usermod -aG docker dynuser | |
curl -L "https://github.com/docker/compose/releases/download/1.25.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose | |
chmod +x /usr/local/bin/docker-compose | |
# yum -y install qemu-guest-agent |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment