Setting Up a Raspberry Pi Device with Mono

Allonis myServer can run on a Raspberry Pi 3 device.

This is way cool because the hardware is super cheap with great performance (for the price).

Allonis sells pre packaged Pi hardware with myServer pre installed on it if you don't want to install it all yourself.

 If you do want to install yourself, the below should get you going!

Requirements:

  • Raspberry Pi3 connected to a HDMI display, a keyboard and mouse (can be wireless).  A 2+ amp micro USB power supply.
  • A Class 10 microSD card with 8 or more GB that has nothing on it you need (it will be formatted during the installation).
  • A Windows PC you can prepare the microSD for boot
  • Optional:  WiFi adapter (if Pi2...Pi3 has onboard WiFi)

To setup a Raspberry Pi 3 device, follow these steps:

  1. Prepare your microSD card:
  2. Install SDFormatter on a Windows PC
  3. Insert the Pi microSD card into a card reader attached to the Windows PC
  4. Run SDFormatter and make sure it found the microSD card.  If you are positive that is the correct drive letter, click to Format
  5. When done, shut down SDFormatter.
  6. Install Win32 Disk Imager on the Windows PC
  7. Run Disk Imager.  Make sure it is pointing to the microSD card as the target drive.
  8. Download Debian Jessie build to the Windows PC
  9. Unzip it
  10. Point Disk Imager to the iso file.
  11. Click to Write image.  This will take about 5 minutes or so.
  12. When done, a Finished window will popup.  Close that and Exit Win32 Disk Imager application.
  13. Eject and Remove the microSD card from the Windows PC and insert into the Pi.
  14. Boot the Pi

 

If you used the Full Debian Jessie build, then the PI should boot to the Jessie desktop

You should go to Menu > mouse / keyboard setup.  Setup the keyboard for US (if that is applicable to you)

Once your keyboard is configured, click on the Terminal app

In the Terminal app type:

  1. sudo apt-get update
  2. Hit Enter.  When finished type:
  3. sudo apt-get upgrade
  4. Hit Enter
  5. You might be asked if you want to continue...hit the Y to continue.  This will take several minutes.  When finished type:
  6. sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
  7. Hit Enter.  When done type:
  8. echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list
  9. Hit Enter.  When done type:
  10. sudo apt-get update
  11. Hit Enter.  when done type:
  12. sudo apt-get install mono-runtime
  13. Hit Enter.  You might be asked if you want to continue...hit the Y to continue.  This will take a couple of  minutes.  When finished type:
  14. sudo apt-get install libmono-system-core4.0-cil
  15. Hit Enter.  You might be asked if you want to continue...hit the Y to continue.  This will take a couple of minutes.  When finished type:
  16. To install ZWave support (requires hardware) type:
  17. wget -q -O - razberry.z-wave.me/install | sudo bash
  18. Hit Enter.  You will be asked if you accept the license terms.  If you agree, type yes and Enter.
  19. The install will take a few minutes and then you might be asked if you want to receive emails about the Razberry project.  If not, say no.
  20. Reboot the Pi by typing: sudo reboot
  21. Hit Enter.
  22. If you have a Pi2, you can also make the Pi wireless...just plug in an Edimax USB WiFi adapter.  The drivers for the adapter are included in the Debian OS.  When the desktop launches, right click on the network device icon on top right.  Add your WiFi Access Points SSID and password.  The device can then be configured for a Static IP address (recommended).