The steps below guide you through the Portal for ArcGIS installation process.
If you're upgrading to 10.7, see Upgrade your ArcGIS Enterprise portal for more information.
Preparing to install Portal for ArcGIS
- Verify that your site meets the minimum system requirements.
- Log in to your machine as a user with administrative privileges. You cannot install Portal for ArcGIS as a root user.
- Open the ports as described in Ports used by Portal for ArcGIS.
- Close all noncritical applications on your server.
- 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
- 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.
- If all prerequisites are met, the Introduction dialog box appears. Click Next to proceed.
- 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.
- 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.
- Review the summary information, and click Install to begin the installation.
- When the installation process is complete, click Done to exit the installer.
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.
- In a command shell, switch to root user.
- 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.
This file is installed with Portal for ArcGIS 10.7.
- 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
- 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
- End the root user session.
- 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.
- In a command shell, switch to root user.
- 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/
- 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.
- Edit the script as follows:
Update the portalhome variable to the Portal for ArcGIS installation directory, for example, /home/username/arcgis/portal.
For RHEL only, add the line below just before # Description: Portal for ArcGIS Service:
# chkconfig: 35 99 01
Save the edits to the arcgisportal script.
- Still as root user, run the following commands to automatically create the links in /etc/rc*.d with the appropriate run levels:
$ chkconfig --add arcgisportal $ chkconfig arcgisportal on
$ insserv arcgisportal $ chkconfig arcgisportal on
- End the root user session.
- 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.
Perform these steps immediately after installation, prior to creating the initial administrative account and portal site.
- 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.
- 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.
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>.
- Save and close the hostname.properties file.
- Browse to the <Portal installation directory>/framework/runtime/ds/framework/etc folder, and locate the hostidentifier.properties file.
- 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 18.104.22.168, the line should read as follows:
- Save and close the hostidentifier.properties file.
- Restart the portal using the command line scripts
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: