由于使用开源rapidscada 系统,为了方便linux 部署,自己将rapidscada相关依赖环境 比如mono,apache打包为docker 镜像以方便使用。具体按照以下步骤即可成功部署rapidscada。
百度网盘:
链接:https://pan.baidu.com/s/1f_XibT1V8f-6LE1DMBzsLg
提取码:48b7
- Copy all the files of Rapid SCADA Mono from the scada folder to /opt/scada
- 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
4.导入rapidscadaMono docker镜像
docker load -i rapidscadamono.tar
5.运行镜像
docker run -it -d –name mono –privileged=true -p 8080:80 -v /opt/scada:/opt/scada rapidscadamono:v1.0 bash
6.进入容器:
docker exec -it mono bash
7.进入/opt/scada目录
执行./scadarestart.sh脚本 启动scada服务
8 .使能站点
a2ensite scada.conf
9 启动服务器
service apache2 restart
10 .登录ip x.x.x.x:8080/scada
I think this is a real great blog. Much thanks again. Want more. Minta Farrell Ethbinium Caty Joshua Schoenberg
I enjoy reading a post that can make men and women think. Also, many thanks for allowing me to comment! Dalila Chaunce Leoline
Wow, this article is good, my younger sister is analyzing such things, therefore I am going to convey her. Suellen Christoforo Jovia
Some genuinely excellent articles on this internet site , appreciate it for contribution. Hollyanne Miles Mandle
Wow, awesome blog layout! How long have you been blogging for? you made running a blog look easy. The entire look of your website is wonderful, as smartly as the content material! Crystal Traver Fagan
I know this website provides quality dependent content and extra information, is there any other web page which gives these kinds of things in quality? Ansley Callean Bolanger