Download Raspbian at https://www.raspberrypi.org/downloads/raspbian/
RASPBIAN JESSIE WITH PIXEL or RASPBIAN JESSIE LITE and extract the file.
$ unzip -x xxx-raspbian-jessie-xxx.zip
In the computer insert the SD cards. If not, insert the card into an SD card reader, then connect the reader to your computer.
Run df -h or lsblk. The new device that has appeared is your SD card.
It will be listed as something like /dev/mmcblk0p1 or /dev/sdd1.
Run umount /dev/sdd1 or /dev/mmcblk0p1, replacing sdd1 or mmcblk0p1 with whatever your SD card's device name is (including the partition number).
In the terminal, write the image to the card with the command below
Make sure the device name is the name of the whole SD card as described above, not just a partition of it; for example, sdd, not sdds1 or sddp1, and mmcblk0, not mmcblk0p1.
$ dd bs=4M if=2017-01-11-raspbian-jessie.img of=/dev/sdd
Note: block size set to 4M will work most of the time; if not, please try 1M, although this will take considerably longer.
Remove the SD card from the card reader.
Insert the SD Card in the Raspberry and connect the power supply
After the booting
username: pi
password: raspberry
Change the password from the pi user
$ passwd pi
Configure the raspbian system
$ sudo raspi-config