Offen is an open-source alternative to commercial web analytics tools. It provides complete transparency and privacy to users by collecting and storing data locally on the server. Here is a step-by-step guide on how to install Offen on your Void Linux machine.
sudo xbps-install -S
sudo xbps-install -y go git zlib-devel
git clone https://github.com/offen/offen.git
cd offen
go build -o offen cmd/server/main.go
/usr/bin
directory:sudo cp offen /usr/bin/
offen
for running the Offen service:sudo useradd -r -s /usr/bin/nologin offen
offen.toml
in the /etc
directory and add the following content:[server]
domain = "localhost"
protocol = "http"
bind_address = "0.0.0.0:8080"
log_level = "INFO"
[postgres]
host = "localhost"
port = 5432
database = "offendb"
user = "offenuser"
password = "offensecret"
sudo -u postgres createdb offnedb
sudo -u postgres createuser --encrypted --no-inherit --no-adduser --login --no-createdb --no-createrole offenuser
offenuser
on offendb
database:sudo -u postgres psql offnedb
GRANT ALL PRIVILEGES ON DATABASE offnedb TO offenuser;
/etc/offen.toml
file and its parent directory to the offen
user:sudo chown -R offen:offen /etc/offen.toml
sudo -u offen /usr/bin/offen
Once the service starts successfully, it will show a message similar to the following:
INFO[2021-11-01T12:59:07.843207538+01:00] Starting Server... addr=[0.0.0.0:8080] name=offen version=1.2.0
Congratulations! You have successfully installed and configured Offen on your Void Linux machine. You can now connect to the Offen dashboard by navigating to http://localhost:8080
in your web browser.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!