install apollo essential 2015 linux - hexagon...

13
Install Apollo essential 2015 Linux - √ Documentation - √ https://hexagongeospatial.fluidtopics.net/book#! book;uri=859224d5b189ab88d522520983b708c2;breadcrumb=4c46e8efdc198a363ea832a7f710af3f- ddde247439e544a1fa7f1be4ecf33558 Chris's workflow for Ubuntu server 13.04 https://swengwiki.ingrnet.com/pages/viewpage.action?title=Ubuntu+Server+13.04&spaceKey=IWS Ubuntu is not supported/tested OS for Apollo essential 2015 Here is the supported server OS for Apollo essential 2015, unfortunately Ubuntu is not officially supported.

Upload: lexuyen

Post on 27-Jul-2018

242 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Install Apollo essential 2015 Linux - √

Documentation - √

https://hexagongeospatial.fluidtopics.net/book#!book;uri=859224d5b189ab88d522520983b708c2;breadcrumb=4c46e8efdc198a363ea832a7f710af3f-ddde247439e544a1fa7f1be4ecf33558

Chris's workflow for Ubuntu server 13.04https://swengwiki.ingrnet.com/pages/viewpage.action?title=Ubuntu+Server+13.04&spaceKey=IWS

Ubuntu is not supported/tested OS for Apollo essential 2015

Here is the supported server OS for Apollo essential 2015, unfortunately Ubuntu is not officially supported.

Page 2: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Unzip Apollo 2015 Linux zip file

There is APOLLOEssentials.bin after unzip

Allow Execute for .bin

Page 3: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Change Mode to 775 for executable:>sudo chmod 775 *

Run .bin file

Run .bin as ROOT user.

Accept the agreement, type “yes”

convert .rpm to .deb & install Apollo essential - √

Page 4: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

“alien” command take a long time (10 mins) to finish, and it will generate .deb package for Ubuntu system.

After run .deb, Apollo essential will be installed @/usr/local/hexagon/erdas-apollo/

Page 5: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Install Apache2 package @ Ubuntu

Enable “mod_rewrite”

>sudo a2emod rewrite

Install “mod_fastcgi” @ Ubuntu

Install with Apache2 + mode_rewrite + mode_fastcqi

ApolloEss>sudo dpkg -i erdasapolloessentials_15.00.0000-215_amd64.deb [sudo] password for hqu: (Reading database ... 178967 files and directories currently installed.)Preparing to unpack erdasapolloessentials_15.00.0000-215_amd64.deb ...ERDAS APOLLO Essentials 2015 is shutting down...! WARNING: Unable to determine apache installation location.! Manual Cleanup of ERDASAPOLLO.conf is required.ERDAS APOLLO Essentials 2015 is shutting down...Pre-installation tasks complete.Unpacking erdasapolloessentials (15.00.0000-215) over (15.00.0000-215) ...Setting up erdasapolloessentials (15.00.0000-215) ...Running post-install configuration tasks..Deploying clean configurationPrevious filelist.db detected, upgrading

Page 6: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Version: 15,0,0,214

Database: /usr/local/hexagon/erdas-apollo/config/filelist.dbDatabase Version: 5Database has the same version with the target version as 5; Nothing needs to be done.Apache environment

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this messageServer version: Apache/2.4.18 (Ubuntu) Server built: 2016-04-15T18:00:57 Server's Module Magic Number: 20120211:52 Server loaded: APR 1.5.2, APR-UTIL 1.5.4 Compiled using: APR 1.5.2, APR-UTIL 1.5.4 Architecture: 64-bit Server MPM: event threaded: yes (fixed thread count) forked: yes (variable process count)

- install : /etc/apache2/- conf.d :

Checking Apache modules.. rewrite_module (shared)- mod_rewrite: found fastcgi_module (shared)- mod_fastcgi: found

Existing ERDASAPOLLO.conf detectedSetting up file permissions ...Created new desktop shortcut at 'Applications > Internet'

Detecting SELinux...- SELinux not found.

ERDAS APOLLO Essentials 2015 is starting as Daemon Process... Standard output: (/usr/local/hexagon/erdas-apollo/log/APOLLOEssentials-daemon.log)

ERDAS APOLLO Essentials 2015 is running on 127.0.0.1:10001

Post-installation complete. Apache restart required.Processing triggers for libc-bin (2.23-0ubuntu3) …

selinux.sh – (Optional ??)

config>sudo ./selinux.sh [sudo] password for hqu: ./selinux.sh: line 13: semanage: command not found./selinux.sh: line 14: restorecon: command not foundchcon: cannot access '/etc/httpd/modules/mod_fastcgi.so': No such file or directory./selinux.sh: line 17: setsebool: command not found

Installed package “policycoreutils-python”

Start Apollo essential service

/usr/local/hexagon/erdas-apollo/bin/>sudo ./iwsctl start

