I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis
onto
the box and here's how I did it and some things to look
out for.
To install:
#!/bin/bash | |
pushd . | |
cd /tmp/ | |
hostname_component=$(hostname -f | sed -E 's/^\w+-(\w+).*/\1/') | |
case $hostname_component in | |
staging) |