System image installation

First login

With keyboard and screen

With an ethernet cable

You won't need a monitor nor a keyboard for the pi. You will need an ethernet cable, another pc (with ethernet plug) and a way to edit files on the sd card.

interface eth0
    # This address can actually be what you want
    static ip_address=10.0.0.1/24

Through a wifi connection

You won't need a monitor nor a keyboard for the pi. You will need a running wifi network to which the pi can connect, and a way to edit files on the sd card.

Set up a wifi connection

network={
    ssid="{ssid}"
    psk="{wifi password}"
}

You must not put spaces around =

The pi should automatically connect to the wifi network on startup.

Enable SSH

By default the ssh service is not running on the pi. In order to enable it you must create a file named ssh in the boot partition of the SD card. The content doesn't matter. The pi will see the file and start ssh at boot. But beware that the file will be deleted. To enable ssh service to start at every boot you need to run systemctl enable ssh once connected to the pi.

Change keyboard layout

By default layout for keyboards connected to the pi is en_us. To change it run as root:

Remove default user

It is better to create a new non-root user and delete the default 'pi' user.