Last active
December 11, 2020 04:30
-
-
Save XiangpengHao/2788efc7e50c2b77c362b2f57a5abc06 to your computer and use it in GitHub Desktop.
raspi setup
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
sudo apt update | |
sudo apt upgrade -y | |
# setup shell | |
sudo apt install -y byobu fish vim ipython3 curl git | |
byobu-enable | |
curl -L https://get.oh-my.fish > install | |
fish install --path=~/.local/share/omf --config=~/.config/omf | |
omf install bobthefish | |
echo 'set -g theme_date_format "+%a %H:%M"' >> ~/.config/fish/conf.d/omf.fish | |
rm install | |
curl -fsSL https://get.docker.com -o get-docker.sh | |
sudo sh get-docker.sh | |
sudo usermod -aG docker $USER | |
git config --global user.name "Xiangpeng Hao" | |
git config --global user.email [email protected] | |
# setup ssh | |
mkdir ~/.ssh | |
wget https://github.com/XiangpengHao.keys -O ~/.ssh/authorized_keys | |
chmod 700 ~/.ssh | |
chmod 600 ~/.ssh/authorized_keys | |
ssh-keygen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment