Перейти к содержимому

Arch Linux

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, and a domain that points at it or its IP address. Install docker and docker-compose with pacman, download two files, set your domain or IP address and start Squad. The whole install takes about 5 minutes.

  • The docker and docker-compose packages, and the docker service.
  • One container called fluxer-fluxer-1, which is fluxer to docker compose commands in that folder, and one Docker volume called fluxer-data.
  • Ports 80 and 443 on TCP, 443 on UDP, 7881 on TCP and 7882 on UDP.

Check the requirements.

Squad’s image runs on amd64 and arm64, so Arch Linux ARM on a 64-bit board works too.

  1. Install Docker with Compose and start it.

    Окно терминала
    sudo pacman -Syu docker docker-compose
    sudo systemctl enable --now docker

    docker compose version prints a version. After pacman -Syu installs a new kernel, Docker can fail to start until you reboot.

  2. Download the two files and set your domain.

    Для Squad скачайте исходники и конфигурацию сборки. Команда получения готового пакета для этой платформы отсутствует.

    Change FLUXER_DOMAIN=chat.example.com in fluxer.env to your domain.

  3. Start Squad.

    Окно терминала
    sudo docker compose up -d

    sudo docker compose ps shows healthy within two minutes.

  4. Print the setup token.

    Окно терминала
    sudo docker compose exec fluxer fluxerd setup-token

    Open your domain and paste the token to create the first admin account.

With Podman instead, install podman and then run Squad from a Quadlet unit.