Installation without using monitors - chaolunner/RaspberryPi GitHub Wiki

This is a tutorial about how to install raspbian system and remote control of raspberry pi without using monitors.

Transfer Raspbian to the SD card

  • Using a computer with an SD card reader, visit the official Raspberry Pi Downloads page.

  • Click on Raspbian.

https://github.com/chaolunner/RaspberryPi/wiki/images/downloads-page.png

  • Click on the Download ZIP button under ‘Raspbian Stretch with desktop’, and select a folder to save it to.

https://github.com/chaolunner/RaspberryPi/wiki/images/download-stretch.png

  • Extract the files from the zip.

  • Format SD card on Mac

https://github.com/chaolunner/RaspberryPi/wiki/images/format-sd-card-step1.png https://github.com/chaolunner/RaspberryPi/wiki/images/format-sd-card-step2.png

  • Visit etcher.io and download and install the Etcher SD card image utility.

  • Run Etcher and select the Raspbian image you unzipped on your computer or laptop.

  • Select the SD card drive. Note that the software may have already selected the right drive.

  • Finally, click Burn to transfer Raspbian to the SD card. You'll see a progress bar that tells you how much is left to do. Once complete, the utility will automatically eject/unmount the SD card so it's safe to remove it from the computer.

    https://github.com/chaolunner/RaspberryPi/wiki/images/etcher.gif

Enable SSH and Setup Pi's WIFI

  • Placing a file named ssh, without any extension, onto the boot partition of the SD card from another computer. When the Pi boots, it looks for the ssh file. If it is found, SSH is enabled and the file is deleted. The content of the file does not matter; it could contain text, or nothing at all.

    If you have loaded Raspbian onto a blank SD card, you will have two partitions. The first one, which is the smaller one, is the boot partition. Place the file into this one.

  • Create a file named wpa_supplicant.conf in the root directory.

  • Open wpa_supplicant.conf and copy the following contents to the file.

    ctrl_interface=/var/run/wpa_supplicant
    update_config=1
    
    network={
    ssid="Your Wifi Name"
    psk="Your Wifi Password"
    }
    
  • Insert SD card into your Raspberry Pi and boot.

Get the Pi's IP address and Use SSH connect Pi

  • ping raspberrypi.local

  • ssh pi@<IP>

  • When the connection works you will see a security/authenticity warning. Type yes to continue.

  • Next you will be prompted for the password for the pi login: the default password on Raspbian is raspberry

  • For security reasons it is highly recommended to change the default password on the Raspberry Pi raspi-config

    sudo raspi-config
    

    https://github.com/chaolunner/RaspberryPi/wiki/images/raspi-config.png

Install VNC

  • sudo apt-get update Slow? maybe you can look this!

  • sudo apt-get install realvnc-vnc-server realvnc-vnc-viewer

  • sudo raspi-config

  • Open VNC and enter user name pi and password raspberry

  • Upgrade System/Software