regina/regina.1.man

109 lines
2.7 KiB
Groff
Raw Normal View History

2022-12-14 19:15:43 +01:00
.\" Automatically generated by Pandoc 2.19.2
2022-11-23 02:00:43 +01:00
.\"
2022-12-14 19:15:43 +01:00
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
2022-11-23 02:00:43 +01:00
.TH "NICOLE" "1" "April 2022" "nicole 2.0" ""
.hy
.SH NAME
.PP
2022-12-14 19:15:43 +01:00
\f[B]R\f[R]uling \f[B]E\f[R]mpress \f[B]G\f[R]enerating
\f[B]I\f[R]n-depth \f[B]N\f[R]ginx \f[B]A\f[R]nalytics (obviously)
Regina is an analytics tool for nginx.
2022-11-23 02:00:43 +01:00
.SH SYNOPSIS
.PP
2022-12-14 19:15:43 +01:00
\f[B]regina\f[R] \[em]-config CONFIG_FILE [OPTION\&...]
.SH DESCRIPTION
2022-11-23 02:00:43 +01:00
.PP
2022-12-14 19:15:43 +01:00
It collects information from the nginx access.log and stores it in a
sqlite3 database.
Regina supports several data visualization configurations and can
generate an admin-analytics page from an html template file.
2022-11-23 02:00:43 +01:00
.SS Command line options
.TP
2022-12-14 19:15:43 +01:00
\f[B]-h\f[R], \f[B]\[em]-help\f[R]
Show the the possible command line arguments
2022-11-23 02:00:43 +01:00
.TP
2022-12-14 19:15:43 +01:00
\f[B]-c\f[R], \f[B]\[em]-config\f[R] config-file
Retrieve settings from the config-file
2022-11-23 02:00:43 +01:00
.TP
2022-12-14 19:15:43 +01:00
\f[B]\[em]-access-log\f[R] log-file
Overrides the access_log from the configuration
2022-11-23 02:00:43 +01:00
.TP
2022-12-14 19:15:43 +01:00
\f[B]\[em]-collect\f[R]
Collect information from the access_log and store them in the databse
2022-11-23 02:00:43 +01:00
.TP
2022-12-14 19:15:43 +01:00
\f[B]\[em]-visualize\f[R]
Visualize the data from the database
2022-11-23 02:00:43 +01:00
.TP
2022-12-14 19:15:43 +01:00
\f[B]\[em]-update-geoip\f[R] geoip-db
Recreate the geoip part of the database from the geoip-db csv.
The csv must have this form: lower, upper, country-code, country-name,
region, city
2022-11-23 02:00:43 +01:00
.SH INSTALLATION AND UPDATING
.PP
2022-12-14 19:15:43 +01:00
To update regina, simply follow the installation instructions.
2022-11-23 02:00:43 +01:00
.SS pacman (Arch Linux)
.PP
2022-12-14 19:15:43 +01:00
Installing regina using the Arch Build System also installs the man-page
2022-11-23 02:00:43 +01:00
and a zsh completion script, if you have zsh installed.
.IP
.nf
\f[C]
2022-12-14 19:15:43 +01:00
git clone https://github.com/MatthiasQuintern/regina.git
cd regina
2022-11-23 02:00:43 +01:00
makepkg -si
\f[R]
.fi
.SS pip
.PP
2022-12-14 19:15:43 +01:00
You can also install regina with python-pip:
2022-11-23 02:00:43 +01:00
.IP
.nf
\f[C]
2022-12-14 19:15:43 +01:00
git clone https://github.com/MatthiasQuintern/regina.git
cd regina
2022-11-23 02:00:43 +01:00
python3 -m pip install .
\f[R]
.fi
.PP
You can also install it system-wide using
2022-12-14 19:15:43 +01:00
\f[V]sudo python3 -m pip install .\f[R]
2022-11-23 02:00:43 +01:00
.PP
If you also want to install the man-page and the zsh completion script:
.IP
.nf
\f[C]
2022-12-14 19:15:43 +01:00
sudo cp regina.1.man /usr/share/man/man1/regina.1
sudo gzip /usr/share/man/man1/regina.1
sudo cp _regina.compdef.zsh /usr/share/zsh/site-functions/_regina
sudo chmod +x /usr/share/zsh/site-functions/_regina
2022-11-23 02:00:43 +01:00
\f[R]
.fi
.SH CHANGELOG
2022-12-14 19:15:43 +01:00
.SS 1.0
2022-11-23 02:00:43 +01:00
.IP \[bu] 2
2022-12-14 19:15:43 +01:00
Initial release
2022-11-23 02:00:43 +01:00
.SH COPYRIGHT
.PP
Copyright \[co] 2022 Matthias Quintern.
License GPLv3+: GNU GPL version 3 <https://gnu.org/licenses/gpl.html>.
.PD 0
.P
.PD
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH AUTHORS
Matthias Quintern.