Install EMCLI For EM12C

The Enterprise Manager Command Line Interface (EM CLI) enables users to access Enterprise Manager functionality through a command-line interface or scripts. It is accessible through classic programming language constructs, enabling tasks to be created and run either from the command-line or programatically. EM CLI enables you to access Enterprise Manager Cloud Control functionality from text-based consoles (shells and command-line windows) for a variety of operating systems.

For Overview and concept about it Read Oracle Documentation Here

The Setup to enable emcli so simple and already provided with Enterprise manager 12c,

From Setup –> Command Line Interface.

After Access Command Line Interface you should be able to install emcli kit by press the below :

Jar File will be installed,Upload it to the server.

Create New Folder On the Server Using :

mkdir /u01/emcli 

Set The Variable:-

export JAVA_HOME=/u01/app/fmw/jdk
export PATH=$JAVA_HOME/bin:$PATH 

Run the Below Command

java -jar emcliadvancedkit.jar client -install_dir=/u01/emcli 

cd /u01/emcli  

emcli setup -url=https://EM12c:7802/em -username=sysman -trustall -autologin

Thank you
Osama Mustafa

One thought on “Install EMCLI For EM12C

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.