MirrorNest
← Все руководства

BookStack

A simple, organized wiki platform that structures content as Books, Chapters, and Pages, aimed at teams documenting processes and knowledge.

Это руководство составлено на основе официальной документации BookStack, ссылка на которую есть выше — всегда сверяйте точные названия пакетов/версий там перед запуском этих команд на рабочем сервере, так как версии дистрибутива и проекта со временем меняются.
  1. 1Requirements

    BookStack needs PHP >= 8.2 (with curl, dom, gd, iconv, mbstring, mysqlnd, openssl, pdo, pdo_mysql, tokenizer, xml, zip), MySQL >= 8.0 or MariaDB >= 10.6, Git, and Composer >= 2.2.

  2. 2Run the official installer script

    BookStack publishes maintained install scripts per supported Ubuntu release; the 24.04 script installs Apache, MySQL 8.0, and PHP 8.3 for you.

    wget https://codeberg.org/bookstack/devops/raw/branch/main/scripts/installation-ubuntu-24.04.sh
    chmod a+x installation-ubuntu-24.04.sh
    sudo ./installation-ubuntu-24.04.sh

    The script asks for an admin email and prints a randomly generated password at the end — it does not use a fixed default login.

  3. 3Docker alternative

    BookStack's own docs point to the community-maintained LinuxServer.io image (ghcr.io/linuxserver/bookstack) as the recommended containerized option if you'd rather not run the script.