vault backup: 2024-01-11 19:45:46

This commit is contained in:
2024-01-11 19:45:46 +08:00
parent 5c07eecdb7
commit 0f0e697e25
3 changed files with 21 additions and 16 deletions

View File

@@ -1,7 +0,0 @@
{
"nodes":[
{"id":"e5bba63eeea5211f","x":-440,"y":-135,"width":340,"height":140,"type":"text","text":"# 安裝\n1. 到[官網](https://www.raspberrypi.com/software/)下載`imager`\n2. 記得在`imager`裡面設定ssh public key"},
{"id":"2379c5036a2ef1af","x":-60,"y":-135,"width":371,"height":315,"type":"text","text":"# 設定\n## 更新\n1. `sudo apt update`\n2. `sudo apt upgrade -y`\n\n## `raspi-config`\n1. 打開ssh與vnc\n2. 開機進入console"}
],
"edges":[]
}

View File

@@ -0,0 +1,11 @@
{
"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":"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}
],
"edges":[
{"id":"f01be3b2d50be1dd","fromNode":"2379c5036a2ef1af","fromSide":"bottom","toNode":"3a39140e3c8408cf","toSide":"top"},
{"id":"7ee9a7ffb58d8dd7","fromNode":"e5bba63eeea5211f","fromSide":"right","toNode":"2379c5036a2ef1af","toSide":"left"}
]
}