Lunski's Clutter

This is a place to put my clutters, no matter you like it or not, welcome here.

0%

Raspberry PI OS

重拾小電腦

最近需要一個伺服器,突然想起吃灰多年的Raspberry PI, 記錄一下過程。

裝OS

還記得以前燒Image到TF卡比較麻煩,這次重灌發現竟然有這麼方便的神器www

Raspberry PI Imager

裝置,系統,儲存體點完就結束了,我還先把Image載好了說(艸

更新

1
2
sudo apt-get update # 更新索引
sudo apt-get upgrade # 更新軟體

裝 Docker

這邊官方提供三種辦法,我裝到第三個才成功

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
curl -fsSL https://test.docker.com -o test-docker.sh
sudo sh test-docker.sh
sudo service docker start
sudo docker run hello-world

eka@Ekade-MacBook-Pro  ~  ssh eka@x.x.x.x
Linux eric 6.6.31+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.31-1+rpt1 (2024-05-29) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Aug 31 16:44:07 2024 from 192.168.0.139
eka@eric:~ $ docker

Usage: docker [OPTIONS] COMMAND

A self-sufficient runtime for containers

Common Commands:
run Create and run a new container from an image
exec Execute a command in a running container
ps List containers

\有Docker一切好辦/


如果你覺得這篇文章很棒,請你不吝點讚 (゚∀゚)

Welcome to my other publishing channels