Here is a script to install a the emcc agent automatically, via rpm.
As a prerequisite, the rpm must has been built and could be pulled from somewhere via http.
As root:
rm oracle-agt-13.2.0.0.0-1.0.x86_64.rpm* wget http://where_do_i_can_pull_the_rpm/oracle-agt-13.2.0.0.0-1.0.x86_64.rpm rpm -e oracle-agt-13.2.0.0.0-1.0.x86_64 rm -fr /u01/app/emagent/* rm -fr /u01/app/emagent/agent_inst/* rpm -ivh oracle-agt-13.2.0.0.0-1.0.x86_64.rpm --relocate /usr/lib/oracle/agent=/u01/app/emagent echo " OMS_HOST=<my_oms_host> OMS_PORT=443 AGENT_REGISTRATION_PASSWORD=<welcome1> #------------------------------------------------------------------------------- AGENT_USERNAME=emagent AGENT_GROUP=dba AGENT_PORT=3879 #------------------------------------------------------------------------------- ORACLE_HOSTNAME=<myhost_where_the_agent_is_getting_deployed> AGENT_INSTANCE_HOME=/01/app/emagent/agent_inst" >/u01/app/emagent/agent.properties /etc/init.d/oracle-agt RESPONSE_FILE=/u01/app/emagent/agent.properties /u01/app/emagent/agent_13.2.0.0.0/root.sh