Wiki.js | A modern and powerful wiki app built on Node.js
from https://github.com/Requarks/wiki
(https://js.wiki/get-started
https://docs.requarks.io/install/requirements
https://docs.requarks.io/install)
------------------------------------------
Install on linux
- Download the latest version of Wiki.js:
- Extract the package to the final destination of your choice:
- Rename the sample config file to
config.yml
:
- Edit the config file and fill in your database and port settings (Configuration Reference):
- For SQLite installations only: (skip this step otherwise) Fetch native bindings for SQLite3:
- Run Wiki.js
- Wait until you are invited to open to the setup page in your browser.
- Complete the setup wizard to finish the installation.
Run as service
There are several solutions to run Wiki.js as a background service. We'll focus on systemd in this guide as it's available in nearly all linux distributions.
- Create a new file named
wiki.service
inside directory/etc/systemd/system
.
- Paste the following contents (assuming your wiki is installed at
/var/wiki
):
- Save the service file (CTRL+X, followed by Y).
- Reload systemd:
- Run the service:
- Enable the service on system boot.
Note: You can see the logs of the service using journalctl -u wiki
from https://docs.requarks.io/install/linux
----------------------------------------------------
https://github.com/requarks/docs-legacy/tree/master/wiki ,旧版
No comments:
Post a Comment