-
Notifications
You must be signed in to change notification settings - Fork 0
/
InstallationNotes.txt
44 lines (33 loc) · 1.6 KB
/
InstallationNotes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Installation Notes for the Spider/Pi Zero
=========================================
(Notes: You will need to add reboots at opportune places).
1. Load Raspbian Stretch (not Lite); Img file 3.4GB
2. Load in to Pi Zero.
3. Standard initial settings, plus:
In Raspberry Pi Config:
a. Set platform name: raspberrypiZ1
b. set password.
c. Enable ssh
In Add/Remove Software:
a. GNOME Onscreen Keyboard
4. Install:
a. sudo apt install vim
5. Increase Swapsize:
a. Stop the swap. sudo dphys-swapfile swapoff.
b. Modify the size of the swap. As root , edit the file /etc/dphys-swapfile and modify the variable CONF_SWAPSIZE : CONF_SWAPSIZE=1024. ...
c. Start the swap. sudo dphys-swapfile swapon.
(ref: https://raspberrypi.stackexchange.com/questions/41150/virtual-keyboard-activation)
6. Install on-screen virtual keyboard.
sudo apt-get install matchbox-keyboard
(https://raspberrypi.stackexchange.com/questions/41150/virtual-keyboard-activation)
7. Create ~pi/python/spider
7. Load spider files from backup.
8. Load Speaker bonnet driver:
curl -sS https://raw.githubusercontent.com/adafruit/Raspberry-Pi-Installer-Scripts/master/i2samp.sh | bash
(ref: https://learn.adafruit.com/adafruit-speaker-bonnet-for-raspberry-pi/raspberry-pi-usage)
9. sudo apt install gnome-schedule
This installs a GUI crontab entry system.
Maybe unnecessary, but manual crontab was not producing results.
10. Alternative: "crontab -e" with:
@reboot rm /home/pi/python/spider/ospid.txt # JOB_ID_2
@reboot sleep 2 && ~pi/run_spider.sh # JOB_ID_1