Red Hat SATELLITE 5.3.0 RELEASE NOTES Información técnica Pagina 96

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 199
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 95
source varDefs.sh
elif [[ -x /root/varDefs.sh ]] ; then
source /root/varDefs.sh
elif [[ -x /root/resources/varDefs.sh ]] ; then
source /root/resources/varDefs.sh
elif [[ -x /root/distro/resources/varDefs.sh ]] ; then
source /root/distro/resources/varDefs.sh
else
echo "didn't find a varDefs.sh file"
fi
#script default values:
HOSTNAME=`hostname`
IP=`ifconfig eth0 | grep 'inet addr' | sed 's/.*inet addr://' | sed 's/ .*//'`
CURR_USER=`whoami`
AUTOINSTALL_WAITTIME=300
UNINSTALL_ONLY=0
RECREATE_USER=0
# JON installation defaults (what user gets created, where JON lands)
JON_ROOT=rhq/
JON_USER=rhq
# Java defaults
JAVA_HOME=/usr/lib/jvm/jre-openjdk
# JON-specific defaults
DB_CONNECTION_URL="jdbc:postgresql:\/\/127.0.0.1:5432\/rhq"
DB_SERVER_NAME="127.0.0.1"
HA_NAME=$HOSTNAME
SAT_SERVER=http://${SAT_FQDN}
JON_URL="$SAT_SERVER/pub/resources/jon-server-2.4.0.GA.zip"
SOA_PI_URL="$SAT_SERVER/pub/resources/jon-plugin-pack-soa-2.4.0.GA.zip"
EWS_PI_URL="$SAT_SERVER/pub/resources/jon-plugin-pack-ews-2.4.0.GA.zip"
EAP_PI_URL="$SAT_SERVER/pub/resources/jon-plugin-pack-eap-2.4.0.GA.zip"
JON_LICENSE_URL="$SAT_SERVER/pub/resources/jon-license.xml"
if [ $CURR_USER != "root" ]; then
echo "You must be logged in as the root user to install JON."
exit 1
fi
function jon_uninstall {
# find service script
echo " * Finding JON/JOPR/RHQ service script location..."
SVC_SCRIPT=`find /etc/init.d/ -iname "*rhq*"`
if [ -z "$SVC_SCRIPT" ]; then
SVC_SCRIPT=`find /etc/init.d/ -iname "*jon*"`
fi
www.redhat.com 96
Vista de pagina 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 198 199

Comentarios a estos manuales

Sin comentarios