openSCADA can be installed using apt on Ubuntu. All you need to start is Ubuntu 12.04 LTS 64bit. It is best to use the server edition although all other versions will work as well. It does not matter which software components are selected during the initial installation since all further dependencies are defined by the openSCADA debian packages and will therefor be automatically installed using the "apt" software system.
Create a new file apt sources file in "
/etc/apt/sources.list.d" called "
openscada.list" with the following content:
or with the following content if you like to use the nightly builds:
After the sources file has been added call
and use aptitude or synaptic to search for "
Before any of the drivers from the "
org.openscada.drivers.common" package can be started a configuration must be created. For each driver the configuration file is called "
exporter.xml" and located in the appropriate driver directory e.g. "
/etc/openscada/drivers/<DRIVER>/exporter.xml". So for the "
exec" driver instance this would be "
The configuration is a custom thing and there is no such thing as a "default". However there are XML schema files installed by the packages which aid in creating the configuration manually and in addition each driver instance has a sample files named "
exporter.sample.xml" which can be used as a start.
openSCADA is started using upstart. Check out directory "
/etc/init" for configurations that contain "openscada" in the name.
For example the "
exec" driver can be started using "
sudo start openscada.exec".
After a driver instance was started the OSTC application can be used to connect to it. The connection URI is defined in the "
exporter.xml" file of each driver instance. And endpoint address in the file of "0.0.0.0" names the "any" interface which binds to all interfaces on the local (driver) host. So in order to connect an IP address of the host computer (where the driver is running) must be used instead of "0.0.0.0" in order to connect.
Currently the apt repository suffers from:
- The lack of signed packages. This will cause apt to warn you about unsigned packages.
- That some packages are only available in the "unstable" repository