Introduction
En este post se muestra cómo instalar Rapid SCADA en un  Touchberry Pi 10.1″, BananaTouch Octacore M3 10.1″, BananaTouch M64 10.1″ y TouchBerry Pi 7″.
Estos productos utilizan una Raspberry Pi 3 oficial o un producto Banana Pi oficial. Estos productos tienen instalado un Linux Debian Jessie. Por lo tanto, en este post, vamos a ver cómo instalar Rapid SCADA en este sistema operativo.  Rapid SCADA es un software SCADA gratuito, de código abierto y con todas las funciones.Â
Requisitos
Panel PCÂ Â Â
Implementación
Este post está dividido en tres secciones: cómo instalar Rapid SCADA, cómo configurar Rapid SCADA y cómo visualizar en el Touch.
Cómo instalar Rapid SCADA
A continuación encontrarás una guÃa paso a paso para instalar y ejecutar el Rapid Scada en tus dispositivos Pi Industrial Shields:
- Download Rapid SCADA 5.2.1 Mono. Descomprime el archivo en el Touch.Â
- Descomprime y copia todos los archivos de Rapid SCADA Mono de la carpeta SCADA a /opt/scada y copia los scripts de la carpeta daemons a /etc/init.dÂ
- Grant full access to the following folders of the Webstation application:
sudo chmod -R ugo+rwx /opt/scada/ScadaWeb/config
sudo chmod -R ugo+rwx /opt/scada/ScadaWeb/log
sudo chmod -R ugo+rwx /opt/scada/ScadaWeb/storage - Â Make the scripts executable:
sudo chmod +x /opt/scada/make_executable.sh
sudo /opt/scada/make_executable.sh - Add the Mono repository to your system. Go to the following link and go to the Linux and then Raspbian tab. In this, run the commands for Raspbian 10 and follow all three steps.
https://www.mono-project.com/download/stable/#download-lin - Install Mono .NET Framework:
sudo apt-get install mono-complete
- Check whether Apache web server already installed or not:If not, install it:
sudo service apache2 status
sudo apt-get install apache2
- Install other required modules:
sudo apt-get install libapache2-mod-mono mono-apache-server4
- Create a link to the web application files:
sudo ln -s /opt/scada/ScadaWeb /var/www/html/scada
- Configure the web application:Â
To do that, you will have to copy the scada.conf file from the unzipped folder to the apache folder /etc/apache2/sites-available and run:sudo a2ensite scada.conf
- Execute the script to install daemons:
sudo /opt/scada/svc_install.sh
sudo chmod +x ./svc_install.sh
- Â In case of using an SD card, protect it by moving frequently used folders to RAM. Add the lines below to /etc/fstab
tmpfs      /tmp            tmpfs  defaults,noatime,size=50m   0  0
tmpfs      /var/log          tmpfs  defaults,noatime,size=50m   0  0
tmpfs      /opt/scada/ScadaComm/Log  tmpfs  defaults,noatime,size=100m  0  0
tmpfs      /opt/scada/ScadaServer/Log tmpfs  defaults,noatime,size=10m   0  0
tmpfs      /opt/scada/ScadaWeb/log   tmpfs  defaults,noatime,size=10m   0  0
tmpfs      /opt/scada/ArchiveDAT/Cur  tmpfs  defaults,noatime,size=10m   0  0
- After these steps, our Touch is all set for use Rapid SCADA. Just reboot the Touch for this change to take effect, typing on the terminal:
sudo reboot
- Open Webstation (Google Chrome is recommended). Default login and password are admin/12345Â Â
http://<Host name or IP address>/scada - Check Rapid SCADA operating using log files located in:
/opt/scada/ScadaAgent/Log
/opt/scada/ScadaComm/Log
/opt/scada/ScadaServer/Log
/opt/scada/ScadaWeb/log
Once this is done, you should be able to run the Rapid SCADA successfully.Â
Cómo instalar y utilizar Rapid Scada en Touchberry Pi y BananaTouch