Skip To Content

Silently installing Portal for ArcGIS on Linux

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

참고 사항:

10.5.1로 업그레이드하시겠습니까? 자세한 내용은 업그레이드Portal for ArcGIS를 참고하세요.

Portal for ArcGIS 설치 준비

  1. 최소 시스템 요구 사항을 충족하는지 확인합니다.
  2. 관리 권한이 있는 사용자로 머신에 로그인합니다. 루트 사용자로는 Portal for ArcGIS를 설치할 수 없습니다.
  3. Portal for ArcGIS에서 사용하는 포트에 설명된 대로 포트를 엽니다.
  4. 서버에서 중요하지 않은 모든 응용프로그램을 닫습니다.
  5. Portal for ArcGIS 설치 프로그램이 포함된 다운로드한 폴더를 찾아보거나 Portal for ArcGIS 미디어를 해당 드라이브에 삽입하여 설치 프로그램을 자동으로 시작합니다.

이제 Portal for ArcGIS 설치를 진행할 준비가 완료되었습니다.

Install Portal for ArcGIS silently on Linux

  1. Before beginning the installation, read the license agreement located at <CD_ROOT or untar directory>/Documentation/EULA.pdf and accept the terms.
  2. Run the setup silently at the prompt. See sample syntax below:

    <CD_ROOT or untar directory>/Setup -m silent -l yes -a <full path to authorization file>

    Usage: Setup [Options]

    OptionDescription

    -m; --mode MODE

    Optional. Defaults to GUI.

    MODE is one of the following: silent, console, or gui.

    -l; --license-agreement CHOICE

    Required for silent mode. CHOICE can be Yes or No.

    Yes indicates that you have read and agreed to the Esri Master Agreement (E204, E300). Please visit http://www.esri.com/legal/licensing-translations to read the agreement.

    -a; --authorization-file FULL_PATH_TO_AUTHORIZATION_FILE

    Optional. If this option is not used, you will need to authorize the software after installation. FULL_PATH_TO_AUTHORIZATION_FILE is the full, absolute path to an .ecp or .prvc file provided by Esri.

    FULL_PATH_TO_AUTHORIZATION_FILE examples:

    --authorization-file /home/user/ArcGIS_Portal.ecp

    -a /data/auth_files/ArcGIS_Portal.prvc

    -d; --directory DIRECTORY

    Optional. By default, Portal for ArcGIS is installed in the user's $HOME directory. DIRECTORY specifies a different installation directory.

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

    If you're pointing the setup to a previous installation directory, the content in that directory is automatically used in the new installation. Content from installations prior to version 10.2 are not supported.

    -v; --verbose

    Installer runs in verbose mode.

    -h; --help

    Displays command line help and exits.

    -e; --examples

    Displays usage examples of these options and exits.

Post-installation configuration

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

Operating systems that support systemd

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

  1. Within 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 over, make sure /etc/systemd/system/arcgisportal.service has its file permissions set to 600.
    참고 사항:

    This file is installed with Portal for ArcGIS 10.5.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
    참고 사항:

    To prevent any one service from spawning too many threads and consuming all server resources, systemd v228 and beyond included in SLES12 SP2 and higher 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 <arcgisserver.service | arcgisportal.service | arcgisdatastore.service> unit file before deploying it to the /etc/systemd/system folder: # TasksMax=512

  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.

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. Within 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 make sure 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.