-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Manual server installation
This pages describes manually installing Trilium on your server.
Trilium is a node.js application. Supported (tested) version of node.js is latest 10.X.X (note that node.js 10 older than 10.5.0 are buggy and don't work).
You can check your node version with this command (node.js needs to be installed):
node --version
If your linux distribution has only outdated version of node.js, you can take a look at the installation instructions on node.js website which covers most popular distributions.
There are some dependencies required mainly to compile image support. You can see command for Debian and its derivatives (like Ubuntu) below:
sudo apt install libpng16-16 libpng-dev pkg-config autoconf libtool build-tools nasm
You can either download source code zip/tar from latest release or clone git repository from stable branch with git clone -b stable https://github.com/zadam/trilium.git
cd trilium
# download all node dependencies
npm install
cd trilium
# using nohup to make sure trilium keeps running after user logs out
nohup node src/www &
Application by default starts up on port 8080, so you can open your browser and navigate to http://localhost:8080 to access Trilium (replace "localhost" with your hostname).
Don't forget to configure TLS, which is required for secure usage!
Back to Overview
- Screenshot tour
- Basic concepts
- Installation & setup
- Advanced usage
- Developer guides
- FAQ
- Troubleshooting