Skip to content

Instantly share code, notes, and snippets.

@hacker65536
Last active February 21, 2017 03:58
Show Gist options
  • Save hacker65536/b9ae812b8371a501dc60f0b23c148b92 to your computer and use it in GitHub Desktop.
Save hacker65536/b9ae812b8371a501dc60f0b23c148b92 to your computer and use it in GitHub Desktop.
sudo yum update -y && sudo reboot
sudo yum install -y --enablerepo=epel bash-completion
sudo yum install -y git jq
sudo yum install -y tcpdump 
dircolors -p > ~/.dir_colors
sed -e 's/DIR 01;34\(.*\)/DIR 00;36\1/' -i ~/.dir_colors
curl -s -o https://storage.googleapis.com/golang/go1.8.linux-amd64.tar.gz
tar zxvf !$:t
cat <<'EOF' >> ~/.bashrc 
export GOROOT=$HOME/go
export GOPATH=$HOME/dev
export PATH=$GOPATH/bin:$PATH:$GOROOT/bin
EOF

. !-5$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment