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.
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
| Port | Purpose |
|---|---|
| 8080 | Trilium Web UI + Sync Server API |
