tessus
February 21, 2024, 11:23pm
3
Hmm, there’s something wrong then. There is no syntax highlighting in the guide I just posted. no bash, apache, … nothing. it’s just black and white text.
This is a guide how to setup the atuin server component. I will use a local database and a service user under which atuin will run.
Create the database and user
Type pqsql as the postgres user:
CREATE USER atuin WITH ENCRYPTED PASSWORD 'supersecretpassword';
CREATE DATABASE atuin WITH OWNER = atuin;
\c atuin
REVOKE ALL PRIVILEGES ON SCHEMA public FROM PUBLIC;
Create the OS user to run atuin
The following steps in this guide must be run as the user root or invoked with sudo:
useradd -r -d /…