Skip to content
nanakira edited this page May 3, 2019 · 6 revisions

Install

  1. Download Raspbian binary
  2. Format SD card by SD formatter
  3. Flash Raspbian image by Etcher

Connect via ssh

Create file "ssh" at root.

ssh pi@raspberrypi.local

Default user: pi password: raspberry

Change root password

sudo passwd root

Create user

sudo adduser xxxx

Add rights to newuser

groups pi
sudo usermod -G pi,adm,dialout,cdrom,sudo,audio,video,plugdev,games,users,netdev,input,spi,gpio newuser

Delete user pi

userdel -r pi

Change SSH port

sudo nano /etc/ssh/sshd_config
# Port 22
Port xxx # (49152-65535)
PermitRootLogin no # Disable direct login as root

Update to the latest

sudo rpi-update
sudo apt-get update
sudo apt-get upgrade

Raspi-config

sudo raspi-config
  • Expand file system
  • Change Locale: en_GB.UTF-8/ja_JP.EUC-JP/ja_JP.UTF-8(default)
  • Change timezone
  • Disable camera
  • Change host name
  • Change memory_split to 16MB (minimum)
Clone this wiki locally