1,122
edits
No edit summary |
|||
Line 135: | Line 135: | ||
=== Symbolic Links === | === 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. | 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 == | |||
* Installed Raspberry Pi Buster Lite (August 2020) | |||
* Enabled SSH | |||
* Installed latest updates - apt update/upgrade | |||
* Installed latest Mono complete stable version (6.12) | |||
* Clean up apt - apt autoremove | |||
* Changed hostname to "cumulusmx" | |||
* Edited cumulusmx.service and copied to /etc/systemd/system | |||
* Disabled mono-xsp4 service - update-rc.d mono-xsp4 disable | |||
* Copied CMX to /opt/CumulusMX folder | |||
* Created symbolic links for temp files to /run/cumulusmx | |||
The following commands are useful in creating the image file (created on Debian). | |||
Create image file from SD card - sdb, may be sdc etc. | |||
dd if=/dev/sdb of=/home/<username>/rpi.img bs=1M | |||
Shrink the image file.<br /> | |||
Download pishrink from: | |||
wget https://raw.githubusercontent.com/Drewsif/PiShrink/master/pishrink.sh | |||
Then run it... | |||
pishrink.sh /home/<username>/rpi.img /home/<username>/rpi2.img | |||
Disable IPv6<br /> | |||
Edit /etc/systctl.conf<br /> | |||
Add line... | |||
net.ipv6.conf.all.disable_ipv6 = 1 |