#!/usr/bin/bash # this is the RHEL/CentOS installer # Don't forget to make this file executable #The name of the latest Unix agent install tarball file export agentTarball=sb-7.6.0.0-linux-4-x86_64-deb.tar.Z #The name of the first machine that hosts the OMS export omsServer_1=p-ubuntu-norco #The linux user name export userName=opswise #The linux group name. export groupName=opswise #The OMS port export omsServerPort=7878 export omsServers=${omsServerPort}@${omsServer_1} #export args="--user ${userName} --create_user yes --group ${groupName} --create_group yes --network_provider oms --oms_servers ${omsServers} --uag_autostart yes --python yes --register_ubrokerd yes" export args="--user ${userName} --create_user yes --group ${groupName} --create_group yes --oms_servers ${omsServers} --uag_autostart yes --python yes --register_ubrokerd yes" echo "Decompressing the [${agentTarball}] tarball..." zcat ./${agentTarball} | tar -xvf - echo "Beginning install..." echo "arg=[${args}]" bash ./unvinst ${args} echo "Finished install." #The following doesn't seem to work #echo "Now enabling ubrokerd service to start when the system starts..." #chkconfig --level 345 ubrokerd on #echo "Now displaying all services" #chkconfig --level 345 --list