mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
Update Packaged version for Linux.md
- Added link to releases - Added clarity on wget use - Added missing suffix to file in nohup command - Added clarity on nohups function
This commit is contained in:
parent
f4c615cfec
commit
1db36c5aec
@ -4,7 +4,8 @@ This is essentially Trilium sources + node modules + node.js runtime packaged in
|
|||||||
## Steps
|
## Steps
|
||||||
|
|
||||||
* SSH into your server
|
* SSH into your server
|
||||||
* use `wget` (or `curl`) to download latest `TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz` (notice `-Server` suffix) on your server.
|
* Release list at https://github.com/TriliumNext/Notes/releases
|
||||||
|
* use `wget` (or `curl`) to download latest `TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz` (copy link from release page, notice `-Server` suffix) on your server.
|
||||||
* unpack the archive, e.g. using `tar -xf -d TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz`
|
* unpack the archive, e.g. using `tar -xf -d TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz`
|
||||||
* `cd trilium-linux-x64-server`
|
* `cd trilium-linux-x64-server`
|
||||||
* `./trilium.sh`
|
* `./trilium.sh`
|
||||||
@ -12,7 +13,7 @@ This is essentially Trilium sources + node modules + node.js runtime packaged in
|
|||||||
|
|
||||||
The problem with above steps is that once you close the SSH connection, the Trilium process is terminated. To avoid that, you have two options:
|
The problem with above steps is that once you close the SSH connection, the Trilium process is terminated. To avoid that, you have two options:
|
||||||
|
|
||||||
* Kill it (with e.g. <kbd>Ctrl</kbd> + <kbd>C</kbd>) and run again like this: `nohup ./trilium &`.
|
* Kill it (with e.g. <kbd>Ctrl</kbd> + <kbd>C</kbd>) and run again like this: `nohup ./trilium.sh &`. (nohup keeps the process running in the background, & runs it in the background)
|
||||||
* Configure systemd to automatically run Trilium in the background on every boot
|
* Configure systemd to automatically run Trilium in the background on every boot
|
||||||
|
|
||||||
## Configure Trilium to auto-run on boot with systemd
|
## Configure Trilium to auto-run on boot with systemd
|
||||||
@ -76,4 +77,4 @@ If you get an error like this, you need to either upgrade your glibc (typically
|
|||||||
|
|
||||||
## TLS
|
## TLS
|
||||||
|
|
||||||
Don't forget to [configure TLS](../TLS%20Configuration.md), which is required for secure usage!
|
Don't forget to [configure TLS](../TLS%20Configuration.md), which is required for secure usage!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user