Centos 7 - ArcGIS Enterprise Preparation #105

Open
opened 3 years ago by rbsetiawan · 0 comments
Owner

ArcGIS Enterprise Version support Centos Distro

Operating system 10.5.x 10.6.x 10.7.x
CentOS Linux 6 1 1 1
CentOS Linux 7 1 1 1
Grand Total 2 2 2

Linux ArcGIS Enterprise stable version

Operating system 10.4.x 10.5.x 10.6.x 10.7.x 10.8.x 10.9.x 10.0 11.1
SUSE Linux Enterprise Server 11 1 1 1
SUSE Linux Enterprise Server 12 1 1 1 1 1 1 1 1
SUSE Linux Enterprise Server 15 1 1 1
SUSE Linux Enterprise Server 15 SP1 (supported with 10.8.1 only) 1
  • Support list from 10.4 to 11.1
    Operating system 10.4.x 10.5.x 10.6.x 10.7.x 10.8.x 10.9.x 10.0 11.1
    CentOS Linux 6 1 1
    CentOS Linux 7 1 1
    CentOS Linux 6 1
    CentOS Linux 7 1
    Oracle Linux 6 1 1
    Oracle Linux 7 1 1
    Oracle Linux 6 1
    Oracle Linux 7 1
    Oracle Linux 8 1 1
    Red Hat Enterprise Linux (RHEL) Server 7 1
    Red Hat Enterprise Linux Server 5 1
    Red Hat Enterprise Linux Server 6 1 1 1
    Red Hat Enterprise Linux Server 7 1 1 1
    Red Hat Enterprise Linux Server 6 1 1
    Red Hat Enterprise Linux Server 7 1 1
    Red Hat Enterprise Linux Server 8 1 1 1
    Red Hat Enterprise Linux Server 8 (supported with 10.8.1 only) 1
    Rocky Linux 8 1
    Scientific Linux 6 1 1
    Scientific Linux 7 1 1
    Scientific Linux 6 1
    Scientific Linux 7 1
    SUSE Linux Enterprise Server 11 1 1 1
    SUSE Linux Enterprise Server 12 1 1 1
    SUSE Linux Enterprise Server 12 1 1 1 1 1
    SUSE Linux Enterprise Server 15 1 1 1
    SUSE Linux Enterprise Server 15 (supported with 10.8.1 only) 1
    Ubuntu Server LTS 1 1
    Ubuntu Server LTS 16 1
    Ubuntu Server LTS 18 1
    Ubuntu Server 16.04 LTS 1
    Ubuntu Server 18.04 LTS 1 1 1 1
    Ubuntu Server 20.04 LTS 1 1 1
    Ubuntu Server 20.04 LTS (supported with 10.8.1 only) 1
    Ubuntu Server 22.04 LTS 1

Web Server Support

Tomcat Install

Apache Tomcat Version 10.4.x 10.5.x 10.6.x 10.7.x 10.8.x 10.9.x 11.0 11.1
Apache Tomcat 7.0.65 1
Apache Tomcat 7.0.72 1
Apache Tomcat 7.0.82 1
Apache Tomcat 7.0.92 1 1
Apache Tomcat 8.0.32* 1
Apache Tomcat 8.0.38 1
Apache Tomcat 8.0.47 1
Apache Tomcat 8.5.23 1
Apache Tomcat 8.5.35 1 1 1 1 1
Apache Tomcat 8.5.6 1
Apache Tomcat 9.0.19 1 1 1 1 1

Java Compponen

