wiki:PiBotOsInstallation

Version 49 (modified by chris, 9 years ago) (diff)

--

Baseline Minibot Raspbian Image Build Instructions

(based on stock Raspian Jessie Light image, not that some of the below install steps may already be in the stock image, so don't worry about it if they're already installed)

  • Setup SSH over USB for the Pi Zero
  • SSH to Pi with ssh pi@raspberrypi.local (password is raspberry)
  • Setup DNS sudo nano /etc/resolv.conf , adding the following lines:
      nameserver 8.8.8.8   
      nameserver 8.8.4.4 
    
  • Update to latest software (this will take a while):
      sudo apt-get update
      sudo apt-get upgrade
    
  • Install Oracle Java JDK. Do not use stock OpenJDK, its slower.
      sudo apt-get install oracle-java8-jdk
    
    • Then test, by running java -version. It should say java 8, not openjdk.
  • Install Pi4J
         cd ~/dev
         curl -s get.pi4j.com | sudo bash
    
  • Install Nano text editor sudo apt-get install nano
  • Install Avahi (mDNS/zeroconf) sudo apt-get install avahi-daemon
  • Update Raspian Configuration sudo raspi-config
    • Activate the Pi Zero's built-in I2C Interface:
      • Use the down arrow to select 'Advanced Options'
      • Arrow down and select 'I2C'
      • Select 'Yes' to enable the I2C Interface
      • Acknowledge the notification confirming the I2C Interface has been enabled
  • Setup WiFi for a Pi Zero
  • Reboot one last time, and log back in. Capture OS image for reuse by
    • ???

Per Minibot configinstructions (with baseline image above installed)

  • Update Raspian Configuration sudo raspi-config
    • Customize host name. Reference hostname list for assigned names. Be sure not to duplicate!
    • Select 'expand to use entire sd card'. This will reboot the pi.

Other Miscellaneous Things