Skip To Content

Install ArcGIS Mission Server silently

ArcGIS Mission Server can be installed using the installation wizard or the command prompt. For instructions on using the installation wizard, see Install ArcGIS Mission Server with the installation wizard.

Tip:

The installation mode that you choose determines the default uninstallation mode. For example, if you install silently from the command line, the uninstallation defaults to a silent uninstallation from the command line.

Each machine with an installation of ArcGIS Mission Server requires an authorization file. The recommended method of registration is to use the software authorization wizard, which opens after installation, or you can visit My Esri to obtain an authorization file before installing the software.

Prepare to install ArcGIS Mission Server

Before installing ArcGIS Mission Server, complete the following steps:

  1. Sign in to My Esri and obtain the following files:
    1. Your ArcGIS Mission Server software download
    2. Your authorization file
  2. Verify that your machine meets the system requirements.
  3. Verify that ports 20443, 20301, 20302, 20158, 20159, and 20160 are available on the ArcGIS Mission Server machine. Ports 20443 and 20301 must be reachable by the ArcGIS Web Adaptor (if used) or external clients. If a firewall is in place between ArcGIS Web Adaptor or external clients, the firewall's configuration must open ports 20443, 20301, and 20300.

Once you've completed these steps, proceed with the command line installation detailed below.

Note:

Command line parameters are case sensitive. If you have trouble getting your installation to work, confirm that the case matches each property as shown in the code examples below.

Install ArcGIS Mission Server silently from the command line

By default, ArcGIS Mission Server is installed at ${HOME}/arcgis/mission.

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

    tar -xvzf ArcGIS_Mission_Server_Linux_<version>.tar.gz

  3. Browse to the directory where the file was uncompressed; then browse to <untar directory>/Documentation/EULA.pdf. Read 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) The install mode: silent or GUI. The default is GUI.

    -l; --license-agreement CHOICE

    Required for silent mode; either yes or no. Yes indicates that you have read and agreed to the Esri Master Agreement (E204, E300). 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 option is not used, you must authorize the software after installation, as detailed in the next section.

    -d; --directory DIRECTORY

    (Optional) By default, ArcGIS Mission Server is installed to your ${HOME}directory. DIRECTORY specifies a different installation directory.

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

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

    -v; --verbose

    (Optional) Run 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 systemd to load and manage processes on ArcGIS Mission Server as follows:
    1. In a terminal, switch to the root user.
    2. Copy the <ArcGIS Mission Server install directory>/framework/etc/scripts/agsmission.service unit file to /etc/systemd/system.
    3. Change the file permissions of this relocated file from 700 to 600 using chmod 600 /etc/systemd/system/agsmission.service.
    4. Still as the root user, run the following command:

      $ systemctl enable agsmission.service

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

      $ systemctl stop agsmission.service
      $ systemctl start agsmission.service
      $ systemctl status agsmission.service

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

Authorize your software silently

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

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

Authorize in a headless environment

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

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

    <ArcGIS Mission 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. Follow the instructions to upload your authorization information file and download your .prvc authorization file.

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

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

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

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

After installing all software, configure ArcGIS Mission Server and create your server site. There is an option to create the site using the createsite command line utility.