Video coming soon…

🌳 Setup Trilium Notes — Self-Hosted Hierarchical Knowledge Base

Deploy TriliumNext Notes on Ubuntu with Docker — a powerful self-hosted hierarchical note-taking app with rich text editing, code blocks, note relations, and scripting.

⚠️ Always review any script before running it on your server. Test in a staging environment first.

📦 Resources & Setup Scripts

Before starting, please make sure to grab the required scripts from our GitHub repository to follow along with the video easily.

Automated install script — deploys TriliumNext Notes with persistent storage and a web UI on port 8080.
View on GitHub

Quick Install:

wget https://raw.githubusercontent.com/mhmdali94/Docker/refs/heads/main/tools/trilium/trilium-ubuntu.sh
chmod +x trilium-ubuntu.sh
sudo bash trilium-ubuntu.sh

Tutorial Steps

1 Download the Script

wget https://raw.githubusercontent.com/mhmdali94/Docker/refs/heads/main/tools/trilium/trilium-ubuntu.sh

2 Make it Executable

chmod +x trilium-ubuntu.sh

3 Run the Installer

The script installs Docker if needed, creates the Trilium data directory, and deploys the triliumnext/notes:latest container.

sudo bash trilium-ubuntu.sh

4 Access the Web UI

Open your browser and navigate to the Trilium Notes setup wizard:

http://<your-server-ip>:8080

Ports Used

PortPurpose
8080Trilium Web UI + Sync Server API

Overview

Why Use It

When You Need It

    Who Should Use It

      Real Use Cases

        Main Features

          How to Use After Installation

            Security Best Practices

              Ports and Firewall Notes

              Backup and Maintenance

                Common Mistakes

                  Troubleshooting

                    Alternatives

                    When Not to Use It

                    PrismaTechWork Professional Help

                      Contact Us

                      Frequently Asked Questions