Setup server with terminal command

Answered

Comments

2 comments

  • Avatar
    Andrew Sharrem

    Umm...is there any reason you can't just web browse to the server from another device?
    http://serverIP:7001

    Otherwise you are faced with API calls with something like the curl command.

    0
    Comment actions Permalink
  • Avatar
    Andrey Terentyev

    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"
        }
    }
    0
    Comment actions Permalink

Please sign in to leave a comment.