thainnos / LICSTER

A Low-cost ICS Security Testbed for Education and Research
Other
100 stars 33 forks source link

Missing steps in SCADA installation README #41

Closed minkione closed 3 years ago

minkione commented 3 years ago

In https://github.com/hsainnos/LICSTER/blob/master/devices/scada/README.md#install-mysql-server sudo vim /opt/scadalts/apache-tomcat-7.0.81/webapps/ScadaBR/WEB-INF/classes/env.properties

But nowhere was mentioned before to create/download ScadaBR (without mentioning that /opt/scadalts/apache-tomcat-7.0.xx is different than the directory before mentioned in the README....

sudo mkdir /opt/tomcat
cd /opt/tomcat

image


root@raspberrypi:/opt/tomcat/apache-tomcat-7.0.106/webapps# ll
total 20
drwxr-x--- 14 root root 4096 Sep 24 20:29 docs
drwxr-x---  7 root root 4096 Sep 24 20:29 examples
drwxr-x---  5 root root 4096 Sep 24 20:29 host-manager
drwxr-x---  5 root root 4096 Sep 24 20:29 manager
drwxr-x---  3 root root 4096 Sep 24 20:29 ROOT

P.S. the version 7.0.81 is not available anymore at that URL. Here the latest version:https://apache.lauf-forum.at/tomcat/tomcat-7/v7.0.106/bin/apache-tomcat-7.0.106.tar.gz

mniedermaier commented 3 years ago

Hmmm yes I think this is a problem of SCADA-BR/LTS with the dependency of tomcat-7... And also, that the versions of tomact are not compatible with each other. I also struggled a lot, because the documentation (https://github.com/SCADA-LTS/Scada-LTS#second-option) is very short.

My suggestion is, that you skip the SCADA system at the moment and I will fix the problem within our Raspberry Pi image. Currently I am uploading a new Raspberry Pi image of the SCADA to Github. I hope this will work on your setup.

minkione commented 3 years ago

roger that. will continue with the rest then. Thanks again btw!

mniedermaier commented 3 years ago

Current workaround to use provided SCADA images

https://github.com/hsainnos/LICSTER/issues/40#issuecomment-698565924

mniedermaier commented 3 years ago

I now have setup a complete new SCADA-LTS image and also updated the documentation (1afd7a5). With this steps it should be possible to setup the SCADA-LTS from scratch. However, this should not be the preferred method.

minkione commented 3 years ago

I guess we can close this too.