Skip to content

Instantly share code, notes, and snippets.

@Sonictherocketman
Created September 11, 2020 22:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Sonictherocketman/bf6bb6264e870ae8981093ef777db105 to your computer and use it in GitHub Desktop.
Save Sonictherocketman/bf6bb6264e870ae8981093ef777db105 to your computer and use it in GitHub Desktop.
#! /bin/bash
# A basic CentOS Setup Script
echo "[$(date)] Starting Base Installs"
sudo yum -y update
sudo yum install -y tmux git epel-release htop
echo "[$(date)] Installing Docker"
sudo yum -y install docker docker-registry
sudo systemctl enable docker.service
sudo systemctl start docker.service
echo "[$(date)] Checking Docker installation"
systemctl status docker.service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment