daily pastebin goal
10%
SHARE
TWEET

IM2.0 Install - InstallDC

sweenig Apr 25th, 2014 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #echo "Updating the system..."
  2. #yum -y update
  3. echo "Installing missing libraries..."
  4. yum -y install glibc.i686 unzip bc sudo libstdc++-4.4.6-4.el6.i686
  5. echo "Making CentOS look like RHEL 5.8..."
  6. echo "Red Hat Enterprise Linux Server release 5.8 (Tikanga)" > /etc/redhat-release
  7. echo "Disabling SELinux..."
  8. cat /etc/selinux/config | sed -e 's/SELINUX=.*/SELINUX=disabled/' > /etc/selinux/config
  9. echo "Downloading the installer..."
  10. curl -# -o /opt/CA/install.bin http://192.168.1.20:8581/dcm/InstData/Linux/VM/install.bin
  11. echo "Setting up the installation..."
  12. chmod u+x /opt/CA/install.bin #change permissions
  13. echo 'USER_INSTALL_DIR=/opt/IMDataCollector
  14. IM_MAX_MEM=\"1G\"
  15. IM_MAX_MEM_1=1G
  16. DM_HOST=\"192.168.1.20\"
  17. DM_HOST_1=192.168.1.20
  18. USER_INPUT_RESULTS=\"Yes\",\"\"
  19. -fileOverwrite_/opt/IMDataCollector/Uninstall/Uninstall.lax=Yes
  20. -fileOverwrite_/opt/IMDataCollector/Uninstall/inst_dcmd=Yes
  21. -fileOverwrite_/opt/IMDataCollector/ICMPD/icmpd=Yes
  22. -fileOverwrite_/opt/IMDataCollector/ICMPD/IcmpDaemon=Yes
  23. -fileOverwrite_/opt/IMDataCollector/ICMPD/libGlobl.so.1=Yes
  24. -fileOverwrite_/opt/IMDataCollector/ICMPD/libicmpserv.so.1=Yes
  25. -fileOverwrite_/opt/IMDataCollector/ICMPD/libpcre.so.0=Yes
  26. -fileOverwrite_/opt/IMDataCollector/ICMPD/libPort.so.1=Yes
  27. -fileOverwrite_/opt/IMDataCollector/ICMPD/libSpectrumVersion.so.1=Yes
  28. -fileOverwrite_/opt/IMDataCollector/ICMPD/libVPapi.so.1=Yes
  29. -fileOverwrite_/opt/IMDataCollector/apache-karaf.zip=Yes
  30. -fileOverwrite_/opt/IMDataCollector/maven_repository.zip=Yes
  31. -fileOverwrite_/opt/IMDataCollector/caim_thirdpartycontent.txt=Yes
  32. -fileOverwrite_/opt/IMDataCollector/.dc_version.properties=Yes
  33. -fileOverwrite_/opt/DCM.cfg=Yes
  34. -fileOverwrite_/opt/dcmd=Yes' > /opt/CA/DCinstaller.properties #create the installer file
  35. echo "Installing the Data Collector..."
  36. /opt/CA/install.bin -i silent -f /opt/CA/DCinstaller.properties #install the dc
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top