To install the software, open a terminal and run the following commands:

cd /path_to_unzipped_files_mos-x.x.x.x-full-platform-arch
sudo bash ./install.sh

Enter the administrator password and press Enter then follow the steps suggested by the installation script.

NOTE: rsync is required for successful installation

ABOUT LIBSSL

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.
f 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:

# arm
# 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

# arm64
# 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

# x64
wget http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb
sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb

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).

If you are using a firewall, then you need to allow incoming connections. 

For Linux: 
Open a terminal and run the following commands:
sudo iptables -I INPUT -p tcp --dport 9881 -j ACCEPT # 9881 is the default port for configuration
sudo iptables -I INPUT -p tcp --dport 43043 -j ACCEPT # 43043 is the default port for OPC UA connections

For macOS:
Apple menu -> System Preferences -> Security & Privacy -> Firewall, 
click on the + button and select the ms console executable file (default directory - /Library/Application Support/Monokot/Monokot Server)

If you have any issues, please contact support@monokot.io