Skip to content

Instantly share code, notes, and snippets.

View Zhiyuan-Amos's full-sized avatar
🎯
Focusing

Zhi Yuan Zhiyuan-Amos

🎯
Focusing
View GitHub Profile
git config --global push.autoSetupRemote true
git config --global pull.rebase true
git config --global fetch.prune true

git config --global alias.co checkout
git config --global alias.st status
git config --global alias.br branch

Install Nextcloud on Raspberry Pi

Execute the following commands in a bash shell.

Install Nextcloud using snap

sudo apt update
sudo apt install snapd -y
sudo reboot

Install ownCloud Infinite Scale on Raspberry Pi

Execute the following commands in a bash shell.

Configure variables

Initialize the following variables:

network={eth0|wlan0} // Ethernet or wireless respectively