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
sudo chmod +x /opt/scada/make_executable.sh
sudo /opt/scada/make_executable.sh
sudo apt install apt-transport-https dirmngr gnupg ca-certificates
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb https://download.mono-project.com/repo/debian stable-stretch main" | sudo tee /etc/apt/sources.list.d/mono-official-stable.list
sudo apt update
sudo apt-get install mono-complete
sudo service apache2 status
Установить web-сервер apache, если это необходимо:
sudo apt-get install apache2
sudo apt-get install libapache2-mod-mono mono-apache-server4
ln -s /opt/scada/ScadaWeb /var/www/html/scada<
a2ensite scada.conf
<Directory /var/www/html/scada/>
<FilesMatch "\.(xml|log|bak)$">
Require all denied
</FilesMatch>
</Directory>
sudo /opt/scada/svc_install.sh
mpfs /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 0
sudo reboot
/opt/scada/ScadaAgent/Log
/opt/scada/ScadaComm/Log
/opt/scada/ScadaServer/Log
/opt/scada/ScadaWeb/log