当前位置:网站首页>Raspberry pie foundation | summarize and record some operations in the learning process of raspberry pie
Raspberry pie foundation | summarize and record some operations in the learning process of raspberry pie
2022-07-28 14:31:00 【CDamogu】
Summarize and record some operations in the learning process of raspberry pie

Raspberry pie Foundation
- Official tool installation system
- Start without screen SSH
- windows Log in to raspberry pie desktop through remote connection
- Raspberry pie adjusts the display resolution
- Raspberry pie changes the domestic image source
- Update raspberry pie
- Install the software
- 3.5 Inch screen all-in-one machine drive installation
Official tool installation system
Raspberry Pi Imager software interface

CHOOSE OSSelect the operating system hereChOOSE STORAGEChoose a storage deviceWRITEPerform the operation
CHOOSE OSSome recommended systems in this option can be downloaded online directly ( You don't have to go to the official website to download )After selecting the system, you can choose the disk you want to burn
Click on
WRITECan finish
Of course , If you have downloaded the system image elsewhere , You can choose
Use CustomIf you want to replace the system , choice
EraseErase the current image , Then burn your own image !
Start without screen SSH
- TF There will be two disks after the card burning image , One
bootdisc , A system disk ( Not viewable ) - open
bootdisc , Create a new one calledsshNo suffix file for - And then you can go through
sshMode of accessssh [email protected] - Default account :
pi - Default password :
raspberry
windows Log in to raspberry pie desktop through remote connection
The official operating system of raspberry pie does not support by default windows Remote login function , Need to install xrdp, The specific operation is after the raspberry pie development board is powered on and connected to the network ,ssh Log in to raspberry pie , Carry out orders
sudo apt-get install xrdp
sudo apt-get purge tightvnc xrdp
sudo apt-get install tightvncserver xrdp
# After installation, execute the command , restart xrdp service
sudo /etc/init.d/xrdp restart
# Check 3350 3389 5910 These three ports are in LISTEN
netstat -tnl
Win+R type mstsc, Enter raspberry pie Ip address , Password account can be seen in the previous chapter Start without screen SSH
Raspberry pie adjusts the display resolution
There is no interface to adjust the resolution on the raspberry pie graphic desktop , We need to enter the command line operation
sudo raspi-config
Then a very hard core configuration panel will appear
- Use up, down, left, right, and Tab Press the key one by one
- find
Resolution, Select the corresponding one .
Raspberry pie changes the domestic image source
Modify software update source
First, replace the domestic image source for raspberry pie , Input... At the terminal :sudo nano /etc/apt/sources.list , The content of the document is shown in the figure below :
use # Comment out the original foreign image source , And add domestic sources , I use Tsinghua source , Add the following code after the file
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
#deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main contrib non-free rpi
Ctrl+X sign out , Then press Y preservation
Modify system update source
The input terminal :sudo nano /etc/apt/sources.list.d/raspi.list, As shown in the figure below :
use # Comment out the original foreign image source , And add domestic image source , I use Tsinghua source , Add the following code after the file :
deb http://mirrors.ustc.edu.cn/archive.raspberrypi.org/debian/ buster main ui
After completion, as shown in the figure below :
Ctrl+X sign out , Then press Y preservation
Update raspberry pie
# Update the raspberry pie system , Input... At the terminal
sudo apt-get update
# Update raspberry pie Software , Input... At the terminal
sudo apt-get upgrade
# 1. perform apt-get upgrade It can lead to LCD Not working properly . You need to edit SD In the card config.txt file , And delete this sentence :dtoverlay=ads7846
Because the Internet speed is different from personal updating habits , The update time is also different , It may take a long time , Please be patient .
Install the software
sudo apt-get install git
3.5 Inch screen all-in-one machine drive installation
sudo rm -rf LCD-show
git clone https://github.com/goodtft/LCD-show.git
chmod -R 755 LCD-show
cd LCD-show/
sudo ./LCD35-show
# Screen rotation
sudo ./LCD35-show < Rotation Angle >
# HDMI And LCD Switch
cd LCD-show/
sudo ./LCD-hdmi
cd LCD-show/
sudo ./LCD35-show
# stay Raspbian-lite Under the system , You need to perform sudo ./LCD35-show lite command , To install the drive .
边栏推荐
- [ecmascript6] modularization
- Niuke multi school link with level editor i- (linear DP)
- Minitest -- applet automation testing framework
- OKR与GRAD
- [ecmascript6] set and map
- Alibaba, jd.com, Tiktok: push cloud to the heart of industry
- Thrift 序列化协议浅析
- 3种方法解轮转数组
- 【Utils】CookieUtil
- Detailed explanation of common commands of vim (VIM use tutorial)
猜你喜欢

Forage QR code -- online QR code generator

C语言中浮点数据类型(你学废了吗)

C语言库函数getchar()怎么使用

Thoughts on the construction of some enterprise data platforms

MeterSphere--开源持续测试平台

UFIDA BiP CRM new product launch enables large and medium-sized enterprises to grow their marketing

HCIP第十二天

Floating point data type in C language (did you learn to waste it)

Clickhouse distributed cluster construction

zabbix分布式
随机推荐
2022低压电工考试题及答案
八、picker用法 下拉框选择效果
What is gossip (E-Net gossip)
LeetCode 1331.数组序号转换
(function(global,factory){
How to write test cases in software testing technology
[ecmascript6] iterator and generator
HCIP第十二天
2022 safety officer-a certificate operation certificate examination question bank simulated examination platform operation
Introduction to database system (5th Edition) supplementary exercises - Chapter 1 Introduction
九、uni-popup用法 下拉框底部弹窗效果
Pointers and arrays (7)
How to configure ADB environment variables (where to open environment variables)
AFNetworking速成教程
Factory mode and constructor mode
Literature reading (245) roller
It's so hot that solar power can't take off? Hello, head
Thoughts on the construction of some enterprise data platforms
What is a spin lock? A spin lock means that when a thread attempts to acquire a lock, if the lock has been occupied by other threads, it will always cycle to detect whether the lock has been released,
ScottPlot入门教程:获取和显示鼠标处的数值