#----------------------------------------------------------------------
# Install ORDS
#----------------------------------------------------------------------
*) download ords.3.0.0.121.10.23.zip to c:\downloads
*) Create a directory to hold the configuration files
mkdir c:\app\ords_3.0\conf
*) Unzip ORDS
unzip c:\downloads\ords.3.0.0.121.10.23.zip -d c:\downloads\ords_3.0
cd /d c:\downloads\ords_3.0
*) run installer, the embedded ords listener will start automatically
java -jar ords.war
Enter the location to store configuration data: c:\app\ords_3.0\conf
Static image files for standalone mode: C:\downloads\apex_5.0\apex\images
Configure the APEX Gateway
Configure the APEX_LISTENER and APEX_REST_PUBLIC_USER Accounts
Start ords in standalone mode
*) Test the installation using: http://localhost:8080/ords/
*) Optimize setup
- Change file: c:\app\ords_3.0\conf\ords\conf\apex.xml:
15
1000
50
10
15
*) Restart the integrated JETTY
CTRL-C
java -jar ords.war
*) Test again: http://localhost:8080/ords/
*) Stop the JETTY because now we want to install the Tomcat 8 also on Port 8080!
CTRL-C
#----------------------------------------------------------------------
# Clean up a messup up ORDS installation !!! ONLY IF REQUIRED !!!
#----------------------------------------------------------------------
del /s /q c:\app\ords_3.0\conf\*.*
rmdir /s /q c:\app\ords_3.0\conf
del /s /q c:\downloads\ords_3.0\params\*.*
## this will DEINSTALL the users ORDS_METADATA and ORDS_PUBLIC_USER
##java -jar c:\downloads\ords_3.0\ords.war uninstall
#----------------------------------------------------------------------
# Install Apache Tomcat
#----------------------------------------------------------------------
cd /d c:\downloads
## install tomcat using the defaults
apache-tomcat-8.0.23.exe
The installation directory is: "C:\Program Files\Apache Software Foundation\Tomcat 8.0"
*) Start the tomcat service
*) Test the Tomcat installation: http://localhost:8080/
*) Copy the APEX images to Tomcat
xcopy /s /y c:\downloads\apex_5.0\apex\images "C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\ROOT\i"
*) Look where the files have been copied to
start explorer "C:\Program Files\Apache Software Foundation\Tomcat 8.0"
*) Test the successful installation of the images:
http://localhost:8080/i/apex_version.txt
#----------------------------------------------------------------------
# Deploy ORDS in Apache Tomcat
#----------------------------------------------------------------------
*) copy ords.war file to Tomcat (it will be automatically deployed)
copy c:\downloads\ords_3.0\ords.war "C:\Program Files\Apache Software Foundation\Tomcat 8.0\webapps\"
*) Look where the files have been copied to
start explorer "C:\Program Files\Apache Software Foundation\Tomcat 8.0"
*) Test Tomcat with ords:
http://localhost:8080/ords/
#----------------------------------------------------------------------
# Install Apache http Server 2.4
#----------------------------------------------------------------------
*) Download httpd-2.4.12-x86-vc11-r2.zip to c:\downloads
*) Download Microsoft Redistributable vcredist_x86.exe to c:\downloads
*) install Redistributable
vcredist_x86.exe
*) unzip Apache
unzip c:\downloads\httpd-2.4.12-x86-vc11-r2.zip -d c:\downloads\httpd-2.4
*) Copy files to c:\Apache24
xcopy /s /e c:\downloads\httpd-2.4\Apache24 c:\Apache24
*) Start Apache
c:\Apache24\bin\httpd.exe
*) Test Apache http Server:
- http://localhost/
- https://localhost/
*) copy config file apex.conf to c:\Apache24\conf\apex.conf
copy C:\Users\Administrator\Desktop\KScope15-Hollywood\apex.conf c:\Apache24\conf\apex.conf
*) include our custom conf file in the regular Apache configuration:
start explorer c:\Apache24\conf
- conf\extra\httpd-ahssl.conf
- conf\extra\httpd-vhosts.conf
# include custom config file for APEX / D. Aust 20.06.2015
Include "conf/apex.conf"
*) Edit the new config file and do some tests
start c:\Apache24\conf\apex.conf
*) Test the configuration syntax
C:\Apache24\bin\httpd -t
*) Start Apache
c:\Apache24\bin\httpd.exe
*) Test:
- http://localhost/
- https://localhost/new_features
- Test caching
- Test compression
*) Install Apache as a service
c:\Apache24\bin\httpd -k install
*) Start Apache Service
net start "Apache2.4"
*) Test Apache http Server: http://localhost/
*) Reload the server configuration (just graceful, no session is lost)
c:\Apache24\bin\httpd.exe -k restart
#----------------------------------------------------------------------
# limit access to Tomcat => Required for the later SSO setup
#----------------------------------------------------------------------
*) Test:
- Access from the outside world directly to Tomcat in VM: http://vm1:8080/
*) Change server.xml file and bind Tomcat to LOCALHOST only
...
*) Restart the Tomcat
*) Test:
- Access from localhost should work: http://localhost:8080/
- Access from the outside world should NOT work: http://vm1:8080/
#----------------------------------------------------------------------
# END OF DEMO
#----------------------------------------------------------------------
#----------------------------------------------------------------------
# Cleanup EVERYTHING
#----------------------------------------------------------------------
*) Remove ORDS configuration
del /s /q c:\app\ords_3.0\conf\*.*
rmdir /s /q c:\app\ords_3.0\conf
del /s /q c:\downloads\ords_3.0\params\*.*
## this will DEINSTALL the users ORDS_METADATA and ORDS_PUBLIC_USER
java -jar c:\downloads\ords_3.0\ords.war uninstall
*) tomcat deinstallieren über systemsteuerung
*) redistributable deinstallieren microsoft
*) apache deinstallieren
cd /d c:\downloads
net stop "Apache2.4"
c:\apache24\bin\httpd -k uninstall
del /s /q c:\apache24\*.*
rmdir /s /q c:\apache24
rmdir /s /q c:\downloads\httpd-2.4