From d04f3d8aa565c9252c249592bbe35a7005623245 Mon Sep 17 00:00:00 2001 From: Awin Huang Date: Sat, 30 Mar 2024 22:22:42 +0800 Subject: [PATCH] vault backup: 2024-03-30 22:22:42 --- 05. 資料收集/Linux/lxc.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/05. 資料收集/Linux/lxc.md b/05. 資料收集/Linux/lxc.md index 1d00be8..cbe9b42 100644 --- a/05. 資料收集/Linux/lxc.md +++ b/05. 資料收集/Linux/lxc.md @@ -4,9 +4,9 @@ ```shell curl -fsSL https://pkgs.zabbly.com/key.asc | gpg --show-keys --fingerprint mkdir -p /etc/apt/keyrings/ -curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc +sudo curl -fsSL https://pkgs.zabbly.com/key.asc -o /etc/apt/keyrings/zabbly.asc -sh -c 'cat < /etc/apt/sources.list.d/zabbly-incus-stable.sources +sudo sh -c 'cat < /etc/apt/sources.list.d/zabbly-incus-stable.sources Enabled: yes Types: deb URIs: https://pkgs.zabbly.com/incus/stable @@ -16,9 +16,10 @@ Architectures: $(dpkg --print-architecture) Signed-By: /etc/apt/keyrings/zabbly.asc EOF' -apt-get update -apt-get install incus +sudo apt update +sudo apt install incus incus config set core.https_address :8443 ``` -最後一行是打開 incus 的 port。 \ No newline at end of file +## 設定 incus +使用 `sudo incus admin init` 來設定,會問一堆問題,如下: