Red Hat SATELLITE 5.1.0 RELEASE NOTES Especificaciones Pagina 126

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 137
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 125
echo " - Specified JON local user does not exist; hence, it will be created."
RECREATE_USER=1
fi
# get jon and pop it into a new jon user directory
echo " * Purging any old installs and downloading JON..."
# jon_uninstall
if [ $RECREATE_USER -eq 1 ]; then
userdel -f $JON_USER
rm -rf /home/$JON_USER
useradd $JON_USER -p $1$1o751Xnc$kmQKHj6gtZ50IILNkHkkF0
# mkdir /home/$JON_USER/$JON_ROOT
# chown ${JON_USER}.${JON_USER} /home/$JON_USER/$JON_ROOT
fi
echo wget $SOA_PI_URL -O ./jon_soa_plugin.zip
wget $SOA_PI_URL -O ./jon_soa_plugin.zip
echo wget $EAP_PI_URL -O ./jon_eap_plugin.zip
wget $EAP_PI_URL -O ./jon_eap_plugin.zip
echo wget $EWS_PI_URL -O ./jon_ews_plugin.zip
wget $EWS_PI_URL -O ./jon_ews_plugin.zip
echo wget $JON_URL -O ./jon.zip
wget $JON_URL -O ./jon.zip
chown $JON_USER ./jon_soa_plugin.zip
chown $JON_USER ./jon_eap_plugin.zip
chown $JON_USER ./jon_ews_plugin.zip
chown $JON_USER ./jon.zip
mv ./jon.zip /home/$JON_USER
mv ./jon_soa_plugin.zip /home/$JON_USER
mv ./jon_eap_plugin.zip /home/$JON_USER
mv ./jon_ews_plugin.zip /home/$JON_USER
# start postgres
echo " * Configuring Postgres..."
service postgresql initdb
service postgresql start
# rig postgres
su - postgres -c "psql -c \"CREATE USER rhqadmin WITH PASSWORD 'rhqadmin';\""
su - postgres -c "psql -c \"CREATE DATABASE rhq;\""
su - postgres -c "psql -c \"GRANT ALL PRIVILEGES ON DATABASE rhq to rhqadmin;\""
echo "
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# \"local\" is for Unix domain socket connections only
local all all trust
www.redhat.com 126
Vista de pagina 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 136 137

Comentarios a estos manuales

Sin comentarios