Forum Home › Forums › Installation Issues › ebeded system run rapid scada
- This topic has 1 reply, 2 voices, and was last updated 2 years, 1 month ago by
Mikhail.
-
AuthorPosts
-
July 3, 2023 at 12:56 am #12922
lipeng
ParticipantI have compiple mono mod_mono ,and do the follow step but cant run the hello world demo ,does there have a tutorial for compile rapidscada by sorce code and
run it in embemed system, I found the log mod_mono_server4 not run where I can get the source of mod_mono_server4.exe
I1. Copy all the files of Rapid SCADA Mono from the scada folder to /opt/scada
2. Copy the scripts from the daemons folder to /etc/init.d
3. 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/storage4. Make the scripts executable:
sudo chmod +x /opt/scada/make_executable.sh
sudo /opt/scada/make_executable.sh5 get the mono source code cross compile mono
6 get the mod_mono source code corss compile mod_mono (have not find the mod_mono servre4 souce code)
7. Check whether Apache web server already installed or not:
sudo service apache2 statusInstall Apache web server if needed:
sudo apt-get install apache2Note: Apache configuration files are located in /etc/apache2
9. Create a link to the web application files:
sudo ln -s /opt/scada/ScadaWeb /var/www/html/scada
10. Configure the web application.
Copy scada.conf from the apache folder to /etc/apache2/sites-available and run:sudo a2ensite scada.conf
Note:
http://go-mono.com/config-mod-mono/Default.aspx (currently not available) can be used to generate a configuration.
After downloading the configuration file as scada.conf, set the parameter:
MonoServerPath scada “/usr/bin/mod-mono-server4”11. Execute the script to install daemons:
sudo /opt/scada/svc_install.sh
12. In case of using SD card, protect it by moving frequently used folders to RAM.
Skip this step if you use a regular HDD.
Add the lines below to /etc/fstabtmpfs /tmp tmpfs defaults,noatime,size=50m 0 0
tmpfs /var/log tmpfs defaults,noatime,size=25m 0 0
tmpfs /var/log/apache2 tmpfs defaults,noatime,size=25m 0 0
tmpfs /opt/scada/ScadaAgent/Log tmpfs defaults,noatime,size=10m 0 0
tmpfs /opt/scada/ScadaAgent/Temp 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 013. Restart your computer:
sudo reboot
14. Open Webstation (Google Chrome is recommended).
Default login and password are admin/12345http://<Host name or IP address>/scada
15. Check logs in the following locations:
/opt/scada/ScadaAgent/Log
/opt/scada/ScadaComm/Log
/opt/scada/ScadaServer/Log
/opt/scada/ScadaWeb/logthe get i error on emebed device mod_mono_sever4 not run ,
the rapidscada web info not workJuly 3, 2023 at 12:14 pm #12929Mikhail
ModeratorHi,
What Linux version do you use?
May be you should try Rapid SCADA 6 that uses .NET6 instead of Mono.
How to build the project. -
AuthorPosts
- You must be logged in to reply to this topic.