This tutorial explains how to install Trilium Notes on NetBSD. Trilium Notes is a hierarchical note taking application with focus on building large, interconnected notes using a rich-text editor. This application is available on GitHub at https://github.com/zadam/trilium.
Before installing Trilium Notes on NetBSD, you must ensure that:
pkgin
, and it is up-to-dateOpen a terminal window on your NetBSD system
Update the packages database:
sudo pkgin update
sudo pkgin install nodejs npm xorg
git clone https://github.com/zadam/trilium.git
cd trilium
npm install
npm run build
npm run start
sudo nano /etc/systemd/system/trilium.service
[Unit]
Description=Trilium Notes Application
After=network.target
[Service]
ExecStart=/usr/pkg/bin/npm run start
WorkingDirectory=/path/to/trilium
Restart=always
User=user
Group=user
[Install]
WantedBy=multi-user.target
Replace /path/to/trilium
with the path to the cloned trilium
repository, and replace user
with your NetBSD username.
sudo systemctl daemon-reload
sudo systemctl enable trilium
sudo systemctl start trilium
You have successfully installed Trilium Notes on NetBSD. You can access the application by opening a web browser and navigating to http://localhost:8080
.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!