Skip To Content

Installing Portal for ArcGIS

The steps below guide you through the Portal for ArcGIS installation process.

Note:

If you're upgrading to 10.7.1, see Upgrade your ArcGIS Enterprise portal for more information.

Preparing to install Portal for ArcGIS

  1. Verify that your site meets the minimum system requirements.
  2. Log in to your machine as a user with administrative privileges. You cannot install Portal for ArcGIS as a root user.
  3. Open the ports as described in Ports used by Portal for ArcGIS.
  4. Close all noncritical applications on your server.
  5. Browse to the downloaded folder containing the Portal for ArcGIS setup or insert the Portal for ArcGIS media into the appropriate drive to automatically start the setup program.

You are now ready to proceed with the Portal for ArcGIS installation.

Installing Portal for ArcGIS

  1. Run the setup program from the Portal for ArcGIS download folder or setup media. The setup program begins by checking the prerequisites that must be met to successfully set up and use Portal for ArcGIS. If your system does not meet any of the prerequisites, follow the instructions in the dialog box to correct any issues. To learn more, see Checking portal diagnostics using the diagnostics tool.
  2. If all prerequisites are met, the Introduction dialog box appears. Click Next to proceed.
  3. On the Master Agreement dialog box, read the master agreement. If you accept the terms, click the I accept the master agreement button, and click Next to proceed; otherwise, exit the setup by clicking Cancel.
  4. On the Choose Install Folder dialog box, specify the installation location. If you're pointing the installer to an earlier portal directory, the content in that directory will automatically be used in the new installation. Content from installations prior to version 10.2 are not supported. Click Next to continue.
  5. Review the summary information, and click Install to begin the installation.
  6. When the installation process is complete, click Done to exit the installer.
    Note:

    Upon completion of the installation of Portal for ArcGIS, the operating system default web browser will open to complete the initial configuration and authorization of Portal for ArcGIS.

Post installation configuration

If you want Portal for ArcGIS to start with the operating system, complete the steps specific to your operating system below.

Operating systems that support systemd

If your operating system supports the use of systemd to bootstrap and manage processes (for example, if you're using Red Hat 7.x), follow these steps to configure Portal for ArcGIS to start with the operating system.

  1. In a command shell, switch to root user.
  2. Copy the <Portal for ArcGIS installation directory>/framework/etc/arcgisportal.service unit file to /etc/systemd/system. Once the file is copied, confirm that /etc/systemd/system/arcgisportal.service has its file permissions set to 600.
    Note:

    This file is installed with Portal for ArcGIS 10.7.1.

  3. Still as root user, run the following command to automatically create the links in /etc/systemd/system/multi-user.target.wants:
    # systemctl enable arcgisportal.service
  4. To verify that the systemd service is properly configured, restart the service and check its status.
    # systemctl stop arcgisportal.service
    # systemctl start arcgisportal.service
    # systemctl status arcgisportal.service
  5. End the root user session.
  6. Reboot the operating system and verify that Portal for ArcGIS restarts properly.
Note:
systemd v228 and later included in SLES12 SP2 and later set the maximum number of threads to be created at 512. Users on SLES12 may need to enable and raise this limit if it is a heavily used system. To enable and raise this limit, as root user, uncomment and edit the following line in the arcgisportal.service unit file before deploying it to the /etc/systemd/system folder: # TasksMax=512

Operating systems that support SysV

If your operating system supports the use of SysV to bootstrap and manage processes, follow these steps to configure Portal for ArcGIS to start with the operating system.

  1. In a command shell, switch to root user.
  2. Copy the <Portal for ArcGIS installation directory>/framework/etc/arcgisportal shell script to the appropriate supported Linux distribution-based locations provided below:
    • RHEL: /etc/rc.d/init.d/
    • SUSE: /etc/init.d/
  3. Change the directory to the applicable init.d folder, and check the arcgisportal script to confirm that root has at least read and execute permissions.
  4. Edit the script as follows:
    1. Update the portalhome variable to the Portal for ArcGIS installation directory, for example, /home/username/arcgis/portal.

    2. For RHEL only, add the line below just before # Description: Portal for ArcGIS Service:

      # chkconfig: 35 99 01

    3. Save the edits to the arcgisportal script.

  5. Still as root user, run the following commands to automatically create the links in /etc/rc*.d with the appropriate run levels:
    • RHEL:
      $ chkconfig --add arcgisportal
      $ chkconfig arcgisportal on
    • SUSE:
      $ insserv arcgisportal
      $ chkconfig arcgisportal on
  6. End the root user session.
  7. Reboot the operating system, and verify that Portal for ArcGIS restarts properly.

If you encounter an error during the installation

If you encounter a failure during the installation, you can review the logs to help you troubleshoot. First determine if you can access the ArcGIS Portal Directory. If you can, query the logs and review the messages. If not, review the log messages on disk. To access the logs on disk, browse to the logs directory and open the most recent log file (for example, <Portal for ArcGIS installation directory>/arcgisportal/logs/<machine name>/portal/portal-20150101.095803-8596-0.0.log). If necessary, you can share this information with Esri Support.

If your portal machine has multiple network interface controller cards

ArcGIS Enterprise can be deployed on machines that have multiple network interface controller (NIC) cards or multiple entries (also called records) in a DNS name server. If you installed Portal for ArcGIS on such a machine, you may want to identify the IP address or hostname that the portal should use for network communication. This is done by editing an existing file and adding a new file to the portal's installation directory, which, by default, is /home/User/arcgis/portal.

Caution:

Perform these steps immediately after installation, prior to creating the initial administrative account and portal site.

  1. Log in to the machine where Portal for ArcGIS is installed. Browse to the <Portal installation directory>/framework/etc folder. Create a file named hostname.properties, with appropriate permissions, in this folder.
  2. Add the following text to the first line of the file, and specify the fully qualified domain name of the intended interface: hostname=interface.domain.com. For example, if you have a machine with two NIC cards or DNS entries (1 and 2) and their interface domain names resolve to P1.mycompany.com and P2.mycompany.com, and you want Portal for ArcGIS to use the second interface for network communication, add this text to the hostname.properties file: hostname=P2.mycompany.com.
    Note:

    In some cases, such as when a host name is the same for multiple interfaces, you should instead specify the IP address of the interface you want ArcGIS Server to use for network communication. The syntax is hostname=<IP address>.

  3. Save and close the hostname.properties file.
  4. Browse to the <Portal installation directory>/framework/runtime/ds/framework/etc folder, and locate the hostidentifier.properties file.
  5. Open the file in a text editor. Remove the comment mark # from the hostidentifier property, and set the property to the IP address of the NIC card or DNS entry you want the portal to use for network communication. For example, to designate IP address 12.34.56.189, the line should read as follows:
    hostidentifier=12.34.56.189
  6. Save and close the hostidentifier.properties file.
  7. Restart the portal using the command line scripts stopportal.sh and startportal.sh.
    Note:

    When you upgrade your portal to a newer version, the upgrade will reset this hostidentifier.properties file to its default contents. You must add the appropriate IP address back in after upgrading.

If necessary, follow the steps to configure other ArcGIS Enterprise software components on machines with multiple NIC cards or DNS entries, such as the following: