Appboard/old/windows installation

Revision as of 17:47, 21 March 2012 by imported>Mike.berman (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This section provides instructions for installing AppBoard on a Windows Server. It also details how to create a service that will automatically start AppBoard when the server is booted.


Install AppBoard

To install AppBoard, perform the following steps on the AppBoard server:


  1. Install the Java Development Kit (JDK)
  2. Make sure the Java home environment variable is set on the server:
    1. Start | Right-click on Computer and "Properties" | Advanced System Settings | Environment Variables
    2. Under "System Variables", if there is no "JAVA_HOME" variable set, click "New"
    3. Set "Variable Name" to JAVA_HOME
    4. Set "Variable Path" to the path to the JDK
    5. Example (Windows): JAVA_HOME = C:\Program Files\Java\jdk1.6.0_10
    6. Note: Make sure JAVA_HOME does not end with "\" and is not surrounded by quotes. It is also recommended that JAVA_HOME not contain spaces.
  3. Extract the turnkey installation file to any desired location on the server
  4. Save the license file into [APPBOARD _HOME]/webapps/enportal/WEB-INF/config/license.properties
  5. If you are running a 32-bit version of Windows, perform the following additional steps:
    1. Navigate to [APPBOARD_HOME]/server/bin/windows-x86 and copy the 32-bit Tomcat files from the /windows-x86 folder up one level to replace the default 64-bit versions in the /bin folder:
      1. tcnative-1.dll
      2. tomcat7.exe
    2. Navigate to [APPBOARD_HOME]/server/bin/setenv.bat and change the JAVA_MEMORY_MAX setting from 1536 to 1024
  6. [optional] Confirm that the server does not have anything running on the port to be used by AppBoard
    1. The port number is shown as HTTP_PORT in the file: [APPBOARD_HOME]/bin/setenv.bat (Windows) or setenv.sh (Unix)
  7. Run the Tomcat startup executable in [APPBOARD_HOME]/bin/
    1. Windows: startup.bat
    2. Unix: startup.sh
  8. Validate the installation
    1. Go to the following URL in a supported web browser on any workstation that has network access to the AppBoard server: http://localhost:8080/enportal/ab/home
    2. When prompted, log in with the following default credeintials:
      1. User ID: administrator
      2. Password: administrator
      3. Domain: System


Create an AppBoard Service

After installing AppBoard, you can configure the application for automated startup. For example, on a production server, you may want the application to start up automatically any time the server is re-started. This can be implemented using a Windows service. This section details how to configure automated startup.


The following steps detail how to create a Windows service for automated startup:

Template-note.png
It is recommended that you are the administrator when opening a console to install a service.
Template-note.png
A 64-bit JVM must be used when running as a service on 64-bit Windows.
  1. Locate the subfolder under [APPBOARD_HOME]\server\bin that matches your operating system.
    Example: If you are running a 32-bit Windows OS, this would be the "windows-x86" folder.
  2. Copy the two files from this folder over the same files in [APPBOARD_HOME]\server\bin
  3. Open the DOS command window
  4. Navigate to [APPBOARD_HOME]\server\bin
  5. Enter the following command to install the Windows service:
    > service install
  6. If successful, the message should be displayed: "The service 'EdgeWebServer' has been installed."
  7. Enter the following command later if you need to remove the Windows service:
    > service remove
  8. If successful, the message should be displayed: "The service 'EdgeWebServer' has been removed."

The service is installed with manual startup configured. The Startup type is changed by running "services.msc" from Windows, selecting properties for "Edge Web Server", then choosing the desired startup type, such as "Automatic".

The setenv.bat script can be used to override the system JAVA_HOME and memory allocated to the Java process.