Please use this step by step guide for Server deployment of Anakage –

Download all the stuff you will need –

  1. The latest java versions both 32/64 bit from http://www.oracle.com
  2. The latest MSSQL Express from https://www.microsoft.com/en-in/sql-server/sql-server-downloads.
  3. Latest MSSQL management studio from https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017.
  4. Latest apache tomcat from https://tomcat.apache.org/download-90.cgi. From this link download the Windows Service Installer file.

Ready the machine –

  1. Read our documentation to get details of server prerequisites
  2. Create separate Drive in the server, if it doesn’t exist already (like I am using E: Drive). Allocate about 100 GB space to it.
  3. In Drive create a folder by the name – for example “AnyName”
  4. Copy paste all the downloaded files in this folder so you can easily find your all files at one location. (like I am using E:\AnyName)

Install needed components –

Java –

First, install Java 32 bit, no customization is required. Then install Java 64 bit in the same way. Java will get installed in C Drive.

Tomcat –
  1. Double click the Tomcat installer exe to start the installation. During configuration box –  change Http/1.1 Connector Port value from 8080 to 80.
  2. During installation location dialog – change its value to “E:\AnyName\Apache Software Foundation\Tomcat x” (x is the version being installed).
  3. In the final dialog make sure Start tomcat is checked.
  4. Post this Tomcat will get installed in E:\AnyName\ Apache Software Foundation folder.
  5. Now tomcat should be running, 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.
  6. If everything is working, open tomcat monitor from the start menu. Click on a stop to stop tomcat for now.

MSSQL –

  1. Double click the MSSQL exe file downloaded earlier. This installer needs internet access on the server. For reference https://www.youtube.com/watch?v=uOpgvtHfYjY MSSQL installation video.
  2. Select Custom installation and proceed with the installation.
  3. Select first option New SQL Server standalone installation
  4. Proceed with the installation. In the feature, section dialog unchecks SQL Server Replication, Machine learning services, R, Python, Full-Text and Semantic Extractions. It Should look as in the image below.
  5. In the Server Configuration Dialog, set SQL Server Browser Startup Type to be Automatic as shown in the image.
  6. Next, in the database engine configuration dialog, change to mixed mode and set the password as “your password”. Refer image.
  7. After the installation is complete, download MSSQL Management studio from https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms?view=sql-server-2017 . Install it.
  8. Post this open management studio from the start menu. A dialog as shown in image will open up.
  9. Authentication method should be as shown, enter login as “sa” and password
    as “your password” and click connect.
  10. After it is connected, Create a new database. Name it as “Your Database Name”.
Code Deployment –
  1. Rename your “FileName.war” file to ROOT.war.
  2. Go to “E:\AnyName \Apache Software Foundation\Tomcat x\Webapps” folder. Delete everything inside this folder. (Make tomcat is not running from tomcat monitor before doing this step).
  3. Copy Paste ROOT.war in “E:\AnyName\Apache Software Foundation\Tomcat x\Webapps”.
  4. 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.
Categories: Anakage Deployment

Leave a Reply

Your email address will not be published. Required fields are marked *