Java Version 10.4.x 10.5.x 10.6.x 10.7.x 10.8.x 10.9.x 11.0 11.1
Java 7 1
Java 8 1 1 1 1 1 1 1 1
Java 11 1 1 1 1 1
Java 12 1 1 1 1 1
Java 15 1
  • Open ArcGIS Port
    firewall-cmd --list-all
    firewall-cmd --permanent --add-port=3306/tcp
    firewall-cmd --permanent --add-port=2443/tcp
    firewall-cmd --permanent --add-port=6443/tcp
    firewall-cmd --permanent --add-port=7443/tcp
    firewall-cmd --permanent --add-port=5432/tcp
    firewall-cmd --permanent --add-port=8080/tcp
    firewall-cmd --permanent --add-port=8443/tcp
    firewall-cmd --permanent --add-port=80/tcp
    firewall-cmd --permanent --add-port=443/tcp
    firewall-cmd --reload
    
    
    default open port
    image image
  • ulimits.conf

    Update ulimits.conf

    sudo nano /etc/security/limits.conf
    
        root soft nofile 65535
        root hard nofile 65535
        root soft nproc 25059
        root hard nproc 25059
    
        arcgis soft nofile 65535
        arcgis hard nofile 65535
        arcgis soft nproc 25059
        arcgis hard nproc 25059
    
        esri soft nofile 65535
        esri hard nofile 65535
        esri soft nproc 25059
        esri hard nproc 25059
    
        LimitNOFILE=65536
        LimitNPROC=25059
        LimitAS=infinity
        LimitFSIZE=infinity
    
    

    reboot host

    reboot
    

    cek ulimits.conf

    ulimit -Hn -Sn
    ulimit -Hu -Su
    

    image

  • Tomcat
    cat /etc/centos-release
    

    image

    sudo yum install epel-release
    

    image

    sudo dnf search openjdk
    
    • openjdk
      No Java
      Name & Summary Matched: openjdk
      1 java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos
      2 java-1.7.0-openjdk-demo.x86_64 : OpenJDK Demos
      3 java-11-openjdk-demo.i686 : OpenJDK 11 Demos
      4 java-11-openjdk-demo.x86_64 : OpenJDK 11 Demos
      5 java-1.8.0-openjdk-demo.i686 : OpenJDK 8 Demos
      6 java-1.8.0-openjdk-demo.x86_64 : OpenJDK 8 Demos
      7 java-11-openjdk-jmods.i686 : JMods for OpenJDK 11
      8 java-11-openjdk-jmods.x86_64 : JMods for OpenJDK 11
      9 java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle
      10 java-1.7.0-openjdk-src.x86_64 : OpenJDK Source Bundle
      11 java-11-openjdk-src.i686 : OpenJDK 11 Source Bundle
      12 java-11-openjdk-src.x86_64 : OpenJDK 11 Source Bundle
      13 java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment
      14 java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment
      15 java-1.8.0-openjdk-src.i686 : OpenJDK 8 Source Bundle
      16 java-1.8.0-openjdk-src.x86_64 : OpenJDK 8 Source Bundle
      17 java-11-openjdk.i686 : OpenJDK 11 Runtime Environment
      18 java-11-openjdk.x86_64 : OpenJDK 11 Runtime Environment
      19 java-1.8.0-openjdk.x86_64 : OpenJDK 8 Runtime Environment
      20 java-1.8.0-openjdk.i686 : OpenJDK 8 Runtime Environment
      21 java-1.8.0-openjdk.x86_64 : OpenJDK 8 Runtime Environment
      22 java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation
      23 java-1.7.0-openjdk-javadoc.noarch : OpenJDK API Documentation
      24 java-11-openjdk-javadoc.i686 : OpenJDK 11 API documentation
      25 java-11-openjdk-javadoc.x86_64 : OpenJDK 11 API documentation
      26 openjdk-asmtools-javadoc.noarch : Javadoc for openjdk-asmtools
      27 java-1.8.0-openjdk-javadoc.noarch : OpenJDK 8 API documentation
      28 java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment
      29 java-1.7.0-openjdk-devel.x86_64 : OpenJDK Development Environment
      30 java-11-openjdk-devel.i686 : OpenJDK 11 Development Environment
      31 java-11-openjdk-devel.x86_64 : OpenJDK 11 Development Environment
      32 java-1.8.0-openjdk-devel.i686 : OpenJDK 8 Development Environment
      33 java-1.8.0-openjdk-devel.x86_64 : OpenJDK 8 Development Environment
      34 java-1.7.0-openjdk-accessibility.x86_64 : OpenJDK accessibility connector
      35 java-1.8.0-openjdk-accessibility.i686 : OpenJDK accessibility connector
      36 java-1.8.0-openjdk-accessibility.x86_64 : OpenJDK accessibility connector
      37 java-11-openjdk-headless.i686 : OpenJDK 11 Headless Runtime Environment
      38 java-11-openjdk-headless.x86_64 : OpenJDK 11 Headless Runtime Environment
      39 java-1.8.0-openjdk-headless.x86_64 : OpenJDK 8 Headless Runtime Environment
      40 java-1.8.0-openjdk-headless.i686 : OpenJDK 8 Headless Runtime Environment
      41 java-1.8.0-openjdk-headless.x86_64 : OpenJDK 8 Headless Runtime Environment
      42 java-11-openjdk-static-libs.i686 : OpenJDK 11 libraries for static linking
      43 java-11-openjdk-static-libs.x86_64 : OpenJDK 11 libraries for static linking
      44 java-11-openjdk-javadoc-zip.i686 : OpenJDK 11 API documentation compressed in a single archive
      45 java-11-openjdk-javadoc-zip.x86_64 : OpenJDK 11 API documentation compressed in a single archive
      46 java-1.8.0-openjdk-javadoc-zip.noarch : OpenJDK 8 API documentation compressed in a single archive
      47 java-1.7.0-openjdk-headless.x86_64 : The OpenJDK runtime environment without audio and video support
      Name Matched: openjdk
      1 openjdk-asmtools.noarch : To develop tools create proper & improper Java '.class' files
      Summary Matched: openjdk
      1 openprops.noarch : An improved java.util.Properties from OpenJDK
      2 icedtea-web.x86_64 : Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation
      3 icedtea-web.x86_64 : Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation

    image

    sudo yum install java-1.8.0-openjdk.x86_64
    

    image

    sudo yum install java-11-openjdk.x86_64
    

    image

    java -version

    image

    firewall-cmd --list-all
    firewall-cmd --permanent --add-service=http
    firewall-cmd --permanent --add-service=https
    firewall-cmd --reload
    

    image

    sudo yum install tomcat
    sudo yum install tomcat-webapps tomcat-admin-webapps tomcat-docs-webapp tomcat-javadoc
    
    sudo yum update httpd
    sudo yum install httpd
    sudo systemctl start httpd
    sudo systemctl stop httpd
    sudo systemctl start httpd
    sudo systemctl status httpd
    
    

    image

    systemctl restart tomcat
    systemctl status tomcat
    

    image

    image

  • Tomcat User Config
    ll /usr/share/tomcat/conf/
    

    output

    [root@linux conf]# ll /usr/share/tomcat/conf/
    total 216
    drwxrwxr-x. 3 root tomcat 23 Oct 17 12:37 Catalina
    -rw-r--r--. 1 root tomcat 13443 Nov 16 2020 catalina.policy
    -rw-r--r--. 1 root tomcat 6696 Nov 16 2020 catalina.properties
    drwxr-xr-x. 2 root tomcat 20 Oct 17 12:37 conf.d
    -rw-r--r--. 1 root tomcat 1394 Nov 16 2020 context.xml
    -rw-r--r--. 1 root tomcat 547 Nov 16 2020 log4j.properties
    -rw-r--r--. 1 root tomcat 3288 Nov 16 2020 logging.properties
    -rw-r--r--. 1 root tomcat 6613 Nov 16 2020 server.xml
    -rw-r--r--. 1 root tomcat 1828 Nov 16 2020 tomcat.conf
    -rw-r-----. 1 root tomcat 2570 Oct 17 14:05 tomcat-users.xml
    -rw-r--r--. 1 root tomcat 167655 Nov 16 2020 web.xml
    [root@linux conf]#

    Edit Tomcat User Access

    nano tomcat-users.xml
    
    <user username="both" password="<must-be-changed>" roles="admin,admin-gui,admin-script,manager,manager-gui,manager-script,manager-jmx,manager-status"/>
    

    systemctl restart tomcat
    systemctl status tomcat

  • Tomcat change port http & https
    • default port http = 8080
    <Connector port="8080" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8443" />
    
    
    • Change port http = 80
    <Connector port="80" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="443" />
    
    
    • default port https = 8443 closed
    <!--
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" />
    -->
    
    
    • Open ange port https = 8443
    <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS"
               keystoreFile="/usr/share/tomcat/ssl/gisportal.id.jks"
               keystorePass="geonet$123"/>
    
    
    • Documentation
      http 8080 http 80 https 8443 https 443
      image image image
      image
  • Apache http 80 and https 443
    • install module ssl
    yum install mod_ssl
    
    • restart httpd
    systemctl restart httpd
    
    • cek Modul yang terkonfigurasi di httpd
    httpd -M
    
    • Load Module
    nano /etc/httpd/conf.modules.d/00-proxy.conf
    
    • add module proxy
    LoadModule proxy_module modules/mod_proxy.so
    LoadModule proxy_http_module modules/mod_proxy_http.so
    LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so
    LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    
    • Verify modlue ready
    apachectl configtest 
    
    • restart httpd
    systemctl restart httpd
    
    • edit ssl.conf
    nano /etc/httpd/conf.d/ssl.conf
    
    • command edit
    <VirtualHost *:443>
        DocumentRoot /var/www/html
        ServerName www.example.com
        SSLEngine on
        SSLCertificateFile /etc/ssl/private/certificate.crt
        SSLCertificateKeyFile /etc/ssl/private/private.key
        SSLCertificateChainFile /etc/ssl/private/certificate-ca.crt
    </VirtualHost>
    
    

    image

    • restart httpd
    systemctl restart httpd
    
  • Install ArcGIS Enterprise 10.7.1
    • Get Installer
    • Extrac Installer
    tar xvf file.tar
    
    

