0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

AlmaLinux8にlxd環境を構築する

Posted at

目的

本来、ubuntu上に構築することを推奨されているlxdだが、almalinux上に構築してみようと思う。

TL;DL

dnf -y install epel-release
dnf -y update
dnf install certbot snapd -y
systemctl enable --now snapd.socket
ln -s /var/lib/snapd/snap /snap
systemctl start snapd
systemctl enable snapd
snap install lxd
usermod -aG lxd $USER
newgrp lxd
lxd init --auto

解説

epel-releaseのrepositoryを追加

dnf -y install epel-release
dnf -y update

snapdをインストール

dnf install certbot snapd -y

snapの起動

systemctl enable --now snapd.socket
ln -s /var/lib/snapd/snap /snap
systemctl start snapd
systemctl enable snapd

lxdのインストール

snap install lxd
lxd init --auto

権限の追加

usermod -aG lxd $USER
newgrp lxd

LXDの初期化

lxd init --auto
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?