Installation on Linux
Last updated
Last updated
The installation instructions given here are done on Linux Mint 19 Cinnamon Edition. You can follow the same instructions for other versions. Check that you have an Internet connection and follow the instructions below.
Let's start by getting updates from our package list.
Let's get the current repository for Java 8.
Now, begin the Java 8 open JDK installation.
After completing the Java 8 installation, please note that our operating system already has the latest version of Java installed. We need to select the version of Java 8 as a default on our operating system. To do this use the following command;
After this command, you will need to select the version of Java you want to use. You will see an output as shown in the example below.
Just enter the selection number for the Java 8 version you have installed and press enter.
Use the java version command to make sure that java is installed correctly. You will see an output as follows.
After completing the Java 8 installation, the environment variables "JAVA_HOME, LD_LIBRARY_PATH" must be set. To do this, we must set it in the "/etc/enviroment" file so that our environment variables are set each time our system is turned on. There are two ways to do this;
veya
After setting our environment variables, you can restart your system to install or execute the below command;
Use the following commands to see if the environment variables are set correctly.
So far we have completed Java 8 installation. Now we need to install the PostgreSQL database.
To begin installing PostgreSQL 9.6, we must first add the PostgreSQL 9.6 download repository to our package list. To do this, follow the instructions in order.
After the installation process is completed we need to create a username and password.
After these commands, you have completed the installation of PostgreSQL 9.6. Use the following command to test whether PostgreSQL is running.
We have completed the installation of PostgreSQL 9.6.
Timeseries database influxDB installation;
We need to install redis, another important component for inSCADA. To do this;
For inSCADA installation, create a folder in /opt/ folder with the name "inscada" and install it in this folder. We will also install the DNP3 protocol by following the commands below.
Download the file named inscada.sh from the link below and move it to the /opt/inscada/ folder.
Use the following command to make the inscada.sh file executable.
Download the file named inscada.service from the link below and move it to the /etc/systemd/system/ folder.
To introduce our service definition to the system, follow the commands below.
You have run inSCADA. Finally, you can give the following command to see if it started correctly.
Congratulations you can now start using inSCADA. Please log in by typing 'https://localhost: 8082' into your Chrome browser.
You may experience problems with some of the above instructions due to removal or modification of the repository links. You can get support from their own support pages or forms for the part you want to download.
You may need to update your fonts on your operating system. To do this, follow the instructions below.