Pre-Installation on Fedora (Podman)
Before installing Megaladata, it is necessary to pre-install and configure the software.
Follow these steps (tested on Fedora 43):
-
Install the required packages.
sudo dnf update && sudo dnf install -y podman podman-compose -
Allow Podman to use ports starting from
80in unprivileged mode.grep -q "net.ipv4.ip_unprivileged_port_start=80" "/etc/sysctl.conf" || echo "net.ipv4.ip_unprivileged_port_start=80" | sudo tee -a /etc/sysctl.conf sudo sysctl -w net.ipv4.ip_unprivileged_port_start=80 -
Allow the user session to remain active after logout.
sudo loginctl enable-linger
Configuring Megaladata containers with SELinux
In RHEL-based Linux operating systems such as Fedora, the kernel security module is active. For the containerization system to function properly, the following options are available:
-
Configure SELinux permissions for mounting volumes. You will need to make changes in the configuration file, which is located by default at
${HOME}/megaladata/docker-compose.yml: In all volume mount sections, except for the socket file mountrun/systemd/journal/socket, add the security option:Z, for example:- "${HTTP_DIR}/server.json:/usr/local/apache2/htdocs/client/server.json:Z" -
Disable SELinux.
sudo setenforce 0 sudo sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config