How to Install Focalboard on AlmaLinux 9
Introduction
*”Focalboard is an open-source, self-hosted project management tool, similar to Trello or Asana. It allows teams and individuals to organize tasks, projects, and workflows on their own server.
Key features: boards, lists, and cards, customizable workflows, team collaboration, self-hosted and secure, and support for SQLite or PostgreSQL.
In this tutorial, we will install Focalboard on AlmaLinux 9 with systemd and Nginx reverse proxy.”
Step 1: Update the System
Explanation:
-
Updates all system packages.
-
Installs EPEL repository for extra packages.
-
Installs essential tools (
wget,curl,unzip), Nginx web server, and firewalld.
Step 2: Enable Nginx
Explanation:
-
Starts Nginx immediately.
-
Enables Nginx to run at boot.
-
Check status to confirm Nginx is running.
Step 3: Install PostgreSQL (Optional)
Explanation:
-
Installs PostgreSQL server and utilities.
-
Initializes the database.
-
Enables PostgreSQL to start at boot.
Note: You can skip this step if you want to use SQLite.
Step 4: Download and Extract Focalboard
Explanation:
-
Creates installation directory.
-
Downloads Focalboard server package.
-
Extracts the package.
Step 5: Configure Focalboard
Example configuration:
-
Set database type (
sqlite3orpostgres). -
Adjust paths for files and web assets.
-
SSL is disabled in this setup (
useSSL: false).
Step 6: Create a systemd Service
Paste this:
[Unit] Description=Focalboard Server After=network.target[Service] Type=simple Restart=always RestartSec=5s ExecStart=/opt/focalboard/focalboard/bin/focalboard-server WorkingDirectory=/opt/focalboard/focalboard [Install] WantedBy=multi-user.target
Enable and start the service:
sudo systemctl daemon-reload sudo systemctl enable --now focalboard sudo systemctl status focalboard
Explanation:
-
Creates a systemd service.
-
Ensures Focalboard starts automatically at boot.
-
Restart=alwayskeeps it running if it crashes.
Step 7: Configure Nginx Reverse Proxy
Example configuration:
Test and reload Nginx:
Explanation:
-
Sets up reverse proxy to forward traffic to Focalboard.
-
Handles WebSocket connections under
/ws/. -
Replace
yourdomain.comwith your domain or server IP.
Step 8: Access Focalboard
Open your browser:
Explanation:
-
Focalboard web interface should appear.
-
Setup is complete, ready for use.
Conclusion
“Focalboard is now successfully installed on AlmaLinux 9 with systemd and Nginx reverse proxy.
You can start managing your tasks and projects in a secure, self-hosted environment.
Thank you for following this tutorial.”