MirrorNest
← Todas las guías

Flarum

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

Sistema: Ubuntu 22.04 LTS (PHP 8.3+, Apache/Nginx, MySQL/MariaDB or PostgreSQL)CommunitySitio oficial ↗Documentación oficial ↗
Esta guía se elaboró a partir de la documentación oficial de Flarum, enlazada arriba — verifica siempre ahí los nombres exactos de paquetes/versiones antes de ejecutar estos comandos en un servidor de producción, ya que las versiones de la distribución y del proyecto cambian con el tiempo.
  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.