-
Create a user/schema/database, HVR is going to use as the repository, eg in this example the hvr repository is a postgres database, so a database called hvhub6 is created in postgres with os user jigsaw
-
The example below is using HTTP port 5540 on a hubserver called malta
-
download HVR and install it, see https://www.hvr-software.com/docs/6/install-and-upgrade/installing-hvr
Set the database details for the hvrhubserver
Command executed on the server itself where hvrhubserver will run.
Below command sets the HVR repository to postgres with a database name hvhub6
hvrhubserverconfig HTTP_Port=5540 Database_Host=localhost Database_Name=hvhub6 Database_Password=password Database_Port=5463 Database_User=user Repository_Class=postgresql
If running these commands on another node, so not on the hub server where hvrhubserver will run;
first on hubserver run
hvrhubserverconfig HTTP_Port=5540
Then start the hvrhubserver on that hub server, it will be in setup mode
hvrhubserver -d
All other commands can be run on another HVR6 installed server with the addition of -R http://malta:5540
e.g. the above command can be run remotely like this;
hvrhubserverconfig -R http://malta:5540 HTTP_Port=5540 Database_Host=localhost Database_Name=hvhub6 Database_Password=password Database_Port=5463 Database_User=user Repository_Class=postgresql
Create Authorization bearer
When running below commands remotely from the hubserver, authorization is required otherwise when running below commands you can get error F_JW0555: Refresh token invalid or expired
hvrlogin -S -R http://malta:5540
Create HVR repository
local to hvrhubserver hvrreposconfig -c
remote from hvrhubserver hvrreposconfig -R http://malta:5540 -c
Add license to hub
local to hvrhubserver hvrlicense -f <license file>
remote from hvrhubserver hvrlicense -R http://malta:5540 -f <license file>
Add user to access the HVR system
local to hvrhubserver hvruserconfig -c hvradmin
remote from hvrhubserver hvruserconfig -R http://malta:5540 -c hvradmin
Give user SysAmin privilege
local to hvrhubserver hvrreposconfig -Auser:hvradmin=SysAdmin
remote from hvrhubserver hvrreposconfig -R http://malta:5540 -Auser:hermanverheul=SysAdmin
Create a hub
local to hvrhubserver hvrhubconfig -c hvrhub6
remote from hvrhubserver hvrhubconfig -Rhttp://malta:5540 -c hvrhub6
(Re)start HVR hubserver
local on hvrhubserver hvrhubserver -d
At this moment you could go to the browser to malta:5540 and login with user hvradmin to create either other users or setup channels etc