[Raspberry Pi / entry summary] some basic operations (continually updated)

Said front

  • Raspberry Pi version: 4B
  • Raspberry Pi system: raspbian
  • PC environment: windows10, ubuntu16.04

No screen SSH connection

In other source

In other source can greatly enhance the apt-get install software such as speed

  • raspbian
  1. Find the official certification of the official website Source: http://www.raspbian.org/RaspbianMirrorsHere Insert Picture Description
  2. Select the appropriate (national selection domestic), such as Tsinghua
    Here Insert Picture Description
    copy link address:
    http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/
    
  3. Edit /etc/apt/sources.list
    # 备份原文件
    cp /etc/apt/sources.list /etc/apt/sources.list.bak
    # 打开文件
    vi /etc/apt/sources.list
    # 键入i,移动光标并修改下述下划线部份
    
    Here Insert Picture Description

Hardware / cpu information

  • method one
      pinout
    
    Here Insert Picture Description
  • Method Two
    cat /proc/cpuinfo
    
    Here Insert Picture Description

CPU temperature

  • method one
    /opt/vc/bin/vcgencmd measure_temp
    
    Here Insert Picture Description
  • Method Two
    cat /sys/class/thermal/thermal_zone0/temp
    # 值除以1000
    
    Here Insert Picture Description

Keyboard Layout

Raspberry Pi default is UK layout, we used to layout US

  • Use raspi-config

    sudo raspi-config
    
  • Select Localisation Options
    Here Insert Picture Description

  • Select Change Keyboard Layout
    Here Insert Picture Description
    , but I'm here out of the question, after choosing to display the following, and then return to the initial interface is currently not find a solution
    Here Insert Picture Description

  • UK temporarily use layout

    US layout UK layout
    shift ctrl+shift 或 alt+shift

    Such as an underscore (_) is alt + shift + - bond

Site Summary

Published 106 original articles · won praise 41 · views 40000 +

Guess you like

Origin blog.csdn.net/qq_33446100/article/details/104223861