This document for people who first touches Raspberry Pi.
Raspberry Pi is single board computer designed for education. This computer has characteristics that it can be obtained cheaply and is compact.
- It can be used as a desktop environment client computer.
- It can be used as a power saving server.
- It can control electronic circuit.
- It can study programming.
Pi ModelB+ | Pi2 ModelB | Pi3 ModelB | |
---|---|---|---|
price | $25 | $35 | $35 |
CPU | single-core 700MHZ | quad-core 900MHz | quad-core 1.2GHz |
memory | 512MB | 1GB | 1GB |
power consumption | 3W | 4.5W | 7W |
- Connect HDMI port and display using HDMI cable.
- Connect the mouse and keyboard to the USB port.
- Connect the LAN cable to the LANport.
Open the menu at the top.(Mark of Raspberry Pi) → select [Shutdown]
If it is expanded and displayed, it is necessary to change the resolution.
- Open Raspberry Pi Configuration [Menu]→[Preference]→[Raspberry Pi Configuration]
- Press [Set Resolution] button in [Resolution] of [System] tab.
- Select [Default Preferred monitor settings].
- Using CLI
- Open LXTerminal on the task bar.
- Enter
vi /boot/config.txt
and open the resolution setting file. - Set the value of hdmi_group and the value of hdmi_mode.
hdmi_mode=2 hdmi_group=82
- Close setting file.
- Enter
reboot
.
- Open Raspberry Pi Configuration [Menu]→[Preference]→[Raspberry Pi Configuration]
- Press [Set Timezone] button of [Localisation] tab.
- Select [Japan] in Area.
- Menu → [Preferences] → [keyboard and Mouse]. Open Mouse and keyboard Settings.
- Select [keyboard] tab. And push [Keyboard Layout] button.
- Country chooses Japan. And Variant chooses Japanese.
-
Open Terminal in the upper Menu
-
Enter the following command
ping 8.8.8.8
※ The ip address 8.8.8.8 is the google public DNS ip address. 3. If ping is passed, the following display will appear.
- Press ctrl + c to stop ping.
- Open Raspberry Pi Configuration [Menu]→[Preference]→[Raspberry Pi Configuration]
- Check [Enable] button in [SSH] of [Interfaces] tab.
- Attempt SSH connection from client PC.
- For Windows
- Open LXTerminal on the task bar.
- Enter
ifconfig
and check the IP address of [inet addr] of [eth0]. - Open [Tera Term] on Windows. Enter the IP address in the host field and check SSH.
- Enter user name and passphrase(default user name is "pi" and passphrase is "raspberry")
- Complete SSH connection. - for Mac
- Open LXTerminal on the task bar.
- Enter
ifconfig
and check the IP address of [inet addr] of [eth0]. - Open Terminal on Mac.
- Enter
ssh pi@[IP address]
- Enter password(default passphrase is "raspberry")
- Complete ssh connection.
- Open LXTerminal on the task bar.
- Enter
sudo apt-get update
- Enter
sudo apt-get upgrade -y