Skip To Content

Silently install ArcGIS Video Server

You can install and authorize ArcGIS Video Server using command line parameters instead of using the installation wizard.

Tip:

The installation mode you use determines the default uninstallation mode. For example, if you install silently from the command line, the default uninstallation mode is to uninstall silently from the command line.

Prepare for installation

Before installing ArcGIS Video Server, complete the following steps:

  1. Sign in to My Esri and obtain the following files:
    • The ArcGIS Video Server software download
    • The authorization file
  2. Verify that your machine meets the system requirements.
  3. Verify that ports 21080 and 21443 are available on the machine where you are installing ArcGIS Video Server.

    Port 21443 must be reachable by ArcGIS Web Adaptor (if used) or external clients. If a firewall is in place between ArcGIS Web Adaptor or external clients, open port 21443 in the firewall.

Install ArcGIS Video Server silently

By default, ArcGIS Video Server is installed at ${HOME}/arcgis/video.

To install ArcGIS Video Server silently, complete the following steps:

  1. Open a command shell as the user who will run ArcGIS Video Server, and browse to the directory where you downloaded the ArcGIS Video Server tar.gz file from My Esri.
  2. Uncompress the tar.gz file with the following command:

    tar -xvzf ArcGIS_Video_Server_Linux_<version>.tar.gz

  3. Browse to the directory where the file was uncompressed and to <untar directory>/Documentation/EULA.pdf, and accept the license agreement.
  4. From the directory, run the setup silently and authorize it using a .prvc file.

    The syntax is as follows:

    <untar directory>/Setup -m silent -l yes -a <full path to .prvc file>

    The parameters of the command line tool are as follows:

    ParameterDescription
    -m; --mode MODE

    (Optional) Specifies the install mode, either silent or GUI. The default is GUI.

    -l; --license-agreement CHOICE

    (Required for silent mode) Specifies whether you have read and agreed to the Esri Master Agreement (E204, E300), either yes or no. You can review the agreement at any time.

    -a; --authorization-file PATH_TO_FILE

    (Optional) The absolute file path to the authorization or provisioning file provided by Esri.

    If this parameter is not used, you must authorize the software after installation, as described in the next section.

    -d; --directory DIRECTORY

    (Optional) By default, ArcGIS Video Server is installed to your ${HOME}directory. Use this parameter to specify a different installation directory.

    The /arcgis/video/ path is appended to the installation directory.

    Use lowercase letters for the name of the installation directory. The samples and data bundled with the installation require the data path to be lowercase.

    -v; --verbose

    (Optional) Runs the installer in verbose mode.

    -h; --help

    Displays the command line help and exits.

    -e; --examples

    Displays usage examples of each option and exits.

  5. Modify your OS privileges to allow the systemd service to load and manage processes on ArcGIS Video Server. This allows the service to start immediately when the machine starts.
    1. In a terminal, switch to the root user.
    2. Copy the <ArcGIS Video Server install directory>/framework/etc/scripts/agsvideo.service unit file to /etc/systemd/system, and change the file permissions of this relocated file from 700 to 600.
    3. Still as the root user, run the following command:

      $ systemctl enable agsvideo.service

    4. Restart the systemd service and review its status to verify that it's properly configured:

      $ systemctl stop agsvideo.service
      $ systemctl start agsvideo.service
      $ systemctl status agsvideo.service

    5. End the root user session.
    6. Reboot the operating system and verify that ArcGIS Video Server starts properly.

Authorize the software silently

If you did not authorize the software during installation, run the software authorization with the following syntax to authorize ArcGIS Video Server silently. Run the following command to view all options for authorization:

<ArcGIS Video Server install directory>/tools/authorizeSoftware --help

Authorize in an environment with no display

You can authorize ArcGIS Video Server in an environment with no display (headless) using a provisioning file (.prvc).

  1. At the prompt, run the following command after the ArcGIS Video Server installation is complete:

    <ArcGIS Video Server installation directory>/tools/authorizeSoftware -f <full path to the .prvc file> -o <full path to authorization file output>

  2. When the output information file has been created, do one of the following:
    • Browse to the Esri customer service website, and follow the instructions to upload the authorization information file and download the .prvc authorization file.

    • Send the authorization information file by email to authorize@esri.com. Esri will send the .prvc authorization file back to you in an email.

  3. When you receive the .prvc authorization file, run the authorizeSoftware script again to process it and complete the server authorization process:

    <ArcGIS Video Server installation directory>/tools/authorizeSoftware -f <full path to the .ecp file>

Repeat this workflow for each machine where ArcGIS Video Server will be installed.

After installing ArcGIS Video Server, create an ArcGIS Video Server site.