Linux and macOS install scripts

Modified on Sun, 14 Sep at 2:26 PM

Linux

To install and configure a Linux Host automatically via script, install and configure one Host manually, this will generate the custom host.xml and host.lic files with the desired settings for the production environment (the XML’s will be saved in /var/opt/netop/host/).

Then create an install script as follows (running as sudo):

perl install.pl –serial <serial_number_for_the_host>

service netophostd stop

cp host.xml /var/opt/netop/host/host.xml

service netophostd start

Mac

Copy from a machine that is manually configured using these 2 files in 

/Library/Application Support/Netop/host/

host.xml contains the running configuration.

host.lic contains the license.

In order to stop and start the Host In your script run the following commands:

launchctl unload -S Aqua /Library/LaunchAgents/com.netop.GUIAgent.plist

launchctl load -S Aqua /Library/LaunchAgents/com.netop.GUIAgent.plist

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article