Install on Linux
This page explains how to install Mugnsoft components. It provides the download link and the procedure to get your Mugnsoft services up and running on your Debian/Ubuntu, Red Hat/CentOS system (systemd | Upstart | SysV).
Note:
Configure and Install Mugnsoft’s Webserver
Configure and Install Mugnsoft’s Webserver from .tar.gz file
# download the tar.gz file by specifying the version you want
wget https://mugnsoft.com/bin/<version>/mugnsoft-webserver-<version>.linux-amd64.tar.gz
# gunzip and untar the downloaded file and cd into it
tar -xzvf Mugnsoft-webserver-<version>.linux-amd64.tar.gz && cd webserver
# update the API and WEB port in the webserver.json file
vi webserver.json
# proceed with the installation as a service daemon
chmod +x ./webserver && sudo ./webserver install
# start the service and check its status (systemd)
sudo systemctl start MugnsoftWebserver && sudo systemctl status MugnsoftWebserver
# enable the service at startup (systemd)
sudo systemctl enable MugnsoftWebserver && sudo systemctl daemon-reload
Note:
Configure and Install Mugnsoft’s Integrator
Configure and Install Mugnsoft’s Integrator from .tar.gz file
# download the tar.gz file by specifying the version you want
wget https://mugnsoft.com/bin/<version>/mugnsoft-integrator-<version>.linux-amd64.tar.gz
# gunzip and untar the downloaded file and cd into it
tar -xzvf Mugnsoft-integrator-<version>.linux-amd64.tar.gz && cd integrator
# update the API and WEB port in the integrator.json file
vi integrator.json
# proceed with the installation as a service daemon
chmod +x ./integrator && sudo ./integrator install
# start the service and check its status (systemd)
sudo systemctl start MugnsoftIntegrator && sudo systemctl status MugnsoftIntegrator
# enable the service at startup (systemd)
sudo systemctl enable MugnsoftIntegrator && sudo systemctl daemon-reload
Note:
Configure and Install Mugnsoft’s Monitor
Monitor’s pre-requisites overview
We need the following pre-requisites for the monitor component:
- JRE (usually that’s already installed on the monitor host server)
- Mugnsoft IDE plugin for you favorite browser
- Browser’s webdriver
Java: JRE or JDK (Mugnsoft’s Monitor component only)
To execute the monitor scenarii on the Monitor component, you will need a JRE (Java Runtime Engine). The minimum recommended version is JRE8+.
Note:
Usually it is already packaged with your OS, so that you have nothing to do. To check the version, simply open a command prompt and type in java -version.
If not, please download it from here and set up its environment variables:
OS | set environment variables |
---|---|
Windows | set JAVA_HOME=<fullpath-to-jre-or-jdk> set Path= <fullpath-to-jre-or-jdk> \bin;%Path% |
Linux/MAC | export JAVA_HOME=<fullpath-to-jre-or-jdk> export Path= <fullpath-to-jre-or-jdk> \bin:$Path |
Install Browser’s Mugnsoft IDE plugin (Mugnsoft’s Monitor component only)
This plugin is open source and is built and maintained by the Selenium community. It allows for automatic Selenium code generation. We will use it to generate the Selenium scenarii to be played by Mugnsoft’s monitor component.
Browser | plugin URL |
---|---|
Chrome | You can install it from here |
Firefox | You can install it from here |
Browser’s WebDriver (Mugnsoft’s Monitor component only)
In order to execute the monitor scenarii the Monitor component requires you Browser’s webdriver to be downloaded and put in the drivers folder of your Mugnsoft’s monitor component (usually <monitor_installDir\drivers>).
Browser | webdriver | webdriver download URL |
---|---|---|
Chrome | Chromedriver | You can download them here |
Firefox | Geckodriver | You can download them here |
Edge | msedgedriver | You can download them here |
Safari | Built-in (no webdriver required) | - |
Note:
Configure and Install Mugnsoft’s Monitor from .tar.gz file
Now that the pre-requisite have been fullfilled, we can proceed with the same installation as the other components.
# download the tar.gz file by specifying the version you want
wget https://mugnsoft.com/bin/<version>/mugnsoft-monitor-<version>.linux-amd64.tar.gz
# gunzip and untar the downloaded file and cd into it
tar -xzvf Mugnsoft-monitor-<version>.linux-amd64.tar.gz && cd monitor
# update the API and WEB port in the monitor.json file
vi monitor.json
# proceed with the installation as a service daemon
chmod +x ./monitor && sudo ./monitor install
# start the service and check its status (systemd)
sudo systemctl start MugnsoftMonitor && sudo systemctl status MugnsoftMonitor
# enable the service at startup (systemd)
sudo systemctl enable MugnsoftMonitor && sudo systemctl daemon-reload
Note:
Note for all the components:
Each component can be started as the daemon service from the binary itself or be run as a process:
sudo [webserver|monitor|integrator] [start|run]