Setup Application Server

You are here:
< All Topics

Downloads

Process

  • Create E: Drive in the server, if it doesn’t exist already. Allocate about 100 GB space to it. (Video Link https://www.youtube.com/watch?v=_HgjasKuOBw)
  • In Drive create a folder by the name “aresource”.
  • Copy paste all the downloaded files in E:\aresource.

Java

  • Install java 64 bit, no customization required. Java will get installed in C Drive.

Tomcat

  • Next double click the Tomcat installer exe to start installation. In this when the configuration box comes up, change Http/1.1 Connector Port value from 8080 to 80.
  • After that when choose the installation location dialog comes up, change its value to “E:\aresource\Apache Software Foundation\Tomcat x” (x is the version being installed).
  • In the final dialog make sure Start tomcat is checked.
  • Post this Tomcat will get installed in E:\aresource\ Apache Software Foundation folder.
  • Now tomcat should be running, to verify open  web browser and type localhost. Tomcat default page will open up. Also to check the network connectivity, open a web browser in some local system i-e not in the server, and type the ip address of the server. The same default tomcat page should open up. If it is not the port 80 is blocked on the server and needs to enabled.
  • If everything is working, open tomcat monitor from start menu. Click on stop to stop tomcat for now.

MySQL

  • Double click the Mysql web installer downloaded earlier.
  • Select custom installation. In this add Mysql server, Mysql Workbench and Mysql shell features to be installed.
  • When asked for a password, give it as ‘test#123’.
  • After installation is complete, open Mysql workbench from start menu.
  • Connect to the local instance, its username will be ‘root’ & password is ‘…’.
  • After connecting, create a new database named ‘anakage_universal_db’.

Code Deployment

  • Download the EnvironmentVariables bat file provided by Anakage, right click this file and run as admin.
  • Download the .war file provided by Anakage. Rename it as ROOT.war.
  • Go to “E:\aresource\Apache Software Foundation\Tomcat x\Webapps” folder. Delete everything inside this folder. (Make tomcat is not running from tomcat monitor before doing this step).
  • Copy Paste ROOT.war in “E:\aresource\Apache Software Foundation\Tomcat x\Webapps”.
  • Open tomcat monitor and click start. After about 5 minutes web portal should be up and running. To verify, open web browser in the server and open localhost.

Network Accessibility

  • Open web browser on the local system, and enter the IP address or the hostname of the server in the url bar in browser. Login web page should open.
  • If nothing comes up after entering IP address/hostname, then we need to add an inbound rule to enable port 80 on the server firewall.
  • To do this, rdp in to server, go to Control Panel\All Control Panel Items\Windows Defender Firewall. Here click on advanced settings on left side, a window will open.
  • Click on inbound rules, add a new rule for port 80 to be enabled. (Video link for reference : https://www.youtube.com/watch?v=oxY81uM3yzs).
  • After adding the rule, try to access the server IP address/hostname in the browser from local system.
  • If still login page is not accessible, then network team needs to be contacted to diagnose the issue.
  • It should be made sure that server url is accessible from all networks with the company before moving ahead.

Previous Install Prerequisites on Server
Table of Contents