Monday, October 5, 2015

Clean Installation of Raspbian on Raspberry PI 2

Note: this posting outlines the steps to load the Sept 2015 version of Raspbian known as "Jessie". It assumes you are using Windows to create the boot media for the PI.

Download last OS image ZIP file from:
https://www.raspberrypi.org/downloads/raspbian/

Extract the image file from the downloaded ZIP file.
On Windows, I prefer 7-Zip for this step from http://www.7-zip.org/.

Write the image to an SD card as explained on: https://www.raspberrypi.org/documentation/installation/installing-images/windows.md
(Note I do NOT run Win32DiskImager as administrator. Why run things as admin if it does not require it)

Boot the PI

Initial Setup

  • Menu - Preferences - Raspberry Pi Configuration
  • Localisation: set time zone=America, Vancouver, set locale=Country=Canada, set keyboard=United States, English (US)
  • System, Filesystem, Expand Filesystem
  • Boot to CLI
  • Uncheck "Auto Login as user 'pi"', (note: def PW='raspberry', we will change that below)

Update PI software

  • $ sudo apt-get update
  • $ sudo apt-get upgrade



Configure the PI to
  • allow for SSH connection to it can run without a monitor, keyboard, and mouse.
  • have a fixed IP address















Tuesday, September 1, 2015

Raspberry Pi - set static IP address

Set a static IP address on a Raspberry Pi 2 so I can connect to the same address all the time using Putty on Windows.

Editing /etc/network/interfaces seems to no longer work.

One needs to edit /etc/dhcpcd.conf

see:



    Install Pycharm on Ubuntu

    Download gz file from http://www.jetbrains.com/pycharm/download/

    INSTALLATION INSTRUCTIONS
    • Copy the pycharm-*.tar.gz to the desired installation location
      (make sure you have rw permissions for that directory)
    • Unpack the pycharm-*.tar.gz using the following command:
      tar xfz pycharm-*.tar.gz
    • Remove the pycharm-*.tar.gz to save disk space (optional)
    • Run pycharm.sh from the bin subdirectory
    NOTE: PyCharm on Linux doesn't need special installation or running any installation script. It runs out of the pycharm-*.tar.gz