Last active
November 10, 2020 00:42
-
-
Save leoheck/3158d9d959eb708ecfd42300b2a88e78 to your computer and use it in GitHub Desktop.
Install Homebase
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use this?
Just copy and paste this on the command line: