Raspberry Pi Image: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
772 bytes added ,  19:20, 25 April 2022
m
Minor resequencing of page
m (Minor resequencing of page)
Line 119: Line 119:
=== Install location ===
=== Install location ===
In this image Cumulus MX is installed into '''/opt/CumulusMX'''
In this image Cumulus MX is installed into '''/opt/CumulusMX'''
=== Symbolic Links ===
The image contains a number of pre-created symbolic links for Cumulus MX files such as realtime.txt and the standard website tmp files. These links divert these files to the random access memory chip (the storage area is configured as folder "/run/cumulusmx") to reduce wear on your SD card.
The full list of symbolic links could be added here by another contributor, presumably these cover every .json file that is produced for the default web page with fully defaulted settings as to which files are produces. For the moment, two symbolic link examples are included below:
# the processed ''realtime.txt'' -> /run/cumulusmx/realtime.txt
# the processed '''wxnow.txt''' -> /run/cumulusmx/wxnow.txt


=== Image Customisations ===
=== Image Customisations ===
* Based on the 'Lite' version of the Raspberry Pi OS (ie the graphical desktop GUI is not included; it can be added later if you want it)
 
* Based on the 'Lite' version of the Raspberry Pi OS (i.e. the graphical desktop GUI is not included)
* Full install of Mono
* Full install of Mono
* Update of all packages
* Update of all packages
Line 129: Line 138:
* Disable IPv6
* Disable IPv6
* Set hostname to "cumulusmx"
* Set hostname to "cumulusmx"
NOTE: If you later want to add the graphical desktop GUI, please check online for the latest instructions, but when last researched, these 4 steps were needed for Buster:
# sudo apt update
# sudo apt install xserver-xorg
# sudo apt install raspberrypi-ui-mods
# sudo reboot


=== systemctl commands ===
=== systemctl commands ===
Line 156: Line 171:
  sudo mono CumulusMX.exe
  sudo mono CumulusMX.exe


=== Symbolic Links ===
The image contains a number of precreated symbolic links for Cumulus MX files such as realtime.txt and the standard website tmp files. These links divert these files to a memory disk to reduce wear on your SD card.


== Build Creation Notes ==
 
= Build Creation Notes =
Here are the technical details:
* Installed Raspberry Pi Buster Lite (August 2020)
* Installed Raspberry Pi Buster Lite (August 2020)
* Enabled SSH
* Enabled SSH
Line 168: Line 183:
* Edited cumulusmx.service and copied to /etc/systemd/system
* Edited cumulusmx.service and copied to /etc/systemd/system
* Disabled mono-xsp4 service - update-rc.d mono-xsp4 disable
* Disabled mono-xsp4 service - update-rc.d mono-xsp4 disable
* Copied CMX to /opt/CumulusMX folder
* Copied full CMX download to /opt/CumulusMX folder
* Created symbolic links for temp files to /run/cumulusmx
* Created symbolic links for temp files to /run/cumulusmx


5,838

edits

Navigation menu