Skip to content

Instantly share code, notes, and snippets.

@bdombro
Last active August 29, 2015 14:01
Show Gist options
  • Save bdombro/6babaff09f0fbd730c0f to your computer and use it in GitHub Desktop.
Save bdombro/6babaff09f0fbd730c0f to your computer and use it in GitHub Desktop.
#!/bin/bash
echo "
Installing Brian's custom server tools
Installer Version 1.4"
mkdir ~/bin &>1 /dev/null
echo "" >> ~/.bashrc
echo "PATH=\$PATH:~/bin" >> ~/.bashrc
#mysqldumpp
curl https://gist.github.com/bdombro/5d009afe5846298b3940/download 2> /dev/null | tar zxf -
#zcatp
curl https://gist.github.com/bdombro/159f9e153798c61f6735/download 2> /dev/null | tar zxf -
#tarp
curl https://gist.github.com/bdombro/6f03b602174f98ced446/download 2> /dev/null | tar zxf -
chmod +x gist*/*
mv gist*/* ~/bin/
rm -r gist*
command -v pv >/dev/null 2>&1 || { echo "**pv is not installed. You will need to install pv using your package manager**"; }
echo "All done.
"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment