Trilium Notes is an open-source hierarchical note-taking application that can be used for personal knowledge management, research, and writing. It is written in JavaScript and designed to work on Linux, macOS, and Windows. In this tutorial, we will be installing Trilium Notes on Ubuntu Server Latest, a popular Linux distribution.
Before we begin, make sure that your Ubuntu Server is up-to-date and has the following packages installed:
You can install these packages by running the following commands:
sudo apt update
sudo apt install nodejs npm git
Follow these steps to install Trilium Notes on Ubuntu Server:
Clone the Trilium Notes repository from GitHub:
git clone https://github.com/zadam/trilium.git
Change into the trilium
directory:
cd trilium
Install the required npm packages:
npm install
Build the Trilium Notes client:
npm run build
Run the Trilium Notes server:
npm run start
The server will start on port 8080
by default. You can access Trilium Notes by navigating to http://localhost:8080/
in your web browser.
(Optional) To run Trilium Notes as a daemon, you can use the pm2
process manager:
sudo npm install -g pm2
pm2 start npm --name trilium -- run start
sudo pm2 startup
This will start the Trilium Notes server as a background process and automatically start it on system boot.
In this tutorial, we learned how to install Trilium Notes on Ubuntu Server Latest. Trilium Notes is a powerful and versatile note-taking application that can be used for various purposes such as personal knowledge management or research. You can now start using Trilium Notes and organize your notes in a hierarchical manner.
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!