Setup server with terminal command
AnsweredHey guys,
I downloaded the NX server to an Ubuntu machine that doesn't have GUI.
I want to add this server as a 'new system' and then add it to our cloud user.
I saw I have a mediaserver.conf file on the' /opt/networkoptix/mediaserver/etc directory but I don't see any information on how can I setup my new system or how can I add my cloud user to this file.
Thanks,
-
Hi,
You can use the /rest/v2/system/setup API for that.
Here is the link to API docs.
https://meta.nxvms.com/doc/developers/api-tool/rest-v2-system-setup-post
The default creds are admin/admin.
Here is an example of JSON to be passed
{
"password":"new password should be here",
"systemName":"vms_system",
"systemSettings":{
"statisticsAllowed": "false"
}
}
Please sign in to leave a comment.
Comments
2 comments