Just me being a lazy guy.
Purpose of this repo is to replace my makeshift scripts
- Change Mirrors
#!/bin/sh
# Change Mirrors
# sed --in-place 's/us.archive.ubuntu.com/mirror.0x.sg/' /etc/apt/sources.list
# sed --in-place 's/us.archive.ubuntu.com/download.nus.edu.sg\/mirror/' /etc/apt/sources.list
- Fetch and execute
get_and_execute()
{
FILE=$1
echo "Getting $FILE"
curl https://raw.githubusercontent.com/jellyjellyrobot/dev_env/master/$FILE > ~/$FILE
chmod +x ~/$FILE
echo "Running $FILE"
~/$FILE
}
# apt-get install sudo wget curl locales ssh
# yum install sudo wget curl
mkdir scripts_and_playbooks
get_and_execute scripts_and_playbooks/install.sh
## Install Docker
# export PROXY_HOST=127.0.0.1
# export PROXY_PORT=80
# get_and_execute init_docker.sh
## Install OpenVPN
# get_and_execute init_openvpn.sh
## Haxxor
# get_and_execute haxxor.sh