差異處
這裏顯示兩個版本的差異處。
| 兩邊的前次修訂版 前次修改 下次修改 | 前次修改 | ||
| tech:ubuntu_lxd [2025/11/13 18:43] – 新增 FAQ jonathan | tech:ubuntu_lxd [2025/11/14 11:56] (目前版本) – [3. 如何啟動 Web UI] jonathan | ||
|---|---|---|---|
| 行 311: | 行 311: | ||
| lxc config device add ct-118 eth0 nic nictype=bridged parent=br0 name=eth0 | lxc config device add ct-118 eth0 nic nictype=bridged parent=br0 name=eth0 | ||
| </ | </ | ||
| + | |||
| + | ==== 3. 如何啟動 Web UI ===== | ||
| + | * 設定 config <cli> | ||
| + | root@lin-web-210: | ||
| + | 5.21.4 LTS | ||
| + | root@lin-web-210: | ||
| + | root@lin-web-210: | ||
| + | root@lin-web-210: | ||
| + | config: | ||
| + | core.https_address: | ||
| + | root@lin-web-210: | ||
| + | +------+------+-------------+-------------+------------+-------------+ | ||
| + | | TYPE | NAME | COMMON NAME | FINGERPRINT | ISSUE DATE | EXPIRY DATE | | ||
| + | +------+------+-------------+-------------+------------+-------------+ | ||
| + | </ | ||
| + | * 因為 LXD Web UI 是採用雙向 SSL 認證方式, | ||
| + | - 瀏覽器會彈出選擇憑證, | ||
| + | - 下載憑證( Exp. lxd-ui-192.168.1.210.pfx )後匯入讓瀏覽器可以使用 | ||
| + | - 開啟瀏覽器無痕模式, | ||
| + | - 看到網頁 Step 2. 設定畫面 | ||
| + | - 回到 LXD Server 執行 < | ||
| + | root@lin-web-210: | ||
| + | TLS identity " | ||
| + | eyJjbGllbnxxxxxxxxxxxxxxxxxxxxIsImZpbmdlcnByaW5xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxmI2NSIsImFkZHJlc3NlcyI6WyIxOTIuMTY4LjExLxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0aWZpY2F0ZSJ9 | ||
| + | </ | ||
| + | - 將產生的 identity token 貼上 Step 2. \\ {{: | ||
| + | - 點下 Connet 後就會進入 Web UI \\ {{: | ||
| + | * 如果需要設定透過反向代理 Exp. NPM 原本雙向 SSL 認證就無法順利傳遞, | ||
| {{tag> | {{tag> | ||