Exploring the BlueSpice wiki tool
Definitions
In this article, we'll set up BlueSpice on the recently released Ubuntu Linux 22.04. The steps to get BlueSpice up and running include installing the Docker Community Edition on your system, configuring a persistent storage volume, preparing your SSL certificates, and finally deploying BlueSpice itself. Afterward, you will also want to ensure your container is running permanently by using a systemd unit file. This is the only way to ensure that a crash of the system hosting the BlueSpice VM can be compensated by automatically starting the virtual instance elsewhere and without requiring human intervention.
Preparing Ubuntu
This article assumes that you have just logged in to a freshly installed Ubuntu Linux 22.04 (for the first time). Docker has already made packages for its container runtime available for the brand new Ubuntu release, so the next step is to prepare the system for these and then install them.
As the initial step to prepare the system, add Docker's PGP key to the list of keys accepted by the Apt package manager as trustworthy. Only after this will apt
download packages from the Docker repositories. To enable the key, use
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
To add the required repository definitions to your system, use
echo "deb [ arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
Then, apt update
will update the list of packages known to your local package manager before finally downloading the required packages with:
sudo apt install docker-ce
Next, run sudo docker ps
to check whether the Docker runtime is installed and running. You should see no output because there are no containers running yet, but there should also not be an error message.
Preparing Your Storage
A Docker volume needs to be created and inserted into the container to provide the container with persistent storage inside of the VM (remember to assure HA storage on the infrastructure level through network filesystems, NAS, or SAN). This is necessary because without a persistent storage device, BlueSpice data would disappear after a BlueSpice container is deleted and recreated. In fact, this will happen when updating the Docker container provided by BlueSpice. Hence, this article will assume that a storage device named /dev/sdb
is available within the instance, that it is replicated outside of the virtual instance, and that said device is dedicated to BlueSpice usage only.
The next steps include a few basic tasks: First, create a partition table on the device with a single partition spanning across all of it, resulting in the existence of /dev/sdb1
. XFS will be used for BlueSpice data, so the xfsprogs package will have to be installed next with
apt install xfsprogs
Then, a filesystem needs to be created on said partition, using
mkfs.xfs -L DATA /dev/sdb1
The -L
parameter ensures that the new filesystem has a label that allows you to refer to the filesystem without knowing the full device path. This is relevant for the next step, which is to ensure that the XFS filesystem is automatically mounted at boot time. To do this, use
mkdir -p /srv/data
and the line
LABEL=DATA /srv/data xfs defaults 0 0
in /etc/fstab
. Once done, mount -a
should finally mount the XFS partition to the system, and the drive will be automatically mounted after a reboot. The final step is to allow Docker to create volumes on this device:
docker volume create --driver local --opt type=none --opt device=/srv/data --opt o=bind bluespice-data
« Previous 1 2 3 4 Next »
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Gnome 48 Debuts New Audio Player
To date, the audio player found within the Gnome desktop has been meh at best, but with the upcoming release that all changes.
-
Plasma 6.3 Ready for Public Beta Testing
Plasma 6.3 will ship with KDE Gear 24.12.1 and KDE Frameworks 6.10, along with some new and exciting features.
-
Budgie 10.10 Scheduled for Q1 2025 with a Surprising Desktop Update
If Budgie is your desktop environment of choice, 2025 is going to be a great year for you.
-
Firefox 134 Offers Improvements for Linux Version
Fans of Linux and Firefox rejoice, as there's a new version available that includes some handy updates.
-
Serpent OS Arrives with a New Alpha Release
After months of silence, Ikey Doherty has released a new alpha for his Serpent OS.
-
HashiCorp Cofounder Unveils Ghostty, a Linux Terminal App
Ghostty is a new Linux terminal app that's fast, feature-rich, and offers a platform-native GUI while remaining cross-platform.
-
Fedora Asahi Remix 41 Available for Apple Silicon
If you have an Apple Silicon Mac and you're hoping to install Fedora, you're in luck because the latest release supports the M1 and M2 chips.
-
Systemd Fixes Bug While Facing New Challenger in GNU Shepherd
The systemd developers have fixed a really nasty bug amid the release of the new GNU Shepherd init system.
-
AlmaLinux 10.0 Beta Released
The AlmaLinux OS Foundation has announced the availability of AlmaLinux 10.0 Beta ("Purple Lion") for all supported devices with significant changes.
-
Gnome 47.2 Now Available
Gnome 47.2 is now available for general use but don't expect much in the way of newness, as this is all about improvements and bug fixes.