#718: Actualizar instrucciones y preparar postconfiguración para OGAgent de macOS.

git-svn-id: https://opengnsys.es/svn/branches/version1.1@5212 a21b9725-9963-47de-94b9-378ad31fedc9
oglive
ramon 2017-02-22 10:19:07 +00:00
parent df861ef779
commit f184686da4
2 changed files with 11 additions and 7 deletions

View File

@ -76,7 +76,12 @@ Instalar OGAgent en cliente modelo
NET START OGAgent
- macOS:
Descargar el paquete y usar Finder pulsando sobre el fichero para instalarlo.
- Instalar dependencias:
sudo easy_install pip
sudo pip install netifaces requests six
- Puede ser necesario activar descargas desde cualquier sitio en Menú /
Preferencias del sistema / Seguridad y privacidad / Pestaña General.
- Descargar el paquete y usar Finder pulsando sobre el fichero para instalarlo.
- Configurar el agente:
sed -i "0,/remote=/ s,remote=.*,remote=https://IPServidorOpenGnsys/opengnsys/rest/," /Applications/OGAgent.app/cfg/ogagent.cfg
- Iniciar el servicio (se iniciará automáticamente en el proceso de arranque):

View File

@ -6,14 +6,13 @@ BINDIR=/usr/local/bin
INITDIR=/Library/LaunchDaemons
# Dependencies:
#easy_install pip # Si no existe pip.
# comprobar versión de six, descargar e instalar con easy_install.
#easy_install netifaces
#easy_install pip
#pip install netifaces requests six
# Copi files.
# Copy files.
cp $SRCDIR/ogagent $BINDIR
cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
# Show post-install message.
osascript -e 'display notification "You must update Python Six from sourece and install netifaces module." with title "OGAgent Installer'
# Show post-installation message.
#osascript -e 'display notification "You must install following Python modules: netifaces, requests, six." with title "OGAgent Installer'