Skip to content

Instantly share code, notes, and snippets.

@mklettner
Last active August 27, 2018 08:31
Show Gist options
  • Save mklettner/8c631fca7a7a6d6e9028fa61f3a55511 to your computer and use it in GitHub Desktop.
Save mklettner/8c631fca7a7a6d6e9028fa61f3a55511 to your computer and use it in GitHub Desktop.
My CentOS 7 Basic Setup
#!/bin/bash
if [[ `id -u` -ne 0 ]] ; then echo "Please run as root" ; exit 1 ; fi
echo 'PS1="\[\e[1;31m\][\u@\h \W]$\[\e[0m\] "' >> /root/.bashrc
yum install epel-release -y && yum install -y bash-completion bind-utils curl git htop iotop glances mlocate nc net-tools tar telnet unzip vim wget tree mc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment