MySQL for the Internet of Things

(Steven Felgate) #1

Chapter 6 ■ Building low-Cost MysQl data nodes


When installation finishes, click OK on the completed dialog and then wait for the Raspberry Pi
to reboot into Raspbian. On the first boot, you may see the Raspberry Pi Configuration dialog. The
configuration dialog is used to set the time and date for your region, enable hardware like a camera board,
create users, change the password, and more. Figure 6-9 shows the configuration dialog.


■Tip you can also run the console-based configuration utility by opening a terminal and running the


command raspi-config.


You will see four tabs that you can use to change settings for the system. I explain each briefly in the
following list along with recommended settings for each. Once you have made your changes, click OK to
close the dialog. Depending on which settings you choose, you may be asked to reboot.



  • System: Board controls for the system. Use this panel to change the root password
    (highly recommended), hostname (optional), type of boot (use command-line
    interface [CLI] if you want to set up the Raspberry Pi to boot headless, and automatic
    login (not recommended).

  • Interfaces: Used to enable system and hardware services such as the camera, SSH
    (recommended), and hardware interfaces for the GPIO header.

  • Performance: Used to make changes to how the processor performs. You can
    choose to overclock (run the CPU faster), but I do not recommend this setting for a
    Raspberry Pi that will host a database or web server (or both).

  • Localisation: Used to set the default language, keyboard, and date and time. If you
    change nothing else, be sure to set these to your local settings.


Figure 6-9. Raspbian configuration dialog

Free download pdf