Skip to content

Commit

Permalink
Merge pull request #56 from gcivil-nyu-org/feat/setup
Browse files Browse the repository at this point in the history
Added more packages to raspberry pi setup script
  • Loading branch information
PrabhanshuAttri committed Mar 11, 2020
2 parents 1edf078 + b0faeb9 commit 8f4ceaa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -133,4 +133,7 @@ env/

.vscode/
staticfiles/
db.sqlite3
db.sqlite3

# Vim temporary files
*.swp
29 changes: 29 additions & 0 deletions hardware/setup/raspberrypi-common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,39 @@ function showStatus() {

showStatus 'Running Raspberry Pi Common Setup'

cd ~/Downloads

showStatus 'Updating system...'
sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt-get autoremove -y

showStatus 'Enabling VNC'
sudo raspi-config nonint do_vnc 0

showStatus 'Enabling SSH'
sudo raspi-config nonint do_ssh 0

showStatus 'Setting screen resolution for remote access'
sudo raspi-config nonint do_resolution 2 16

showStatus 'Installing essentials'

showStatus 'Installing vim'
sudo apt-get install vim -y

showStatus 'Installing curl and wget'
sudo apt-get install curl wget -y

showStatus 'Installing htop'
sudo apt-get install git htop -y

showStatus 'Installing screen'
sudo apt-get install screen -y

showStatus 'Installing AnyDesk'
wget https://download.anydesk.com/rpi/anydesk_5.5.4-1_armhf.deb
sudo dpkg -i anydesk*.deb
sudo apt-get install -f
sudo systemctl daemon-reload

showStatus 'Completed Raspberry Pi Common Setup'
cd ~/

0 comments on commit 8f4ceaa

Please sign in to comment.