cp Oracle.pm /usr/local/soap/easyagent/ chown easyagnt:easyagnt /usr/local/soap/easyagent/Oracle.pm /usr/sbin/usermod -aG oinstall easyagnt touch /usr/local/soap/etc/oracle chown easyagnt:easyagnt /usr/local/soap/etc/oracle ## use the correct password and instance name for your database echo "dp_mon:Hea6ExadaH:gttotp2" >> /usr/local/soap/etc/oracle cd easyagent/ ls doit.sh easyagent.sh easyagent-tcp environment cp environment /usr/local/soap/etc cp easyagent.sh /usr/local/soap/bin cp easyagent-tcp /etc/init.d cd /usr/local/soap/etc chown easyagnt:easyagnt environment ## update environment to use your ORACLE_HOME vi environment cd /usr/local/soap/bin/ chmod 755 easyagent.sh ## Restart easyagent /etc/init.d/easyagent-tcp stop /etc/init.d/easyagent-tcp start ## for 11gR2 you will need to do one of the following ## update $ORACLE_HOME/network/admin/tnsnames.ora ## OR ## create a /usr/local/soap/.tnsnames.ora (especially if there is more than on database) WNPDEV1 = (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = stage-rac11)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = WNPDEV) (SID = WNPDEV1) ) )