You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

OCI: How to Disable the Oracle Java Management Service Plugin in Oracle Linux Instances

Applies to:

Oracle Cloud Infrastructure 

Linux x86-64


Goal

How to disable the Oracle Java Management Service plugin in Oracle Linux instances

1) Login to the Instance via ssh

2) Run the following "sed" utility script to disable the Oracle Java Management Service plugin.

$ sudo sed -i.saved -e '/^  oci-jms:/,/^  [az]*:/{s/\(.*disabled:.*\)false/\1true/}' /etc/oracle-cloud-agent/agent.yml

This will update the oci-jms: configuration in the /etc/oracle-cloud-agent/agent.yml file as follows:

Note: The value for the “disabled:” parameter changed from false to true





3) Restart the Oracle Cloud Agent service:

    For Oracle Linux 7 and above:

$ sudo systemctl restart oracle-cloud-agent

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!