Skip to main content

Install Akabot Center 3x and MySQL on Microsoft Windows

This guide provides instructions to installing a single instance of akaBot Center version: 3.x, 2.x, 1.x with MySQL as the database engine. The target Operating System (OS) in this guideline is Microsoft Windows.

Guide video​

Install Akabot Center 3x and MySQL on Microsoft Windows (2026) - YouTube

1. Prerequisites​

1.1. Hardware and OS Requirements

ConfigurationRequirements
HardwareRAM: 32GB or higher
Core: 8 CPU or higher
SSD: 512 GB
Operating SystemWindows 10, 11, Server 2012 R2/2016/2019

1.2. Software Packages

The installation must be performed using an account with Administrator (root) privileges on the target machine.
You need to prepare the installation package according to the following list.

Note:

  • If the computer where you're installing Center does not have an internet connection, please download the installation package externally and copy it to the machine.
  • To avoid errors during installation with command line execution, please use a dedicated folder for akaBot Center installation and name the installation package directory without any spaces. For example: C:\akaBot
#NameFile NameVersionDescriptionDownload Link
1akaBot CenterakaBot-center-3.x.x.x.warNewest versionakaBot Center installation packageakaBot provides through email after the customer makes a purchase.
2Java Developer Kitopenlogic-openjdk-11.0.2011.0.20Open logic JDK 11.0.20Download
3Apache tomcatapache-tomcat- 8.5.89.exe8.5.59Web server Apache TomcatDownload
4ActiveMQapache-activemq- 5.15.1-bin.zip5.15.1ActiveMQ for Queue functionality in akaBot CenterDownload
5MySQLWindows (x86, 32-bit), MSI Installer8.0.45The database engine of akaBot CenterRead Section 3.1for more details

2. Java JDK 11 Installation​

Run the installer -openlogic-openjdk-11.0.20 you have downloaded. After that, click "Next" to proceed.

1693904663056-588.png

1772523074597-686.png

  • After Installation is complete, you will see the Complete Notification below. Simply click Finish. You have successfully installed JDK.

1693904326967-726.png

Note: Make sure that JAVA_HOME presents in your environment variables by typing command echo %JAVA_HOME%, the output should be a path that point to jdk 11 ex: C:\Program Files\OpenLogic\jdk-11.0.20.8

3. MySQL installation​

3.1. Install MySQL​

Step 1- Kindly download MySQL 8.0

1772437408190-866.png

Step 2- Run the installer

  • Select "Custom" option and click "Next"

1772437719601-511.png

  • To run akaBot Center, you will need MySQL Server and MySQL Workbench.
  • Under:
    • MySQL Servers > MySQL Server, choose the newest for MySQL Server.
    • Application > MySQL Workbench, choose the newest version for MySQL Workbench

Screenshot_1.png

MY SQL 2.png

  • Click button "Next"

MY SQL3.png

  • After that, kindly click "Execute" and hit "Next"

MY SQL 4.png

  • After products are successfully installed, click "Next " to continue process

1772441172714-108.png

  • When you at the Accounts and Roles page, it is recommended you set it to the default password sis@12345 to avoid having to update the config file later. Click "Next"

1772439437071-858.png

  • Click "Execute" and wait till everything is finished. Click Finish.

1772439474719-293.png

  • If you see this screen, we have successfully finished the installation. Click Finish.

1772441401441-726.png

3.2.Setup MYSQL account to enable remote connection​

Follow these steps to know how to setup remote connection with MySQL. This will help to install MySQL and akaBot Center in separated systems.

Test your MySQL from remote client using MySQL Workbench

  • Open MySQL Workbench in other computer, click to the add connection button (see picture bellowed) to open Setup New Connection window.

1706867096054-795.png

  • Input IP address of MySQL that you want to test, explorer in "HostName"
  • Input your SQLUsername: root
  • Click to Test Connection button
  • After dialog Connect to MySQL Server appears, you enter password (you created in 3.1 >Step 2) for this account then hit ok totest this connection

1772524392234-168.png

  • You will see this dialog if everything is configured successfully.

1772532912080-735.png

  • After connect successful, you can browse remote database in details using MySQL Workbench

3.3. Create MySQL Database for Center​

  • For the new/first-time installation, you must create a new database for your Center.
  • Follow these steps to create a database with the name aka_orchestrator in a machine that is designed to install MySQL Database for Center.

Step 1: Open MySQL Workbench in the machine you want to create a MySQL Database

aaaa.png

  • Open MySQL Workbench, access local instance

b.png

Step 2: Click to (1) to open Create new database dialog

(2) input schema name=aka_orchestrator

(3) input the database name of Center

(4) input Charset =utf8 ,utf8_general_ci.

(5) Hit Apply after you finish all (1) (2) (3) (4).

c.png

Step 3: Hit Apply to create our LMS Database

d.png

Hit Finish

e.png

4. Apache Tomcat installation​

4.1. Install Apache Tomcat​

Apache Tomcat installation:
-Uncheck "Run Apache Tomcat"
-Uncheck "Show Readme"
-Click the "Finish" button to complete the installation.

1772442127295-195.png

1698826414378-509.png

The installation path for Apache Tomcat:%TOMCAT_PATH% = C:\Program Files\Apache Software Foundation\Tomcat 8.5

4.2. Apache Tomcat Configuration​

4.2.1. Configure log settings

Step 1: Open the file %TOMCAT_PATH%\conf\logging.properties

Step 2: Add attributemaxDays to specify the maximum number of days that rotated access logs will be retained for before being deleted for the catalina, localhost, host-manager, manager logs. If not specified, the default value of-1will be used which means never delete old files.

  • Example: keep 10 daysworth of history. Enter:
    • 1catalina.org.apache.juli.AsyncFileHandler.maxDays = 10
    • 2localhost.org.apache.juli.AsyncFileHandler.maxDays = 10
    • 3manager.org.apache.juli.AsyncFileHandler.maxDays = 10
    • 4host-manager.org.apache.juli.AsyncFileHandler.maxDays = 10

1772682379196-293.png

Step 3: Save changes and close the file.

Step 4: Open the file %TOMCAT_PATH%\conf\server.xml

Step 5: Un-Comment the line of log setting to turn on the log and add attribute maxDays as below:

1772529944202-188.png

Note: Only by opening in Notepad, can you edit the .xml file

These following steps illustrate how you can open in Notepad:

  • Click Run as administrator

1772443837379-641.png

  • Navigate to File\Open

1772443919471-532.png

  • Locate to your file in the list, remember select "All files" option

1772444056154-686.png

Step 6: Save changes and close the file

4.2.2. Other settings

Step 1: Navigate to the path %TOMCAT_PATH%\bin and double-click the file Tomcat8w.exe to open the Apache Tomcat Service configuration.

1698826573279-276.png

Step 2: On the General tab

  • Select Startup type: Automatic
  • Choose Apply to apply the configuration changes.

1698826602935-553.png

Step 3: On the Logging tab

(1) Log prefix: Remove "commons-daemon"

(2) Redirect Stdout: Remove "auto"

(3) Redirect Stderror: Remove "auto"

(4) Choose Apply to apply the configuration changes.

1698826668751-847.png

Step 4: On the Java tab

a. Adjust the Java Heap configuration:

  • Initial memory pool: Enter a value <= 1/4of the server's RAM.

Example: Server RAM = 32 GB -> Initial memory pool should be <= 1/4 * 16 * 1024 MB

  • Maximum memory pool: Enter a value <= of the server's RAM.

Example: Server RAM = 32 GB -> Maximum memory pool should be <= * 16 * 1024 MB

Note: If you enter a value that is too large, it may prevent Apache Tomcat service from starting and result in errors.

1698826792581-457.png

b.Choose Apply to apply the configuration changes.

1772532754855-337.png

Step 5: Start the Tomcat Service

On the General tab, select Start to initiate the Apache Tomcat service.

1698826877948-604.png

4.3. Check Apache Tomcat Installation​

Step 1: After installation and configuration, go to the Services screen and check the status of the Apache Tomcat service.

  • If the Status is not Running, start the Apache Tomcat service.
  • If the Status is Running, proceed to step 2.

1699244034878-897.png

Step 2: Access the URL http://localhost:8080 in Chrome to verify the successful installation of Apache Tomcat:

1699244051857-950.png

5. ActiveMQ installation​

5.1. Install ActiveMQ​

Step 1: Extract the file "apache-activemq-5.15.1-bin.zip" to the desired installation path.

For example: ACTIVEMQ_PATH = C:\akaBot\apache-activemq-5.15.1

Note: The installation path should not contain any spaces.

1699244069336-269.png

Step 2: Open Command Prompt with Administrator privileges.

1699244074920-832.png

Step 3: Run the file %ACTIVEMQ_PATH%\bin\win64\InstallService.bat to install the ActiveMQ service.

Run command: C:\Windows\System32>C:\akaBot\apache-activemq-5.15.1\bin\win64\InstallService.bat

1699244080655-576.png

Step 4: Start the ActiveMQ service.

1698830727957-440.png

5.2. Java Heap Configuration​

Step 1: Stop service ActiveMQ

1698830792792-356.png

Step 2: Open the file %ACTIVEMQ_PATH%\bin\win64\wrapper.conf and configure the parameters:

  • wrapper.java.initmemory: Enter the initial value for the Java Heap memory.

For example, if the server has 32 GB of RAM, you can enter 1024.

  • wrapper.java.maxmemory: Enter the maximum value for the Java Heap memory.

For example, with a server having 32 GB of RAM, you can enter 4096.

Step 3: Start ActiveMQ Service

1698830915678-493.png

5.3.Check ActiveMQ Installation​

Step 1: Check the Running status of the ActiveMQ service. If it is not running, start the service.

1698830978699-754.png

Step 2: Access the URL http://localhost:8161 to verify the successful installation of ActiveMQ.

1698831013334-870.png

6. akaBot Center Installation​

Download akaBot-center- 3.x.x.x.war.

6.1. Copy and extract war file​

Step 1: Stop Apache Tomcat service

1698831867557-259.png

Step 2: Delete all folders in %TOMCAT_PATH%/webapps.

Step 3: Copy the file akaBot-center-x.x.x.x.war to the**%TOMCAT_PATH%/webapps/** directory and rename it to ROOT.war.

1698831956427-192.png

Step 4: Restart the Apache Tomcat service and wait for the ROOT.war to be extracted into the ROOT directory.

1698831960528-312.png

Step 5: Stop the Apache Tomcat service.

1698831966006-837.png

6.2. akaBot Center configuration​

6.2.1. Configquartz.properties

Step 1: Stop the Apache Tomcat service (if the Apache Tomcat service is currently running).

Step 2: Modify the configuration in the file %TOMCAT_PATH%/webapps/ROOT/WEB-INF/classes/quartz.properties as follows:

1. Comment out the jobstore configuration for MySSQL.

1772446604326-131.png

2. Remove the "#" character at the beginning of the line for the jobstore configuration for MySQL to uncomment it.

1772446627348-744.png

6.2.2.Configure the MySQL Database Connection

Step 1: Navigate to the path %TOMCAT_PATH%/webapps/ROOT/WEB-INF/classes/config/

Step 2: Modify the configuration in both files: application-dev.yml and application-prod.yml

Remove the # characters at the beginning of the lines to uncomment the configuration and enable MySQL usage. Add the "#" characters at the beginning of the lines to comment out the configuration and disable MSSQL.

  • application-dev.yml

1772507158837-545.png

1772507280528-183.png

  • application-prod.yml

1772507513075-296.png

1772507539912-791.png

6.2.3. Log setting

  1. Open the file %TOMCAT_PATH%/webapps/ROOT/WEB-INF/classes/logback-spring.xml

  2. Change the log level to ERROR

  3. Change the setting in rolling log file as below:

  • maxFileSize: Limit the size of each file. Ex: 200MB.
  • maxHistory: The optional maxHistory property controls the maximum number of archive files to keep. Ex: 20
  • totalSizeCap: The optional totalSizeCap property controls the total size of all archive files. Ex: 20GB

1772507762567-722.png

  1. Save changes and close file

  2. Start the Apache Tomcat service and access http://localhost:8080/ to verify the installation of akaBot Center.

1772507853732-828.png

  1. Log in using the following credentials:
  • username: admin
  • password: admin
  • You will be redirected to the dashboard as shown below.

1772526428540-942.png

7. Troubleshooting​

7.1. ActiveMQ​

7.1.1. Unable to execute Java command

1698833178465-447.png

  • Open the file %ACTIVEMQ_PATH%\bin\win64\wrapper.conf and configure the parameter:

wrapper.java.command=%JAVA_HOME%/bin/java.exe

7.1.2. Other Errors

Please check the error details in the log file of ActiveMQ: %ACTIVEMQ_PATH%\logs\data\wrapper.log

8. Backup for disaster recovery​

Information to be backed up for disaster recovery scenarios:

NoNamePathDescription
1akaBot CenterDatabaseDatabase (MSSQL) of akaBot Center
%TOMCAT_PATH%/filestorageFolder containing .nupkg files from akaBot Studio published to akaBot Center
%TOMCAT_PATH%\webapps\webapps\ROOT\WEB- INF\classes\config\application.yml
%TOMCAT_PATH%\webapps\webapps\ROOT\WEB- INF\classes\config\application-dev.yml
%TOMCAT_PATH%\webapps\webapps\ROOT\WEB- INF\classes\config\application-prod.yml
%TOMCAT_PATH%\webapps\webapps\ROOT\WEB- INF\classes\config\quartz.propertiesConfiguration files for akaBot Center
2activeMQ%ACTIVEMQ_PATH%\dataactiveMQ data directory

9. Activate Licenses

Please follow the instruction via Activation