Page 7: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Confirm Apollo essential daemon process is operational. NCS

bin>sudo ./iwsctl status[sudo] password for hqu: ERDAS APOLLO Essentials 2015 is not running.bin>sudo ./iwsctl startERDAS APOLLO Essentials 2015 is starting as Daemon Process... Standard output: (/usr/local/hexagon/erdas-apollo/log/APOLLOEssentials-daemon.log)

ERDAS APOLLO Essentials 2015 is running on 127.0.0.1:10001bin>ps aux | grep NCSnobody 4424 21.4 2.1 595260 86612 ? Ssl 08:07 0:01 /usr/local/hexagon/erdas-apollo/bin/NCSImageWebServer -socket=127.0.0.1:10001 -daemon=true -log=/usr/local/hexagon/erdas-apollo/log/APOLLOEssentials-daemon.loghqu 4468 0.0 0.0 21296 1032 pts/18 S+ 08:08 0:00 grep --color=auto NCSbin>

ps = view processes running on the linux systemaux = arguments for ps command:

|_a= show processes for all users|_u= display the process's user/owner|_x= show processes ot attached to a terminal

Page 8: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Connect Apollo essential to Apache2

All files that were previously in /etc/apache2/conf.d/ should be moved to /etc/apache2/conf-available/. Copy the ERDASAPOLLO.conf file to /etc/apache2/conf-available/ folder>sudo cp /usr/local/hexagon/erdas-apollo/config/ERDASAPOLLO.conf /etc/apache2/conf-available/

Make symbol link to /etc/apache2/conf-enabled/ folder>sudo ln -s /etc/apache2/conf-available/ERDASAPOLLO.conf /etc/apache2/conf-enabled/ERDASAPOLLO.conf

Now restart Apache2>sudo service apache2 restart

Page 9: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Start Apollo essential admin console again (check license) - √

Start Apollo essential admin console from:Ubuntu dashOr>cd /usr/local/hexagon/erdas-apollo/server/>sudo ./run.sh

Page 10: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation
Page 11: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation
Page 12: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

GetCapabilities Request - √

http://localhost/erdas-iws/ogc/wms?service=wms&request=getcapabilities

Page 13: Install Apollo essential 2015 Linux - Hexagon Geospatialcommunity.hexagongeospatial.com/.../hmrkh95973/KS_ERDAS_APOLL… · Install Apollo essential 2015 Linux - √ Documentation

Start everything

[1] Start licensing>cd /usr/local/intergraph/IngrLicenseSvr/>sudo ./INGRLicenseService.sh start

[2] Start Essential>cd /usr/local/hexagon/erdas-apollo/bin/>sudo ./iwsctl start

[3] Connect to Amdin console>cd /usr/local/hexagon/erdas-apollo/server/>sudo ./run.sh

log: APOLLOEssentials.log

/usr/local/hexagon/erdas-apollo/log/APOLLOEssentials.log :

2016-05-10 09:02:24:363 [139742366734144] INFO com.erdas.iws.config - ************** Initializing ERDAS APOLLO Essentials 2015 15.0.0.214 (5.2.0.207) **************2016-05-10 09:02:24:466 [139742366734144] INFO com.erdas.iws.config - ERMapperLib Env: ERMAPPER="/usr/local/hexagon/erdas-apollo/lib" ERM_MACHINE_TYPE="GNU-Linux-x64"2016-05-10 09:02:24:467 [139742366734144] INFO com.erdas.iws.config - ECW lib GDT path is "/usr/local/hexagon/erdas-apollo/lib/PROJ_DATA"2016-05-10 09:02:26:212 [139742366734144] INFO com.erdas.iws.config - Setting the QT plugin dir to: /usr/local/hexagon/erdas-apollo/bin/plugins.2016-05-10 09:02:26:889 [139742366734144] INFO com.erdas.iws.database - Using SQLite version: 3.8.4.3.2016-05-10 09:02:26:897 [139742366734144] INFO com.erdas.iws.config - ImageX Cache Size set to 404331315 of total physical mem 40433131522016-05-10 09:02:26:898 [139742366734144] INFO com.erdas.iws.config - ImageX Cache Purge Time set to 10 seconds2016-05-10 09:02:27:257 [139742366734144] INFO com.erdas.iws.protocol.ecwp - ECWP Startup2016-05-10 09:02:27:257 [139742366734144] INFO com.erdas.iws.protocol.ecwp - ECWP Thread Pool size = 1002016-05-10 09:02:27:312 [139741996001024] INFO com.erdas.iws.config - Hardware detected: Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz (1 cores, 1 Threads, 1 processors NUMA disabled [1 total])2016-05-10 09:02:27:397 [139741996001024] INFO com.erdas.iws.config - Aquired a license: apessiws

log:APOLLOEssentials-daemon.log

The following log is empty/usr/local/hexagon/erdas-apollo/log/APOLLOEssentials-daemon.log