To install the server and the server configurator, download the archive corresponding to your operating system and hardware platform architecture and unpack it:
Prerequisites for Windows 7 SP1, ESU:
Prerequisites for Windows 8.1, Windows Server 2012:
To install the server and the server configurator, please run install.bat as an administrator and follow the instructions. If you are using a firewall, then you need to create rules for ports 9881 and 43043. By default, port 9881 is used for server configuration, and port 43043 is used for OPC UA connections.
Make sure that copying files has not been blocked by antivirus
To install the software, open a terminal and run the following commands:
sudo bash ./install.sh
rsync is required for successful installation
Enter the administrator password and press Enter then follow the steps suggested by the installation script. To start the server, you need systemd and launchd for Linux and macOS, respectively. Executable files: Monokot Server - server/mosconsole, Monokot Server Administrator - admin/mosadmin (macOS -> admin/Monokot Server Administrator.app/Contents/MacOS/mosadmin).
On fresh Linux distros (such as Ubuntu 22.04.2), the software does not start due to the incompatibility of the libssl library. The solution below is tested on Ubuntu 22.04.2.
If you have already tried to install the software, then first you need to remove it from the computer, to do this, run the following command:
# Default installation folder /opt/Monokot
sudo rm -rf /opt/Monokot
Next, download and install the missing version of libssl, to do this, run the following commands:
# wget http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_armhf.deb
# sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_armhf.deb
# wget http://ports.ubuntu.com/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_arm64.deb
# sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_arm64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb
and run the installation script again.
If you are using a firewall, then you need to allow incoming connections.
Open a terminal and run the following commands:
sudo iptables -I INPUT -p tcp --dport 9881 -j ACCEPT # 9881 is for configuration
sudo iptables -I INPUT -p tcp --dport 43043 -j ACCEPT # 43043 is for OPC UA clients
Apple menu -> System Preferences -> Security & Privacy -> Firewall, click on the + button and select the mosconsole executable file (default directory - /Library/Application Support/Monokot/Monokot Server)