The curious user
You just want to check out the Zettelstore software
- Grab the appropriate executable and copy it into any directory
- Start the Zettelstore software, e.g. with a double click
- A sub-directory “zettel” will be created in the directory where you put the executable. It will contain your future zettel.
- Open the URI http://localhost:23123➚ with your web browser. It will present you a mostly empty Zettelstore. There will be a zettel titled “Home” that contains some helpful information.
- Please read the instructions for the web-based user interface and learn about the various ways to write zettel.
- If you restart your device, please make sure to start your Zettelstore again.
The intermediate user
You already tried the Zettelstore software and now you want to use it permanently.
- Grab the appropriate executable and copy it into the appropriate directory
The server administrator
You want to provide a shared Zettelstore that can be used from your various devices. Installing Zettelstore as a Linux service is not that hard.
Grab the appropriate executable and copy it into the appropriate directory:
# sudo mv zettelstore /usr/local/bin/zettelstore
Create a group named zettelstore:
# sudo groupadd --system zettelstore
Create a system user of that group, named zettelstore, with a home folder:
# sudo useradd --system --gid zettelstore \ --create-home --home-dir /var/lib/zettelstore \ --shell /usr/sbin/nologin \ --comment "Zettelstore server" \ zettelstore
Create a systemd service file and store it into /etc/systemd/system/zettelstore.service:
[Unit] Description=Zettelstore After=network.target [Service] Type=simple User=zettelstore Group=zettelstore ExecStart=/usr/local/bin/zettelstore run -d /var/lib/zettelstore WorkingDirectory=/var/lib/zettelstore [Install] WantedBy=multi-user.target
Double-check everything. Now you can enable and start the zettelstore as a service:
# sudo systemctl daemon-reload # sudo systemctl enable zettelstore # sudo systemctl start zettelstore
Use the commands
journalctl to manage the service, e.g.:
# sudo systemctl status zettelstore # verify that it is running # sudo journalctl -u zettelstore # obtain the output of the running zettelstore