Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| virtualization:lxd:install [2026/01/04 15:54] – ilyasa | virtualization:lxd:install [2026/02/01 21:08] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 8: | Line 8: | ||
| ===== Install LXD ===== | ===== Install LXD ===== | ||
| + | {{: | ||
| < | < | ||
| sudo snap install lxd | sudo snap install lxd | ||
| Line 15: | Line 15: | ||
| sudo lxd init | sudo lxd init | ||
| </ | </ | ||
| - | {{ : | + | * My Prefer Configuration its all up to you |
| + | < | ||
| + | Would you like to use LXD clustering? (yes/no) [default=no]: | ||
| + | Do you want to configure a new storage pool? (yes/no) [default=yes]: | ||
| + | Name of the new storage pool [default=default]: | ||
| + | Name of the storage backend to use (zfs, ceph, lvm, powerflex, pure, btrfs, dir) [default=zfs]: | ||
| + | Would you like to connect to a MAAS server? (yes/no) [default=no]: | ||
| + | Would you like to create a new local network bridge? (yes/no) [default=yes]: | ||
| + | What should the new bridge be called? [default=lxdbr0]: | ||
| + | What IPv4 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]: | ||
| + | Would you like LXD to NAT IPv4 traffic on your bridge? [default=yes]: | ||
| + | What IPv6 address should be used? (CIDR subnet notation, “auto” or “none”) [default=auto]: | ||
| + | Would you like the LXD server to be available over the network? (yes/no) [default=no]: | ||
| + | Would you like stale cached images to be updated automatically? | ||
| + | Would you like a YAML "lxd init" preseed to be printed? (yes/no) [default=no]: | ||
| + | </ | ||
| + | |||
| + | ===== Konfigurasi LXD GUI ===== | ||
| + | Cari interface yang ingin diexpose atau kalau tidak peduli dengan secutiry anda bisa expose dengan any address | ||
| + | |||
| + | {{: | ||
| + | |||
| + | < | ||
| + | # Spesifik address | ||
| + | sudo lxc config set core.https_address 10.1.9.1: | ||
| + | # Any Address (Not Recomended) | ||
| + | sudo lxc config set core.https_address :8443 | ||
| + | </ | ||
| + | Sekarang LXD UI dapat mengakses di browser dengan | ||
| + | |||