Note!! Please register for a free account to access the full content and also to participate in Q&A in the community
Get Started with Redwood: Oracle Cloud SCM and Purchasing
OCI: How to Disable the Oracle Java Management Service Plugin in Oracle Linux Instances
in Linux
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
Tagged:
0