Software Set Up

This is my collection of commands I have accumulated that I need to get an R Pi working the way I like it.

 

 

Set sh files so execute and all files in a directory to be mine.

cd /home/pi/code
sudo chmod +x *.sh
sudo chown pi:pi *.*

do updates

sudo apt update
sudo apt upgrade

install tmux

sudo apt install tmux

install web server

sudo apt install nginx
sudo chown -R pi /var/www/html/

install the python for getting temperatures from temperature sensors

sudo apt-get install python3-w1thermsensor
sudo pip3 install w1thermsensor

get my favorite browser, ftp program and partition editor

sudo apt-get install firefox-esr
sudo apt-get install bareftp
sudo apt-get install gparted

used to use this as part of set up for cloudcmnd now use github instead
cloudcmnd allows file editing via web connection
see dataplicity.com documentation for info

sudo curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs