Skip to content

The Scada-LTS installer development project for Windows

License

Notifications You must be signed in to change notification settings

SCADA-LTS/windows-installer

 
 

Repository files navigation

Scada-LTS logo

Installer for Scada-LTS developed with Inno Setup.

If you are looking for the Scada-LTS installer .exe file, see the Scada-LTS repository releases.

The main installer script (Scada-LTS.iss) may be modified and adapted under the terms of the MIT license. The other files in this repository (Tomcat, Scada-LTS Builds, etc) have different licenses.

Feel free to fork this repository and create installers for your own versions of Scada-LTS.

Table of content

IMPORTANT! You need to update windows 7/8/10, otherwise there may be problems with the operation of the MySQL server.

Technology Version Description
Java 11 Base programic language
Dbeaver 23.0.1 Database client
  1. Install Java (Required)
  2. Run installer
  3. Client MySQL - Dbeaver (Optional)

1. Install Java (Required) - ↑↑↑

The base project is written in Java. So to run Scada-LTS you need minmal to install Java Runtime Environment (Java Development Kit - JDK include JRE). If you don't have Java 11 installed, then Download microsoft-jdk-11.0.18-windows-x64.msi file and run;

When installing Java remember to set Will be installed on local hard drive on Set JAVA_HOME variable.

image

2. Run installer - ↑↑↑

  1. Go to releases and then download latest Beta release to desired folder.

    NOTE: There always be two versions of standalone installer, beta and non-beta. For development we recommend using Beta version. Non-beta version might be more stable but may not include some important features that are necessery for development.

  2. Launch the installer.

    NOTE: if blue Windows Defender SmartScreen pop-up appears select "More info" and "Run anyway"

  3. Installer will ask for initial Tomcat configuration. Use example data from below:

image

* Tomcat HTTP Port: `8080`
* Username: `tcUser`
* Password: `tcUser`
  1. Installer will ask for initial for MySQL Server configuration. Use example data from below:

For the correct operation of the Scada-LTS application, a MySQL database server is required so that the application can record data.

Check 'Install local server' if you do not have the MySQL server installed that you want to use with the Scada-LTS application, then the installer will install a local MySQL server. (mark yellow)

image

If you have MySQL server installed, you can leave it by default, if you have it installed and want to use the application with your MySQL server, enter the data for this server.

* Port: `3306`
* Host: `localhost`
* Username: `root`
* Password: `root`

3. Client MySQL - Dbeaver (Optional) - ↑↑↑

  1. Download dbeaver-ce-latest-x86_64-setup.exe and install;
  2. Run dbeaver, and click on 'New Database Connection':

Screenshot 2023-03-25 at 20 52 40

  1. Select MySQL and click 'Next':

db_screen_1

  1. Set port 3308 and click on 'Finish'. If the drivers have not been installed before, the program will suggest downloading and installing, click ok:

db_screen_2

[Archive 13.07.2023] <= v1.0.3 - Table of content

  1. Required installation before running the installer
  1. Run installer
  2. Config Tomcat after running the installer

1. Required installation before running the installer - up

Technology Version Description
Java 11 Base programic language
MySQL 5.7/8.0 Database server for data persistence
Dbeaver 23.0.0 Database client

1.1 Java - up

    The base project is written in Java. So to start development a new features to Scada-LTS you need to install Java Development Kit (JDK). You can do that easily by downloading the valid version from the jdk.java.net website. Then you only need to extract that file and set-up the PATH variable to /bin directory.

  • For windows download version from openjdk-11+28_windows-x64_bin.zip
  • Extract that file in location where you want to keep your Java binaries
    (for example C:\services\java\jdk-11)
  • Set-up the PATH environment variable to bin directory of your installation location
    (for example C:\services\java\jdk-11\bin)
  • Verify that Java is installed correctly, open your terminal and type java -version

1.2. Server MySQL - up

    MySQL must be matching the provided version. If not there will be a problem with establishing the connection from the Scada-LTS application.

  • Use dedicated installer
  • Configure default password to "rootroot" user: "root".

1.3. Client MySQL - Dbeaver - up

  1. Download dbeaver-ce-latest-x86_64-setup.exe and install;
  2. Run dbeaver, and click on 'New Database Connection':

Screenshot 2023-03-25 at 20 52 40

  1. Select MySQL and click 'Next':

Screenshot 2023-03-25 at 20 55 03

  1. Set Password rootroot and click on 'Finish':

Screenshot 2023-03-25 at 20 56 49

  1. Click on 'Create New Database':

Screenshot 2023-03-25 at 20 59 13

  1. Set name "scadalts" and click 'ok':

Screenshot 2023-03-25 at 21 00 03

2. Run installer - up

Download ScadaLTS_v2.6.18_Setup.exe and run;

3. Config Tomcat after running the installer - up

  1. Tomcat stopped;
  2. Change password on "rootroot" in file context.xml, default path: C:\Program Files\Scada-LTS\tomcat\conf\context.xml : Screenshot 2023-03-25 at 19 46 29|320
  3. Started tomcat and it worked perfectly in the url: http://localhost:8080/Scada-LTS

About

The Scada-LTS installer development project for Windows

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • C 59.0%
  • Java 9.6%
  • Batchfile 9.2%
  • Shell 9.0%
  • Perl 5.4%
  • Inno Setup 5.4%
  • Other 2.4%