vault backup: 2024-03-30 22:32:00
This commit is contained in:
@@ -18,8 +18,26 @@ EOF'
|
|||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install incus
|
sudo apt install incus
|
||||||
incus config set core.https_address :8443
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## 設定 incus
|
## 設定 incus
|
||||||
使用 `sudo incus admin init` 來設定,會問一堆問題,如下:
|
使用 `sudo incus admin init` 來設定,會問一堆問題,如下:
|
||||||
|
```
|
||||||
|
Would you like to use clustering? (yes/no) [default=no]:
|
||||||
|
Do you want to configure a new storage pool? (yes/no) [default=yes]: no
|
||||||
|
Would you like to create a new local network bridge? (yes/no) [default=yes]: no
|
||||||
|
Would you like to use an existing bridge or host interface? (yes/no) [default=no]: yes
|
||||||
|
Name of the existing bridge or host interface: enp3s0
|
||||||
|
Would you like the server to be available over the network? (yes/no) [default=no]: yes
|
||||||
|
Address to bind to (not including port) [default=all]:
|
||||||
|
Port to bind to [default=8443]:
|
||||||
|
Would you like stale cached images to be updated automatically? (yes/no) [default=yes]:
|
||||||
|
Would you like a YAML "init" preseed to be printed? (yes/no) [default=no]:
|
||||||
|
```
|
||||||
|
|
||||||
|
大部分都預設就可以。
|
||||||
|
|
||||||
|
## 建立 pool
|
||||||
|
```shell
|
||||||
|
sudo incus storage create vmpool dir source=/lvm1/lxd_storage
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user