Jean Júnio de Assis Pereira
editted by Admin: Post translated from Portuguese. Please keep all posts in English so all users can benefit 
I would like to know if I should install ScadaBR on Raspberry or in another computer. It was not clear to me the right place to install it. Can you help me?
Quote 0 0
thiagoralves
ScadaBR can run on both (Raspberry and a PC), however, installing it on a Raspberry is a very complicated process and I don't recommend. The installation image from the website is to be used on a computer. Just follow the instructions ( http://www.openplcproject.com/reference-installing-scadabr ) to download and install VirtualBox and the ScadaBR image on your PC. Once everything is installed, you can use ScadaBR to communicate with OpenPLC running on any device (Raspberry Pi, PC, UniPi, etc..) as long as your device is available on the network
Quote 0 0
Thn
Hi,

What procedure did you follow to install Scadabr in your VM.

I tried to install it on UBUNTU 18.04 LTS server, but it does'nt work


I tried this link :
http://forum.scadabr.com.br/t/scadabr-install-guide-for-a-fresh-install-of-ubuntu-64bit-server-headless-version-16-04-3-using-mariadb-mysql-as-the-database-also-works-on-raspberry-pi-3/1543
(Tomcat works, but he does't find Scadabr)
Quote 0 0
Robert Lewczuk
Finally got ScadaBR on the RPI4!! Kudos to this guy here! No longer need to have laptop running virtual machine to access.

http://forum.scadabr.com.br/t/instacao-do-scadabr-para-ubuntu-mate-desktop-e-raspberry-e-raspbian-buster-desktop-com-tomcat7/2979

The first time failed so I retried with a FRESH raspbian install. Brand new OS.

Then simply ran these four lines of code 

# sudo su
# wget https://sourceforge.net/projects/scada-tomcat7/files/scadabr.sh
# chmod +x scadabr.sh
# ./ scadabr.sh
Quote 0 0
thiagoralves
This is awesome! I’ll test it on my setup as well, and if it works I’ll include this script on the installer I provide on the OpenPLC website
Quote 0 0
Robert Lewczuk

39A2F928-8C65-4A54-B4D1-E0377453038A.jpeg



one very important Step I forgot to mention is you need to change the port on open plc to 8081 as you described in another thread ;-) thank you again

Quote 0 0
Logopaede
Hey, tested it. Works on my raspi4. No fresh OS install needed, I just updated the raspbian buster with apt-get dist-upgrade as usual.
Thanks Robert!
One small mistake, "./ scadabr.sh" should be "./scadabr.sh".

Before the installation of ScadaBR I changed the listen port of the OpenPLC runtime from 8080->8081 in ~/OpenPLC_v3/webserver/ webserver.py (like Thiago mentioned somewhere):
app.run(debug=False, host='0.0.0.0', threaded=True, port=8081)


Excellent for testing to have OpenPLC and ScadaBR running on one Pi4 now!
Kind regards
Quote 0 0