Raspbian installation on the Raspberry Pi 3 B+ for physics classes ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 04Jan19 Everett Lipman Begin with a bootable single-partition W95 FAT32 formatted micro SD card containing the unpacked contents of NOOBS_v2_8_2.zip . ---------------------------------------------------------------------------- Insert the micro SD card into the slot on the Raspberry pi board. The printed side of the card should be visible as you insert it, and the contacts should face the circuit board. Connect the keyboard, mouse, and HDMI video cables to the Raspberry Pi (RPi). Plug the HDMI cable into a monitor. Make sure the monitor is on and set to receive input from the HDMI port you chose. Plug in the power adapter and connect it to the RPi. Within a few seconds, you should see the RPi green indicator LED flash, and a colorful square should appear on the monitor. Select Raspbian. At the bottom of the screen, select English (US) and 'us' keyboard. Click Install. This step will take about 15 minutes. Click on "ok" after installation, and the RPi will reboot. ---------------------------------------------------------------------------- The RPi should boot directly into its graphical user interface. If a popup window asks you to "Press 'Next' to get started", click on "Cancel". Click on the icon at the top of the screen to open a terminal. Right-click to choose 'Preferences', then change the default terminal font to Monospace 14 change the foreground color to #00EE00 Using the mouse, resize the terminal so that it is 80 columns wide, and has at least 24 rows. From the terminal, run sudo raspi-config Then, Change User Password (use a secure password and remember it) Network Options: N1 Hostname -> choose your own unique hostname Boot Options: B1 Desktop / CLI B1 Text console, requiring user to login Localisation Options: Change Timezone to America/Los Angeles Change Wi-fi Country to US Interfacing Options: Camera -> enable camera SSH -> enable server SPI -> enable interface I2C -> enable interface Advanced Options: Overscan -> select Select If you are prompted to reboot, do so. Otherwise, run sudo shutdown -r now -r is for reboot. The RPi will reboot. Log in as 'pi'. Don't forget that your password is case-sensitive. Run startx ---------------------------------------------------------------------------- Click on the up/down arrow icon at the upper right. From the menu, select UCSB Wireless Web Click on globe icon at the upper left to launch the web browser. Go to http://www.physics.ucsb.edu When prompted, log in to UCSB wireless. Never allow Chromium to save your passwords ---------------------------------------------------------------------------- Open a terminal and run the following commands: cd wget web.physics.ucsb.edu/~rpi/update_physrpi chmod 0744 update_physrpi This last command makes the update script executable. ---------------------------------------------------------------------------- * Stop here unless you will be able to continue for at least 90 minutes. * ---------------------------------------------------------------------------- Open a terminal and run the following command: ./update_physrpi [will take up to 90 minutes] If you are presented with a popup window announcing that "The desktop has been updated", click "OK" to continue. When the script has finished, manually run the following command: . /etc/bash.bashrc ---------------------------------------------------------------------------- You should now be ready to go. To shut down, run sudo shutdown -h now -h is for "halt".