## We cannot answer questions on board/operating system combinations we have not tested. See notes below for tested combos.
## 25/10/2019 I installed all defaults in the script and in addition non-default Grafana onto an ACEPC T9 on which I'd installed the latest Debian Buster
-## Note that Bustr on a non-Pi machine may not have SUDO installed by default. To become a super-user to install it if you can't get to root, "su -".
-## July 2019 used 3-liner as in the blog to upgrade an RPI which had been set up initially using the script in Stretch - to Buster.
+## Note that Buster on a non-Pi machine may not have SUDO installed by default. To become a super-user to install it if you can't get to root, "su -".
+## 01/07/2019 used 3-liner as in the blog to upgrade an RPI which had been set up initially using the script in Stretch - to Buster.
## 17/02/2019 Added pure-ftp
## 07/02/2019 Separated NR into official NR install script, added tcpdump - not added fing but worth doing?
## 17/02/2019 I added nmap, netdiscover and also node-red-contrib-advanced-ping
## 26/12/2016 - complete re-hash for new menus
## 02/12/2016 Tested Roseapple Pi using Armbian - for Node-Red serial, had to
## enable permissions for the serial - everything worked first time
-## 16/5/2016 Tested on NanoPi M1 - (got 3 UARTS out of the M1)
+## 16/05/2016 Tested on NanoPi M1 - (got 3 UARTS out of the M1)
## 22/06/2016 tested on NanoPi NEO using Armbian Jessie Server
## 28/12/2016 tested in DietPi and Xenial virtual machines
## you could run the file as ./script.sh
-## Note- on the Odroid C2 everything installed except webmin. After reboot this is what I did to get it running..
+## Note- on the Odroid C2, everything installed except Webmin. After reboot this is what I did to get it running..
## wget http://prdownloads.sourceforge.net/webadmin/webmin_1.850_all.deb
## sudo dpkg --install webmin_1.850_all.deb
## That complained about missing bits so I used...
"rpiclone" "Install RPI-Clone" ON \
"log2ram" "Install Log2RAM default 40 Meg" OFF \
"grafana" "Install Grafana and InfluxDB" OFF \
- "wolfram" "Remove Wolfram on a PI to save space" OFF \
+ "rootaccess" "Enable remote root access" OFF \
+ "wolfram" "Remove Wolfram on a PI to save space" OFF \
"office" "Remove LibreOffice on PI to save space" OFF 3>&1 1>&2 2>&3)
MYMENU=$(whiptail --title "Main Non-Pi Selection" --checklist \
if [[ $MYMENU == *"nodejs"* ]]; then
printstatus "Installing NodeJS"
if [[ $(uname -m) == *"armv6"* ]]; then
printstatus "Installing ARM6 version"
wget --no-check-certificate https://nodejs.org/dist/$LATESTNODE/node-$LATESTNODE-linux-armv6l.tar.xz -a $LOGFILE
echo -e MQTT: $(/usr/sbin/mosquitto --help | grep version) >> $LOGFILE
sudo grep -h ^deb /etc/apt/sources.list /etc/apt/sources.list.d/* 2>&1 >> $LOGFILE
echo "alias space='df -h|grep -v udev|grep -v tmpfs|grep -v run'" | sudo tee -a /etc/bash.bashrc > /dev/null 2>&1
+if [[ $MYMENU == *"rootaccess"* ]]; then
+ sudo sh -c "echo 'PermitRootLogin yes' >> /etc/ssh/sshd_config
printstatus "ALL DONE - PLEASE REBOOT NOW THEN TEST"