Please note: this page has been translated automatically. If you can, you should read it in one of these languages:

install raspbian on the Raspberry

We will write the system raspbian to the micro-SD card, then we will do some basic system settings.

To prepare the micro-SD card.

In this example, I chose to prepare the micro-SD card for my raspberry pi 3 Debian Linux computer, and from the command line.

If this does not meet your wishes, you will easily find other methods on the internet, for example on the web https://howtoraspberrypi.com/.

  1. get the latest version of raspbian from the official website:

    wget http://raspberry-pi.fr/download/raspbian_latest.zip -O raspbian.zip
    unzip raspbian.zip
    

    Note the name of the file extracted from the zip file.

  2. identify the present disks:

    ls -lrt /dev/sd?
    

    Note the result of the command.

  3. insert the card into the computer

    then identify the path of the card:

     ls -lrt /dev/sd?
    

    this is usually the last line.
    WARNING : check that this device was not present before (see what was shown in step 2) !!!

  4. write an image to a card

    Run the command below, replacing vojo_raspbian with the name noted in step 1, and vojo_karto with the name noted in step 3.

    sudo dd bs=1M if=vojo_raspbian of=vojo_karto status=progress conv=fsync
    

    (duration: ~40 minutes)

    sync
    eject vojo_karto
    

first start of raspberry

Connect keyboard, mouse and display, insert micro SD card in raspberry.
Connect the power to the raspberry.

The raspberry starts up, and the configuration utility starts. Let yourself be guided to set up the country, the password, the wifi network.

I advise you to give a fixed IP address to your raspberry. You can do this either on your DHCP server, if you have one, or in the configuration of raspberry.
To do this at the level of raspberry, simply modify the file /etc/dhcpcp.conf, for example with nano :

sudo nano /etc/dhcpcd.conf

Then you need to modify or add the interface configuration that interests you (eth0 for the wired network, wlan0 for the wifia network). For example, to assign the IP address 192.168.0.101 to a network whose router is 192.168.0.1:

interface eth0
static ip_address=192.168.0.101/24
static routers=192.168.0.1

You can also specify the name servers (DNS).

interface eth0
static ip_address=192.168.0.101/24
static routers=192.168.0.1
static domain_name_servers=192.168.0.1 8.8.8.8

if you want to access the command line remotely, enable ssh:

sudo systemctl start ssh
sudo systemctl enable ssh

To keep the raspberry on time, install ntp:

sudo apt install ntp

If you do not need it, removal of: Purge Apt Wolfram-Motor Wolframscript LibreOffice* Apt pure All