Raspberry Pi Image: Difference between revisions

no edit summary
No edit summary
No edit summary
* An image installer to copy the image file to the SD card
:The [https://www.raspberrypi.org/documentation/installation/installing-images/ Raspberry Pi site] has a list of suitable software for your operating system. Scroll down to "Writing the image".<br />
: This guide with use Win32DiskImagerRaspberry Pi Imager
* The image file to install
:Download the latest image file [from here].
* Insert your blank SD card into your computer - if not blank whatever is on the card will be erased.
* Start Raspberry Pi Imager
:* Click the CHOOSE OS button, and navigateselect to'''Use the folder where you extracted the Pi imagecustom'''
:*; [[File:Win32DiskImagerPiImager-0102.png|none]]
:* SelectBrowse to the SDlocation card fromof the DeviceOS dropdownImage -zip checkfile you havedownloaded the- no need correctto driveunzip selected!it
:* Click CHOOSE SD CARD, and select the SD card from the Device dropdown - check you have the correct drive selected!
:*; [[File:Win32DiskImager-02.png|none]]
:* Click the WriteWRITE button. Writing the image will take a few minutes
:* Once the image has finished been written, you can close Win32DiskImagerRaspberry Pi Imager<br /><br />
* '''''OPTIONAL''''' - If you wish to connect your Pi to the network using WiFi from the first boot, then you will need to follow these additional steps.
*;Note. If you connect via an cabled network, you can always configure the WiFi later using the command line
:* Eject your SD card from your computer and re-insert it
:* Locate the SD drive in File Explorer.
:* On the SD drive edit a file called '''wpa_supplicant.conf.txt''' with a text editor and add...
::* Change the country code to match your location - eg. US, GB, FR etc
::* Set the ssid to match your WiFi id
::* Set the psk to your WiFi password
:* Save the file, and then rename it to '''wpa_supplicant.conf''' - iei.e. remove the .txt file extension<br /><br />
* Eject the SD card from your computer and insert it into your Raspberry Pi
 
 
=== Information ===
*==== Install location ====
In this image Cumulus MX is installed into '''/opt/cumulusmx'''
* systemctl commands
 
* Starting Cumulus MX from the command line
*==== systemctl commands ====
You can use the following commands to control Cumulus MX...
: To start Cumulus:
> sudo systemctl start cumulusmx
: To stop Cumulus:
> sudo systemctl stop cumulusmx
: To check if Cumulus is running:
> sudo systemctl status cumulusmx
: To restart Cumulus:
> sudo systemctl restart cumulusmx
: To make Cumulus start at system boot time:
> sudo systemctl enable cumulusmx
: To stop Cumulus starting at boot time:
> sudp systemctl disable cumulusmx
 
*==== Starting Cumulus MX from the command line ====
You may want to start Cumulus from the command ine for diagnostic purposes, you can still do this...
 
First make sure the Cumulus MX service is stopped
> sudo systemctl stop cumulusmx
 
Then path to the Cumulus folder and start it
> cd /opt/cumulusmx
> 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.