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
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
-
Plasma Desktop Will Soon Ask for Donations
The next iteration of Plasma has reached the soft feature freeze for the 6.2 version and includes a feature that could be divisive.
-
Linux Market Share Hits New High
For the first time, the Linux market share has reached a new high for desktops, and the trend looks like it will continue.
-
LibreOffice 24.8 Delivers New Features
LibreOffice is often considered the de facto standard office suite for the Linux operating system.
-
Deepin 23 Offers Wayland Support and New AI Tool
Deepin has been considered one of the most beautiful desktop operating systems for a long time and the arrival of version 23 has bolstered that reputation.
-
CachyOS Adds Support for System76's COSMIC Desktop
The August 2024 release of CachyOS includes support for the COSMIC desktop as well as some important bits for video.