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):

  1. Install the required packages.

    sudo dnf update && sudo dnf install -y podman podman-compose
    
  2. Allow Podman to use ports starting from 80 in 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
    
  3. 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:

  1. 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 mount run/systemd/journal/socket, add the security option :Z, for example:

     - "${HTTP_DIR}/server.json:/usr/local/apache2/htdocs/client/server.json:Z"
    
  2. Disable SELinux.

    sudo setenforce 0
    
    sudo sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/config
    

Read on: Pre-Installation on OpenSUSE (Podman)

results matching ""

    No results matching ""