Install on Linux
This article provides commands for Ubuntu and Debian operating systems. When installing Rapid SCADA on other OS of the Linux family, use the appropriate commands.
Installation
-
Install ASP.NET Core Runtime 8.0.x according to the instructions.
If installation of .NET from the repository is not possible, the manual installation sequence is as follows:
- Download .NET binaries corresponding to the operating system from this link.
- Extract and copy the downloaded files to
/usr/share/dotnet/
-
Make the
dotnet
file executable:sudo chmod +x /usr/share/dotnet/dotnet
-
Create a link to the
dotnet
file:sudo ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet
-
Install Rapid SCADA from the package (option 1)
sudo dpkg -i rapidscada_VERSION_all.deb
-
Install Rapid SCADA manually (option 2)
- Copy the extracted files from the
scada
folder to/opt/scada
-
Make the scripts executable:
sudo chmod +x /opt/scada/make_executable.sh sudo /opt/scada/make_executable.sh
- Copy the extracted files from the
daemons
folder to/etc/systemd/system
-
Enable daemons:
sudo systemctl enable scadaagent6.service sudo systemctl enable scadaserver6.service sudo systemctl enable scadacomm6.service sudo systemctl enable scadaweb6.service
- Copy the extracted files from the
-
Create a RAM drive for writing logs:
-
Create a log directory:
sudo mkdir /var/log/scada
-
Make a backup copy the
/etc/fstab
file, and add the following line to the filetmpfs /var/log/scada tmpfs defaults,noatime,size=100m 0 0
-
Create a log directory:
-
Install and setup Nginx:
-
Install Nginx using the instructions:
link 1,
link 2,
link 3.
Installation commands:
sudo apt update sudo apt install nginx
-
Create a self-signed certificate:
sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt
- Copy the extracted file
nginx/default
to/etc/nginx/sites-available
after saving a backup copy of the existing file.
-
Install Nginx using the instructions:
link 1,
link 2,
link 3.
Installation commands:
-
Restart the computer:
sudo reboot
-
After restart, open http://localhost or http://SERVER_IP in a web browser.
Username: admin
Password: scada
Uninstallation
- Restore the original file
/etc/fstab
-
If Rapid SCADA was installed from the package:
sudo dpkg -r rapidscada
-
If Rapid SCADA was installed manually:
-
Disable daemons:
sudo systemctl disable scadaagent6.service sudo systemctl disable scadaserver6.service sudo systemctl disable scadacomm6.service sudo systemctl disable scadaweb6.service
- Remove the previously added daemon files from
/etc/systemd/system
- Delete
/opt/scada
directory with all contents.
-
Disable daemons:
- Remove Nginx and .NET if necessary.