MirrorNest
← すべてのガイド

Flarum

Flarum is a modern, lightweight forum platform installed with Composer, then finished through a browser-based setup wizard.

対象: Ubuntu 22.04 LTS (PHP 8.3+, Apache/Nginx, MySQL/MariaDB or PostgreSQL)Community公式ホームページ ↗公式ドキュメント ↗
このガイドは上記リンク先にあるFlarum公式ドキュメントをもとに作成されています。ディストリビューションやプロジェクトのバージョンは時間とともに変わるため、本番サーバーでこれらのコマンドを実行する前に、必ず公式ドキュメントで正確なパッケージ名・バージョン名を確認してください。
  1. 1Check requirements

    Confirm PHP 8.3+ with curl, dom, fileinfo, gd, json, mbstring, openssl, pdo_mysql, tokenizer, zip and session extensions, and a supported database (MySQL 5.7+/MariaDB 10.3+/SQLite 3.35+/PostgreSQL 10+).

  2. 2Install Flarum with Composer

    composer create-project flarum/flarum:^2.0.0 --stability=beta .
  3. 3Set folder permissions

    The web server user needs read/write access to the root, storage and assets directories.

    chmod 775 -R /path/to/directory
    chown -R www-data:www-data /path/to/directory
  4. 4Configure the web server

    Point the webroot at the public subdirectory and enable URL rewriting (mod_rewrite for Apache, or Flarum's provided .nginx.conf for Nginx).

  5. 5Finish setup in the browser

    Navigate to your forum's URL and follow the on-screen installer to configure the database and create the admin account.