Server Installation
Host system
You will need some kind of server to run the platform on (see Requirements).Access to a container registry (online) or a prebuild installer and tarball (offline)
Before proceeding with further installation steps, make sure you have access either to container registry or image tarball and microk8s installer installer visit Build Kaapana.
Hint
Accessing container Registry or Tarball with Pre-built ContainersIf you are interested in exploring our platform, we encourage you to get in touch with us (Contact). Should you choose to do so, we will gladly offer you two options for accessing it. You can either receive credentials for our container registry or receive a tarball that includes the necessary containers. With these options, you can directly deploy the platform without the need to go through the building process.To provide the services in Kaapana, the corresponding containers are needed. These can be looked at as normal binaries of Kaapana and therefore only need to be built if you do not have access to already built containers via a container registry or a tarball.
Server Config
Port Configuration
In the default configuration the following ports are opened for incoming traffic on the system
Port |
Protocol |
Description |
|---|---|---|
80 |
HTTP |
Redirect to HTTPS port 443 |
443 |
HTTPS |
Web Interface of the Platform (Interaction, File Upload, APIs) |
11112 |
DIMSE |
DICOM C-STORE SCP to send images to the platform |
Attention
Proxy
If you need to configure a proxy in your institution to access the internet, you can do this as follows:
Open /etc/environment on your deployment server:
nano /etc/environmentInsert the proxy variables for the proxy in your institution
http_proxy="your.proxy.url:port" https_proxy="your.proxy.url:port" HTTP_PROXY="your.proxy.url:port" HTTPS_PROXY="your.proxy.url:port"
Logout
logoutand login againYour network connection is working if you can reach the dkfz website or any other website:
curl www.dkfz-heidelberg.de
Custom DNS Server
You can configure a custom DNS
my.custom.dnsby executing:
sed -i 's/DNS=""/DNS="my.custom.dns"/' ./kaapana/kaapanactl.shIf not set manually, the DNS will be configured according to system information.
Installation of Server Dependencies
This part describes the preparation of the host system for Kaapana. Besides a few required software packages, mainly Microk8s is installed, to setup Kubernetes.
Hint
nvidia-smi command is working as expected!Attention
Before the example platform “Kaapana-platform” can be deployed, all dependencies must be installed on the server. To do this, you can use kaapanactl.
Hint
kaapanactl.sh script from Github.Copy the script to your target-system (server)
Script location:
kaapana/Script location:kaapana/build/microk8s-offline-installer/The directory is created in Build Kaapana.Copy the whole directory, as it contains installers for microk8s and helm.Make it executable:
chmod +x kaapanactl.shExecute the server installation script:
sudo ./kaapanactl.sh installUse--offlineflag.sudo ./kaapanactl.sh install --offlineNote
On Almalinux it is recommended to set -E flag to preserve user’s environmental variables.sudo -E ./kaapanactl.sh installReboot the system
sudo reboot
Hint
sudo ./kaapanactl.sh uninstall