Skip To Content

Automatisches Installieren von Portal for ArcGIS unter Linux

Die folgenden Schritte führen Sie durch die automatische Installation von Portal for ArcGIS.

Hinweis:

Upgrade auf 10.4.1? Weitere Informationen finden Sie unter Upgrade von Portal for ArcGIS.

Vorbereiten der Installation von Portal for ArcGIS

  1. Überprüfen Sie, ob Ihre Site die minimalen Systemanforderungen erfüllt.
  2. Melden Sie sich am Computer als Benutzer mit Administratorberechtigungen an. Sie können Portal for ArcGIS nicht als Root-Benutzer installieren.
  3. Öffnen Sie die Ports, wie unter Von Portal for ArcGIS verwendete Ports beschrieben.
  4. Schließen Sie alle nicht kritischen Anwendungen auf dem Server.
  5. Navigieren Sie zu dem heruntergeladenen Ordner, der das Installationsprogramm für Portal for ArcGIS enthält, oder legen Sie die Portal for ArcGIS-Medien in das entsprechende Laufwerk ein, um das Installationsprogramm automatisch zu starten.

Jetzt können Sie mit der Installation von Portal for ArcGIS beginnen.

Automatisches Installieren von Portal for ArcGIS unter Linux

  1. Lesen Sie vor Beginn der Installation die Lizenzvereinbarung unter <CD_ROOT or untar directory>/Documentation/EULA.pdf, und stimmen Sie den Bedingungen zu.
  2. Führen Sie das Setup-Programm automatisch über die Eingabeaufforderung aus. Siehe Syntaxbeispiel unten:

    <CD_ROOT or untar directory>/Setup -m silent -l yes

    Verwendung: Installation [Optionen]

    OptionBeschreibung

    -m; --mode MODE

    Optional. Standard: GUI.

    MODE ist eine der folgenden Optionen: silent, console oder gui.

    -l; --license-agreement CHOICE

    Für automatischen Modus erforderlich. CHOICE ist Yes oder No.

    Yes gibt an, dass Sie die Esri Lizenzvereinbarung gelesen haben und ihr zustimmen (E204, E300). Besuchen Sie esri.com/legal/software-license.html, um die Lizenzvereinbarung zu lesen.

    -a; --authorization-file FULL_PATH_TO_AUTHORIZATION_FILE

    Optional. Wenn diese Option nicht verwendet wird, müssen Sie die Software nach der Installation autorisieren. FULL_PATH_TO_AUTHORIZATION_FILE steht für den vollständigen absoluten Pfad zu einer von Esri bereitgestellten ECP- oder PRVC-Datei.

    Beispiele für FULL_PATH_TO_AUTHORIZATION_FILE:

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

    -a /data/auth_files/ArcGIS_Portal.prvc

    -d; --directory DIRECTORY

    Optional. Standardmäßig wird Portal for ArcGIS im Verzeichnis "$HOME" des Benutzers installiert. DIRECTORY steht für ein anderes Installationsverzeichnis.

    Der Pfad /arcgis/portal wird an das Installationsverzeichnis angehängt.

    Wenn Sie die Installation auf ein vorheriges Installationsverzeichnis verweisen, wird der Inhalt in diesem Verzeichnis automatisch in der neuen Installation verwendet. Inhalte aus Installationen vor Version 10.2 werden nicht unterstützt.

    -v; --verbose

    Das Installationsprogramm wird im ausführlichen Modus ausgeführt.

    -h; --help

    Die Hilfe für die Befehlszeile wird angezeigt und beendet.

    -e; --examples

    Verwendungsbeispiele für diese Optionen werden angezeigt und beendet.

  3. Configure Portal for ArcGIS to be started with the operating system by following these instructions:
    1. 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.