Skip to content

Instantly share code, notes, and snippets.

@leoheck
Last active November 10, 2020 00:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leoheck/3158d9d959eb708ecfd42300b2a88e78 to your computer and use it in GitHub Desktop.
Save leoheck/3158d9d959eb708ecfd42300b2a88e78 to your computer and use it in GitHub Desktop.
Install Homebase
#!/usr/bin/bash
# Homebase, pre installation
#
# How to use:
# sh -c "$(curl -H "Cache-Control: no-cache" https://gist.githubusercontent.com/leoheck/3158d9d959eb708ecfd42300b2a88e78/raw/homebase-install.sh)"
# Set Hostname
read -p "What is the HOSTNAME: " hname
echo $hname > /etc/hostname
sed -i "s/raspbery/$(hname)/g" /etc/hosts
# Change Pi password
passwd
sudo apt -y install git
git config --global credential.helper "cache --timeout=3600"
sudo apt -y install zsh
yes | sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
git clone http://github.com/perimeter-inc/homebase
zsh
@leoheck
Copy link
Author

leoheck commented Nov 10, 2020

How to use this?
Just copy and paste this on the command line:

sh -c "$(curl -H "Cache-Control: no-cache" \
https://gist.githubusercontent.com/leoheck/3158d9d959eb708ecfd42300b2a88e78/raw/homebase-install.sh)"

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