vault backup: 2024-01-11 20:10:09

This commit is contained in:
2024-01-11 20:10:09 +08:00
parent 0f0e697e25
commit 9905cc8200
2 changed files with 6 additions and 4 deletions

View File

@@ -44,7 +44,7 @@
"file": "00. Inbox/樹莓派.canvas", "file": "00. Inbox/樹莓派.canvas",
"viewState": { "viewState": {
"x": 86.357177734375, "x": 86.357177734375,
"y": 109.92861938476562, "y": 272.6786193847656,
"zoom": 0 "zoom": 0
} }
} }

View File

@@ -1,11 +1,13 @@
{ {
"nodes":[ "nodes":[
{"id":"2379c5036a2ef1af","type":"text","text":"# 設定\n## 更新\n1. `sudo apt update`\n2. `sudo apt upgrade -y`\n\n## `raspi-config`\n1. 打開ssh與vnc\n2. 開機進入console","x":-60,"y":-135,"width":371,"height":315}, {"id":"2379c5036a2ef1af","type":"text","text":"# 設定\n## 更新\n1. `sudo apt update`\n2. `sudo apt upgrade -y`\n\n## `raspi-config`\n1. 打開ssh與vnc\n2. 開機進入console","x":-60,"y":-135,"width":371,"height":315},
{"id":"3a39140e3c8408cf","x":-60,"y":220,"width":371,"height":223,"type":"text","text":"## 設定 static IP\n1. `sudo vim /etc/dhcpcd.conf`\n2. 填入\n```\ninterface wlan0\nstatic ip_address=192.168.1.21/24\nstatic routers=192.168.1.1\nstatic domain_name_servers=168.95.192.1\n```\n3. reboot"}, {"id":"e5bba63eeea5211f","type":"text","text":"# 安裝\n1. 到[官網](https://www.raspberrypi.com/software/)下載`imager`\n2. 記得在`imager`裡面設定ssh public key","x":-440,"y":-47,"width":340,"height":140},
{"id":"e5bba63eeea5211f","type":"text","text":"# 安裝\n1. 到[官網](https://www.raspberrypi.com/software/)下載`imager`\n2. 記得在`imager`裡面設定ssh public key","x":-440,"y":-47,"width":340,"height":140} {"id":"3a39140e3c8408cf","type":"text","text":"## 設定 static IP\n1. `sudo vim /etc/dhcpcd.conf`\n2. 填入\n```\ninterface wlan0\nstatic ip_address=192.168.1.21/24\nstatic routers=192.168.1.1\nstatic domain_name_servers=168.95.192.1\n```\n3. reboot","x":-60,"y":200,"width":371,"height":280},
{"id":"48eb138daa4f0fbe","x":-60,"y":500,"width":371,"height":100,"type":"text","text":"## 安裝必須的工具\n1. `sudo apt install dnsutils`"}
], ],
"edges":[ "edges":[
{"id":"f01be3b2d50be1dd","fromNode":"2379c5036a2ef1af","fromSide":"bottom","toNode":"3a39140e3c8408cf","toSide":"top"}, {"id":"f01be3b2d50be1dd","fromNode":"2379c5036a2ef1af","fromSide":"bottom","toNode":"3a39140e3c8408cf","toSide":"top"},
{"id":"7ee9a7ffb58d8dd7","fromNode":"e5bba63eeea5211f","fromSide":"right","toNode":"2379c5036a2ef1af","toSide":"left"} {"id":"7ee9a7ffb58d8dd7","fromNode":"e5bba63eeea5211f","fromSide":"right","toNode":"2379c5036a2ef1af","toSide":"left"},
{"id":"fbc42e94f9577499","fromNode":"3a39140e3c8408cf","fromSide":"bottom","toNode":"48eb138daa4f0fbe","toSide":"top"}
] ]
} }