2026年3月26日 星期四

安裝樹梅派(Raspberry Pi OS(64-bit Lite)沒有GUI介面)

此次範例Raspberry Pi 4



按下FINISH就可以拔SD卡出來了


其實我第一次燒入失敗畫面如下,但再燒入一次就正常了

成功開機長這樣







登入後做:

sudo apt update

sudo apt upgrade -y

sudo apt update 意思:更新「軟體清單」

sudo apt upgrade -y 意思:升級已安裝的軟體

1.apt update → 先知道有什麼可以更新

2.apt upgrade -y → 再把它們全部更新


ip a
建議做固定IP避免 IP 每次開機每次變

sudo nano /etc/dhcpcd.conf
在conf在最後加:
interface eth0
static ip_address=192.168.0.200/24
static routers=192.168.0.1
static domain_name_servers=8.8.8.8

Ctrl + X
Y
Enter
這樣順序就是儲存並離開
sudo reboot
重開機

沒有留言:

張貼留言

Raspberry Pi 做 PostgreSQL(Timescale) 讓資料可以寫入到PostgreSQL

先安裝樹梅派系統 https://asps5414.blogspot.com/2026/03/raspberry-pi-os64-bit-litegui.html sudo apt install postgresql -y sudo systemctl status postg...