#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-378ad31fedc9oglive
parent
df861ef779
commit
f184686da4
|
@ -76,7 +76,12 @@ Instalar OGAgent en cliente modelo
|
||||||
NET START OGAgent
|
NET START OGAgent
|
||||||
|
|
||||||
- macOS:
|
- 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:
|
- Configurar el agente:
|
||||||
sed -i "0,/remote=/ s,remote=.*,remote=https://IPServidorOpenGnsys/opengnsys/rest/," /Applications/OGAgent.app/cfg/ogagent.cfg
|
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):
|
- Iniciar el servicio (se iniciará automáticamente en el proceso de arranque):
|
||||||
|
|
|
@ -6,14 +6,13 @@ BINDIR=/usr/local/bin
|
||||||
INITDIR=/Library/LaunchDaemons
|
INITDIR=/Library/LaunchDaemons
|
||||||
|
|
||||||
# Dependencies:
|
# Dependencies:
|
||||||
#easy_install pip # Si no existe pip.
|
#easy_install pip
|
||||||
# comprobar versión de six, descargar e instalar con easy_install.
|
#pip install netifaces requests six
|
||||||
#easy_install netifaces
|
|
||||||
|
|
||||||
# Copi files.
|
# Copy files.
|
||||||
cp $SRCDIR/ogagent $BINDIR
|
cp $SRCDIR/ogagent $BINDIR
|
||||||
cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
|
cp $SRCDIR/es.opengnsys.ogagent.plist $INITDIR
|
||||||
|
|
||||||
# Show post-install message.
|
# Show post-installation message.
|
||||||
osascript -e 'display notification "You must update Python Six from sourece and install netifaces module." with title "OGAgent Installer'
|
#osascript -e 'display notification "You must install following Python modules: netifaces, requests, six." with title "OGAgent Installer'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue