On Ubuntu
Preliminary notes
- If the OPSWAT Central Management package dependencies are not installed on your system you may need to have a working Internet connection or you may have to provide the Installation media during the installation.
On Ubuntu system, please follow the below steps to install the OPSWAT Central Management package.
1/ Open the terminal.
2/ Enter the install command (requires sudo privilege):
3/ In order for the OPSWAT Central Management systemd service to locate environment variables such as
http_proxy, the EnvironmentFile setting must be specified in the service file located at /usr/lib/ocm/ocm.service.
a/ Locate the commented out EnvironmentFile settings in /usr/lib/ocm/ocm.service
b/ Uncomment and point the settings to the environment file containing the environment variables. For example:
4/ Please include the environment variables that the OPSWAT Central Management service should use in the content of the environment file. Below is an example of the environment file:
5/ Reload OPSWAT Central Management service for the modification to take effect.
6/ Start OPSWAT Central Central Management via the command (requires sudo privilege):
In case of startup problems, please refer to the startup log in /var/log/ocm or systemd log.