Difference between revisions of "Snapd"
Jump to navigation
Jump to search
imported>Jeremy-busk (Created page with "https://tutorials.ubuntu.com/tutorial/basic-snap-usage#0") |
|||
Line 1: | Line 1: | ||
https://tutorials.ubuntu.com/tutorial/basic-snap-usage#0 | https://tutorials.ubuntu.com/tutorial/basic-snap-usage#0 | ||
+ | |||
+ | Centos 8 Install | ||
+ | |||
+ | ``` | ||
+ | $ sudo setenforce 0 # Set SELinux to Permissive Mode | ||
+ | $ sudo snap install lxd # Install lxd | ||
+ | $ sudo ausearch -m avc -ts recent | audit2allow -M snap # Gather SELinux errors and create a custom 'snap' policy | ||
+ | $ sudo semodule -i snap.pp # Install the new snap policy | ||
+ | $ sudo setenforce 1 # Set SELinux back to Enforcing Mode | ||
+ | $ sudo usermod -aG lxd myuser # Add your user to the 'lxd' group | ||
+ | $ newgrp lxd # quick hack to reload your groups | ||
+ | $ newgrp myuser | ||
+ | $ lxd init # Start using lxd | ||
+ | |||
+ | ``` |
Latest revision as of 01:59, 2 February 2020
https://tutorials.ubuntu.com/tutorial/basic-snap-usage#0
Centos 8 Install
$ sudo setenforce 0 # Set SELinux to Permissive Mode $ sudo snap install lxd # Install lxd $ sudo ausearch -m avc -ts recent | audit2allow -M snap # Gather SELinux errors and create a custom 'snap' policy $ sudo semodule -i snap.pp # Install the new snap policy $ sudo setenforce 1 # Set SELinux back to Enforcing Mode $ sudo usermod -aG lxd myuser # Add your user to the 'lxd' group $ newgrp lxd # quick hack to reload your groups $ newgrp myuser $ lxd init # Start using lxd