Automating Start-Up Scripts

It is important to add the following ExtraView components into the automated startup scripts of your server, in order that ExtraView functions correctly when you boot or reboot the computer.

The following components should be started automatically, preferably in the order shown:

  • Oracle/MSSQL/mySQL database
  • Apache Tomcat application server
  • Apache web server

Linux Platforms

Below you will find a sample startup script to start up the Apache and Tomcat services in a Linux environment. Make sure to change any path names according to your installation. After installation is completed, reboot your server to verify that all the separate pieces of the support software are started properly.

#!/bin/sh
#
# Copyright (c) 2015 by ExtraView Corporation
# All rights reserved.
#
case "$1" in
'start')
su - extraview -c /usr/local/extraview/tomcat/bin/startup.sh
/usr/local/extraview/apache/bin/apachectl start
;;
'stop')
/usr/local/extraview/apache/bin/apachectl stop
su - extraview -c /usr/local/extraview/tomcat/bin/shutdown.sh
;;
*)
echo "Usage: $0 { start | stop }"
exit 1
;;
esac
exit 0

Windows Platforms

If you followed all the steps in the installation guide, the different components of ExtraView will be installed as services. Open your services menu and verify that they are configured to start automatically at server startup. After installation is completed, reboot your server to verify that all the separate pieces of the support software are started properly.