Refrensi

## ArcGIS Enterprise Version support Centos Distro | Operating system | 10.5.x | 10.6.x | 10.7.x | | --- | --- | --- | --- | | CentOS Linux 6 | 1 | 1 | 1 | | CentOS Linux 7 | 1 | 1 | 1 | | Grand Total | 2 | 2 | 2 | | | | | | ## Linux ArcGIS Enterprise stable version | Operating system | 10.4.x | 10.5.x | 10.6.x | 10.7.x | 10.8.x | 10.9.x | 10.0 | 11.1 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | SUSE Linux Enterprise Server 11 | 1 | 1 | 1 | | | | | | | SUSE Linux Enterprise Server 12 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | SUSE Linux Enterprise Server 15 | | | | | | 1 | 1 | 1 | | SUSE Linux Enterprise Server 15 SP1 (supported with 10.8.1 only) | | | | | 1 | | | | - <details> <summary>Support list from 10.4 to 11.1</summary> | Operating system | 10.4.x | 10.5.x | 10.6.x | 10.7.x | 10.8.x | 10.9.x | 10.0 | 11.1 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | CentOS Linux 6 | | 1 | 1 | | | | | | | CentOS Linux 7 | | 1 | 1 | | | | | | | CentOS Linux 6 | | | | 1 | | | | | | CentOS Linux 7 | | | | 1 | | | | | | Oracle Linux 6 | | 1 | 1 | | | | | | | Oracle Linux 7 | | 1 | 1 | | | | | | | Oracle Linux 6 | | | | 1 | | | | | | Oracle Linux 7 | | | | 1 | | | | | | Oracle Linux 8 | | | | | | | 1 | 1 | | Red Hat Enterprise Linux (RHEL) Server 7 | | | | 1 | | | | | | Red Hat Enterprise Linux Server 5 | 1 | | | | | | | | | Red Hat Enterprise Linux Server 6 | 1 | 1 | 1 | | | | | | | Red Hat Enterprise Linux Server 7 | 1 | 1 | 1 | | | | | | | Red Hat Enterprise Linux Server 6 | | | | 1 | 1 | | | | | Red Hat Enterprise Linux Server 7 | | | | | 1 | 1 | | | | Red Hat Enterprise Linux Server 8 | | | | | | 1 | 1 | 1 | | Red Hat Enterprise Linux Server 8 (supported with 10.8.1 only) | | | | | 1 | | | | | Rocky Linux 8 | | | | | | | | 1 | | Scientific Linux 6 | | 1 | 1 | | | | | | | Scientific Linux 7 | | 1 | 1 | | | | | | | Scientific Linux 6 | | | | 1 | | | | | | Scientific Linux 7 | | | | 1 | | | | | | SUSE Linux Enterprise Server 11 | 1 | 1 | 1 | | | | | | | SUSE Linux Enterprise Server 12 | 1 | 1 | 1 | | | | | | | SUSE Linux Enterprise Server 12 | | | | 1 | 1 | 1 | 1 | 1 | | SUSE Linux Enterprise Server 15 | | | | | | 1 | 1 | 1 | | SUSE Linux Enterprise Server 15 (supported with 10.8.1 only) | | | | | 1 | | | | | Ubuntu Server LTS | | 1 | 1 | | | | | | | Ubuntu Server LTS 16 | | | | 1 | | | | | | Ubuntu Server LTS 18 | | | | 1 | | | | | | Ubuntu Server 16.04 LTS | | | | | 1 | | | | | Ubuntu Server 18.04 LTS | | | | | 1 | 1 | 1 | 1 | | Ubuntu Server 20.04 LTS | | | | | | 1 | 1 | 1 | | Ubuntu Server 20.04 LTS (supported with 10.8.1 only) | | | | | 1 | | | | | Ubuntu Server 22.04 LTS | | | | | | | | 1 | </details> ## Web Server Support ### Tomcat Install | Apache Tomcat Version | 10.4.x | 10.5.x | 10.6.x | 10.7.x | 10.8.x | 10.9.x | 11.0 | 11.1 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Apache Tomcat 7.0.65 | 1 | | | | | | | | | Apache Tomcat 7.0.72 | | 1 | | | | | | | | Apache Tomcat 7.0.82 | | | 1 | | | | | | | Apache Tomcat 7.0.92 | | | | 1 | 1 | | | | | Apache Tomcat 8.0.32* | 1 | | | | | | | | | Apache Tomcat 8.0.38 | | 1 | | | | | | | | Apache Tomcat 8.0.47 | | | 1 | | | | | | | Apache Tomcat 8.5.23 | | | 1 | | | | | | | Apache Tomcat 8.5.35 | | | | 1 | 1 | 1 | 1 | 1 | | Apache Tomcat 8.5.6 | | 1 | | | | | | | | Apache Tomcat 9.0.19 | | | | 1 | 1 | 1 | 1 | 1 | | | | | | | | | | | ### Java Compponen | Java Version | 10.4.x | 10.5.x | 10.6.x | 10.7.x | 10.8.x | 10.9.x | 11.0 | 11.1 | | --- | --- | --- | --- | --- | --- | --- | --- | --- | | Java 7 | 1 | | | | | | | | | Java 8 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | | Java 11 | | | | 1 | 1 | 1 | 1 | 1 | | Java 12 | | | | 1 | 1 | 1 | 1 | 1 | | Java 15 | | | | | | | | 1 | | | | | | | | | | | - <details> <summary>Open ArcGIS Port</summary> ``` firewall-cmd --list-all firewall-cmd --permanent --add-port=3306/tcp firewall-cmd --permanent --add-port=2443/tcp firewall-cmd --permanent --add-port=6443/tcp firewall-cmd --permanent --add-port=7443/tcp firewall-cmd --permanent --add-port=5432/tcp firewall-cmd --permanent --add-port=8080/tcp firewall-cmd --permanent --add-port=8443/tcp firewall-cmd --permanent --add-port=80/tcp firewall-cmd --permanent --add-port=443/tcp firewall-cmd --reload ``` | default | open port | |---|---| | ![image](/attachments/9422ec68-2ea6-4c91-af5e-66e547ce577b) | ![image](/attachments/d05c2066-f548-42d5-aefb-d3315ad9e7e3) | </details> - <details> <summary>ulimits.conf</summary> ### Update ulimits.conf ``` sudo nano /etc/security/limits.conf ``` ``` root soft nofile 65535 root hard nofile 65535 root soft nproc 25059 root hard nproc 25059 arcgis soft nofile 65535 arcgis hard nofile 65535 arcgis soft nproc 25059 arcgis hard nproc 25059 esri soft nofile 65535 esri hard nofile 65535 esri soft nproc 25059 esri hard nproc 25059 LimitNOFILE=65536 LimitNPROC=25059 LimitAS=infinity LimitFSIZE=infinity ``` ### reboot host ``` reboot ``` ### cek ulimits.conf ``` ulimit -Hn -Sn ulimit -Hu -Su ``` ![image](/attachments/c30aabd6-b1ad-4c87-b222-7c6711a20d32) </details> - <details> <summary>Tomcat</summary> ``` cat /etc/centos-release ``` ![image](/attachments/684f2cad-f3fe-416d-b4c1-5ac6f3234abd) ``` sudo yum install epel-release ``` ![image](/attachments/373f35d6-f332-4180-86fa-ad667b53cf2c) ``` sudo dnf search openjdk ``` - <details> <summary>openjdk</summary> | No | Java | | --- | --- | | | Name & Summary Matched: openjdk | | 1 | java-1.6.0-openjdk-demo.x86_64 : OpenJDK Demos | | 2 | java-1.7.0-openjdk-demo.x86_64 : OpenJDK Demos | | 3 | java-11-openjdk-demo.i686 : OpenJDK 11 Demos | | 4 | java-11-openjdk-demo.x86_64 : OpenJDK 11 Demos | | 5 | java-1.8.0-openjdk-demo.i686 : OpenJDK 8 Demos | | 6 | java-1.8.0-openjdk-demo.x86_64 : OpenJDK 8 Demos | | 7 | java-11-openjdk-jmods.i686 : JMods for OpenJDK 11 | | 8 | java-11-openjdk-jmods.x86_64 : JMods for OpenJDK 11 | | 9 | java-1.6.0-openjdk-src.x86_64 : OpenJDK Source Bundle | | 10 | java-1.7.0-openjdk-src.x86_64 : OpenJDK Source Bundle | | 11 | java-11-openjdk-src.i686 : OpenJDK 11 Source Bundle | | 12 | java-11-openjdk-src.x86_64 : OpenJDK 11 Source Bundle | | 13 | java-1.6.0-openjdk.x86_64 : OpenJDK Runtime Environment | | 14 | java-1.7.0-openjdk.x86_64 : OpenJDK Runtime Environment | | 15 | java-1.8.0-openjdk-src.i686 : OpenJDK 8 Source Bundle | | 16 | java-1.8.0-openjdk-src.x86_64 : OpenJDK 8 Source Bundle | | 17 | java-11-openjdk.i686 : OpenJDK 11 Runtime Environment | | 18 | java-11-openjdk.x86_64 : OpenJDK 11 Runtime Environment | | 19 | java-1.8.0-openjdk.x86_64 : OpenJDK 8 Runtime Environment | | 20 | java-1.8.0-openjdk.i686 : OpenJDK 8 Runtime Environment | | 21 | java-1.8.0-openjdk.x86_64 : OpenJDK 8 Runtime Environment | | 22 | java-1.6.0-openjdk-javadoc.x86_64 : OpenJDK API Documentation | | 23 | java-1.7.0-openjdk-javadoc.noarch : OpenJDK API Documentation | | 24 | java-11-openjdk-javadoc.i686 : OpenJDK 11 API documentation | | 25 | java-11-openjdk-javadoc.x86_64 : OpenJDK 11 API documentation | | 26 | openjdk-asmtools-javadoc.noarch : Javadoc for openjdk-asmtools | | 27 | java-1.8.0-openjdk-javadoc.noarch : OpenJDK 8 API documentation | | 28 | java-1.6.0-openjdk-devel.x86_64 : OpenJDK Development Environment | | 29 | java-1.7.0-openjdk-devel.x86_64 : OpenJDK Development Environment | | 30 | java-11-openjdk-devel.i686 : OpenJDK 11 Development Environment | | 31 | java-11-openjdk-devel.x86_64 : OpenJDK 11 Development Environment | | 32 | java-1.8.0-openjdk-devel.i686 : OpenJDK 8 Development Environment | | 33 | java-1.8.0-openjdk-devel.x86_64 : OpenJDK 8 Development Environment | | 34 | java-1.7.0-openjdk-accessibility.x86_64 : OpenJDK accessibility connector | | 35 | java-1.8.0-openjdk-accessibility.i686 : OpenJDK accessibility connector | | 36 | java-1.8.0-openjdk-accessibility.x86_64 : OpenJDK accessibility connector | | 37 | java-11-openjdk-headless.i686 : OpenJDK 11 Headless Runtime Environment | | 38 | java-11-openjdk-headless.x86_64 : OpenJDK 11 Headless Runtime Environment | | 39 | java-1.8.0-openjdk-headless.x86_64 : OpenJDK 8 Headless Runtime Environment | | 40 | java-1.8.0-openjdk-headless.i686 : OpenJDK 8 Headless Runtime Environment | | 41 | java-1.8.0-openjdk-headless.x86_64 : OpenJDK 8 Headless Runtime Environment | | 42 | java-11-openjdk-static-libs.i686 : OpenJDK 11 libraries for static linking | | 43 | java-11-openjdk-static-libs.x86_64 : OpenJDK 11 libraries for static linking | | 44 | java-11-openjdk-javadoc-zip.i686 : OpenJDK 11 API documentation compressed in a single archive | | 45 | java-11-openjdk-javadoc-zip.x86_64 : OpenJDK 11 API documentation compressed in a single archive | | 46 | java-1.8.0-openjdk-javadoc-zip.noarch : OpenJDK 8 API documentation compressed in a single archive | | 47 | java-1.7.0-openjdk-headless.x86_64 : The OpenJDK runtime environment without audio and video support | | | | | | Name Matched: openjdk | | 1 | openjdk-asmtools.noarch : To develop tools create proper & improper Java '.class' files | | | | | | Summary Matched: openjdk | | 1 | openprops.noarch : An improved java.util.Properties from OpenJDK | | 2 | icedtea-web.x86_64 : Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation | | 3 | icedtea-web.x86_64 : Additional Java components for OpenJDK - Java browser plug-in and Web Start implementation | </details> ![image](/attachments/4a3e622e-9951-4954-8996-0f4addeced68) ``` sudo yum install java-1.8.0-openjdk.x86_64 ``` ![image](/attachments/204b4532-acf5-49e4-9fc1-fce2c8dda3fc) ``` sudo yum install java-11-openjdk.x86_64 ``` ![image](/attachments/54e5ae55-0e56-4079-adb5-07c3981ef43d) java -version ![image](/attachments/6bb7e059-27e5-45c4-a9fc-9dfecb20f5eb) ``` firewall-cmd --list-all firewall-cmd --permanent --add-service=http firewall-cmd --permanent --add-service=https firewall-cmd --reload ``` ![image](/attachments/1193f4eb-8f3b-4066-be50-a8df97df0918) ``` sudo yum install tomcat sudo yum install tomcat-webapps tomcat-admin-webapps tomcat-docs-webapp tomcat-javadoc sudo yum update httpd sudo yum install httpd sudo systemctl start httpd sudo systemctl stop httpd sudo systemctl start httpd sudo systemctl status httpd ``` ![image](/attachments/8dae5240-4acc-42bf-82d2-f26b079b5018) ``` systemctl restart tomcat systemctl status tomcat ``` ![image](/attachments/0e497701-eb51-4f42-89ac-13ec5d9f91c9) ![image](/attachments/27efc55a-e9f8-4a68-b828-2287a7539e9e) </details> - <details> <summary>Tomcat User Config</summary> ``` ll /usr/share/tomcat/conf/ ``` output [root@linux conf]# ll /usr/share/tomcat/conf/ total 216 drwxrwxr-x. 3 root tomcat 23 Oct 17 12:37 Catalina -rw-r--r--. 1 root tomcat 13443 Nov 16 2020 catalina.policy -rw-r--r--. 1 root tomcat 6696 Nov 16 2020 catalina.properties drwxr-xr-x. 2 root tomcat 20 Oct 17 12:37 conf.d -rw-r--r--. 1 root tomcat 1394 Nov 16 2020 context.xml -rw-r--r--. 1 root tomcat 547 Nov 16 2020 log4j.properties -rw-r--r--. 1 root tomcat 3288 Nov 16 2020 logging.properties -rw-r--r--. 1 root tomcat 6613 Nov 16 2020 server.xml -rw-r--r--. 1 root tomcat 1828 Nov 16 2020 tomcat.conf -rw-r-----. 1 root tomcat 2570 Oct 17 14:05 tomcat-users.xml -rw-r--r--. 1 root tomcat 167655 Nov 16 2020 web.xml [root@linux conf]# ### Edit Tomcat User Access ``` nano tomcat-users.xml ``` ``` <user username="both" password="<must-be-changed>" roles="admin,admin-gui,admin-script,manager,manager-gui,manager-script,manager-jmx,manager-status"/> ``` systemctl restart tomcat systemctl status tomcat </details> - <details> <summary>Tomcat change port http & https</summary> - default port http = 8080 ``` <Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> ``` - Change port http = 80 ``` <Connector port="80" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="443" /> ``` - default port https = 8443 closed ``` <!-- <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" /> --> ``` - Open ange port https = 8443 ``` <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/usr/share/tomcat/ssl/gisportal.id.jks" keystorePass="geonet$123"/> ``` - Documentation |http 8080 | http 80 | https 8443 | https 443 | |--- |--- |--- |--- | | ![image](/attachments/5674dda7-1524-4147-8719-7da0208e2d5c) | ![image](/attachments/60e3b5ad-6bb9-4f79-9667-7c5d3da06f0f) | ![image](/attachments/f9657129-770d-415c-9f15-68d78c0447bc)<br>![image](/attachments/54dcd719-4216-419b-a764-8405e0facdc9) | | </details> - <details> <summary>Apache http 80 and https 443</summary> - install module ssl ``` yum install mod_ssl ``` - restart httpd ``` systemctl restart httpd ``` - cek Modul yang terkonfigurasi di httpd ``` httpd -M ``` - Load Module ``` nano /etc/httpd/conf.modules.d/00-proxy.conf ``` - add module proxy ``` LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so ``` - Verify modlue ready ``` apachectl configtest ``` - restart httpd ``` systemctl restart httpd ``` - edit ssl.conf ``` nano /etc/httpd/conf.d/ssl.conf ``` - command edit ``` <VirtualHost *:443> DocumentRoot /var/www/html ServerName www.example.com SSLEngine on SSLCertificateFile /etc/ssl/private/certificate.crt SSLCertificateKeyFile /etc/ssl/private/private.key SSLCertificateChainFile /etc/ssl/private/certificate-ca.crt </VirtualHost> ``` ![image](/attachments/7994aba8-24ae-407a-a60b-5f80e526f69b) - restart httpd ``` systemctl restart httpd ``` </details> - <details> <summary>Install ArcGIS Enterprise 10.7.1</summary> - Get Installer - Extrac Installer ``` tar xvf file.tar ``` </details> # Refrensi - [enterprise.arcgis.com](https://enterprise.arcgis.com/en/system-requirements/10.4/linux/portal-for-arcgis-system-requirements.htm): Portal for ArcGIS 10.4.x system requirements - [enterprise.arcgis.com](https://enterprise.arcgis.com/en/system-requirements/10.5/linux/portal-for-arcgis-system-requirements.htm): Portal for ArcGIS 10.5.x system requirements - [enterprise.arcgis.com](https://enterprise.arcgis.com/en/system-requirements/10.6/linux/arcgis-enterprise-builder-system-req.htm): Portal for ArcGIS 10.6.x system requirements - [enterprise.arcgis.com](https://enterprise.arcgis.com/en/system-requirements/10.7/linux/arcgis-server-system-requirements.htm): Portal for ArcGIS 10.7.x system requirements - [enterprise.arcgis.com](https://enterprise.arcgis.com/en/system-requirements/10.8/linux/arcgis-server-system-requirements.htm): Portal for ArcGIS 10.8.x system requirements - [www.geeksforgeeks.org](https://www.geeksforgeeks.org/tar-command-linux-examples/) : tar command in Linux with examples - [linuxhint.com](https://linuxhint.com/tar-cvf-and-tar-xvf-example-commands-in-linux/) : How to Use Tar CVF and Tar XVF in Linux Explained with Example Commands - [git.gisportal.id](http://git.gisportal.id/rbsetiawan/GUIDE/issues/27): Apache Tomcat 8443 to 443
rbsetiawan changed title from Centos to Centos 7 - ArcGIS Enterprise Preparation 3 years ago
rbsetiawan added the
ArcGIS Enterprise
label 3 years ago
rbsetiawan self-assigned this 3 years ago
Sign in to join this conversation.
Loading…
There is no content yet.