# sia-share deployment ```bash CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -trimpath -ldflags "-s -w" -o sia-share . install -m 0755 sia-share /usr/local/bin/sia-share useradd --system --home /var/lib/sia-share --shell /usr/sbin/nologin siashare install -d -o siashare -g siashare -m 700 /var/lib/sia-share cp deploy/sia-share.example.json /etc/sia-share.json runuser -u siashare -- sia-share register --data /var/lib/sia-share # approve the printed link once cp deploy/sia-share.service /etc/systemd/system/ && systemctl enable --now sia-share ``` The web server sends `navigate.st/sia/` and `navigate.st/api/sia/` to `127.0.0.1:8730` (stream bodies, no buffering). `links.json` in the data folder holds every link; back it up with `app.key`.