Unbuntu in particular, but many other distro, supports LXD ad LXC containers. One can create a CentOS 7 container where installing the Instances configuration tool. In this way it can install Asterisell on top of another VM without wasting too much resources.
echo never > /sys/kernel/mm/transparent_hugepage/enabled # consult your distro notes for making this command permanent
sudo lxd init # add normal admin user to "lxd" group usermod -a -G lxd <some-admin-user> # relogin again, for making the group active # create the image lxc init images:centos/7/amd64 asterisell lxc start asterisell lxc list # Enter into the image for administering it lxc exec asterisell -- /bin/bash # Set a root password passwd # Enable automatic logic using private keys exit ssh-copy-id -i ~/.ssh/id_rsa.pub root@<lxc-container-ip>
lxc config set asterisell security.privileged true lxc config device add asterisell asterisell-admin disk source=/home/$USER/some-asterisell-repo-directory path=/home/asterisell
asterisell
user.