mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
chore(docs): sync
This commit is contained in:
parent
56cf993f46
commit
355d1cfb5e
@ -3,8 +3,9 @@
|
|||||||
<h2>Steps</h2>
|
<h2>Steps</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>SSH into your server</li>
|
<li>SSH into your server</li>
|
||||||
<li>use <code>wget</code> (or <code>curl</code>) to download latest <code>TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz</code> (notice <code>-Server</code> suffix)
|
<li>use <code>wget</code> (or <code>curl</code>) to download latest <code>TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz</code> (copy
|
||||||
on your server.</li>
|
link from <a href="https://github.com/TriliumNext/Notes/releases">release page</a>,
|
||||||
|
notice <code>-Server</code> suffix) on your server.</li>
|
||||||
<li>unpack the archive, e.g. using <code>tar -xf -d TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz</code>
|
<li>unpack the archive, e.g. using <code>tar -xf -d TriliumNextNotes-Server-[VERSION]-linux-x64.tar.xz</code>
|
||||||
</li>
|
</li>
|
||||||
<li><code>cd trilium-linux-x64-server</code>
|
<li><code>cd trilium-linux-x64-server</code>
|
||||||
@ -17,7 +18,9 @@
|
|||||||
<p>The problem with above steps is that once you close the SSH connection,
|
<p>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:</p>
|
the Trilium process is terminated. To avoid that, you have two options:</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Kill it (with e.g. <kbd>Ctrl</kbd> + <kbd>C</kbd>) and run again like this: <code>nohup ./trilium &</code>.</li>
|
<li>Kill it (with e.g. <kbd>Ctrl</kbd> + <kbd>C</kbd>) and run again like this: <code>nohup ./trilium.sh &</code>.
|
||||||
|
(nohup keeps the process running in the background, <code>&</code> runs
|
||||||
|
it in the background)</li>
|
||||||
<li>Configure systemd to automatically run Trilium in the background on every
|
<li>Configure systemd to automatically run Trilium in the background on every
|
||||||
boot</li>
|
boot</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
@ -4,8 +4,7 @@ This is essentially Trilium sources + node modules + node.js runtime packaged in
|
|||||||
## Steps
|
## Steps
|
||||||
|
|
||||||
* SSH into your server
|
* SSH into 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](https://github.com/TriliumNext/Notes/releases), notice `-Server` suffix) on your server.
|
||||||
* 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`
|
||||||
@ -13,7 +12,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.sh &`. (nohup keeps the process running in the background, & runs it in the background)
|
* 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user