Fedora, RHEL, Rocky and Alma
Short version
Заголовок раздела «Short version»A machine with 2 CPU cores, 2 GB of memory at least and 4 GB for a busy instance, and 20 GB of free disk, on amd64 or arm64, with a domain that points at it or its IP address. Use Podman with a Quadlet unit, or install Docker CE and use the compose file. Either way, the install takes about 15 minutes from start to finish.
What this changes
Заголовок раздела «What this changes»- Podman from your release’s own packages, or Docker CE from Docker’s repository.
- One container called
fluxerwith Podman, orfluxer-fluxer-1with Docker CE and the compose file, and one volume calledfluxer-dataeither way. - Ports 80 and 443 on TCP, 443 on UDP, 7881 on TCP and 7882 on UDP, in firewalld.
Before you start
Заголовок раздела «Before you start»Check the requirements.
Point your domain at the machine and open the five ports in your provider’s firewall.
With Podman
Заголовок раздела «With Podman»Current releases of Fedora, RHEL 9 and 10, Rocky and Alma ship Podman 4.6 or later, which the Quadlet file needs. Install it if it’s missing.
sudo dnf install -y podmanThen set up Podman and Quadlet, with the sysctl for ports 80 and 443, the Quadlet file, SELinux and the firewalld commands.
With Docker CE
Заголовок раздела «With Docker CE»-
Add Docker’s repository and install Docker.
On Fedora, add Docker’s repository.
Окно терминала sudo dnf config-manager addrepo --from-repofile https://download.docker.com/linux/fedora/docker-ce.repoOn RHEL, Rocky and Alma, add it with these.
Окно терминала sudo dnf -y install dnf-plugins-coresudo dnf config-manager --add-repo https://download.docker.com/linux/rhel/docker-ce.repoThen install Docker and start it.
Окно терминала sudo dnf install -y docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-pluginsudo systemctl enable --now dockerdocker compose versionprints a version. -
Download the two files and set your domain.
Для Squad скачайте исходники и конфигурацию сборки. Команда получения готового пакета для этой платформы отсутствует.
Change
FLUXER_DOMAIN=chat.example.cominfluxer.envto your domain. -
Start Squad.
Окно терминала sudo docker compose up -dsudo docker compose psshowshealthywithin two minutes. -
Print the setup token.
Окно терминала sudo docker compose exec fluxer fluxerd setup-tokenOpen your domain and paste the token to create the first admin account.
Firewall
Заголовок раздела «Firewall»firewalld blocks the ports Podman publishes until you open them. Some cloud images come without firewalld. Install and start it with sudo dnf install -y firewalld && sudo systemctl enable --now firewalld.
sudo firewall-cmd --permanent --add-port={80/tcp,443/tcp,443/udp,7881/tcp,7882/udp}sudo firewall-cmd --reloadDocker CE puts its containers in its own firewalld zone, and ports it publishes are open even when the public zone doesn’t list them. So a published port such as 7881 is open from the internet even with firewalld on and no ports added. To keep a port private with Docker, publish it on 127.0.0.1 instead.
SELinux
Заголовок раздела «SELinux»Leave SELinux enforcing. A Docker or Podman volume such as fluxer-data needs nothing extra. A folder on the machine needs :Z after the volume, such as /srv/fluxer:/var/lib/fluxer:Z, and user ID 65532 inside the container as its owner.