Foro de Linux - Gustavo Guillermo Software Compunauta Micro Linux (uLinux)
BUZÓN de CONSULTAS y COMENTARIOS | TEMARIO PRINCIPAL

[Gnupérnico II - MetaBuscador]


Configurar IMC - Archivos de configuración


GENERALIDADES

A continuación se detallan el contenido de los archivos de configuración, aunque se describen por si solos.


setup/setup.info

#Comment
#Comentario


#some blank lines

#fromdir,todir
#fromdir is in installdir, and todir will be created in target dir.
#fromdir will be elimanitaed from pathname and todir is used as well.
#Then if todir is null or fromdir is null then is asumed all to target.
#this: "," makes an exact copy of installation media, you can use lang codes

$FROMDIR$/bin,$TODIR$/bin
$FROMDIR$/dataserver,$TODIR$/dataserver

@license=$FROMDIR$/setup/license.include
@beforeinstall=$FROMDIR$/setup/beforeinstall.include.$LANG$.$ENVIRON$

#$LANG$ will be replaced with "es" or "en" or "pt" or "ru" or etc. etc.
#$ENVIRON$ will be replaced with "l" for linux, "w" for windows, "s" for solaris


#this next two VARS is intented only for special script launching on
#particular os platform, please don't use it for copy statments, because
#is assumed and you get an error.

#$FROMDIR$ will be replaced with destination directory
#$TODIR$ will be replaced with destination directory

$FROMDIR$/setup/license.include,$TODIR$/licencia.$LANG$

#@include,filename: will be treated as include statment that allows you
#to include other installation file, if the file was not found, then tries
#to load include.default, if you don't like to load include.default, use:

#@ninclude,filename: if the file was not found, then does nothing.

#@exec,statment: executes any command on local os environment, please
#use $ENVIRON$ var to choose particular scripts and of course put them on
#include file, include files will be parsed at the same time of the declaration
#is readed from the caller file, then if include file call other file
#the original caller get the control when all the other ones finish.
#exec command will be performed at the end of copying.


#$DBUSERNAME$ is replaced with username choosed on instalation
#$DBNAME$ is replaced with Data Base Name on installer options
#$DBPASSWORD$ is replaced with password for dbuser

@exec,freeamp
@exec,/usr/X11/bin/xterm
@exec,xterm

La sentencia @exec, puede ser incluida en cualquier archivo, incluso los de los componentes opcionales, al final de la copia de archivos, estos serán los programas postinstall. Para que se ejecuten archivos diferentes en sistemas diferentes, se debe hacer algo como lo que aparece en el componente opcional para la máquina virtulal de Java que se muestra más abajo.


setup/optional/

Contiene tres archivos de ejemplo.

Algo Importante.include.selected
@deflang=en
@es=Algo importante
@en=Something important
@ru=jjkfjhhfh fdjkghlkdf
JavaVirtualMachine.include.noselected
@deflang=es
@es=Instalar la máquina virtual de java
@en=Install The Java Virtual Machine
@include,$FROMDIR$/setup/os/jvm.$ENVIRON$

La última línea hace referencia a una carpeta dentro de la carpeta setup que supuestamente debe tener el archivo jvm.l o jvm.w dependiendo del sistema operativo en el cual se instalará este componente opcional, es decir, permite seleccionar la máquina virtual correcta

setup/os/jvm.l
$FROMDIR$/j2re1.4.l,$TODIR$/j2re1.4.l
setup/os/jvm.w
$FROMDIR$/j2re1.4.w,$TODIR$/j2re1.4.w
nada en especial.include.noselected
@es=Nada Especial
@en=Nothing special

Esta copnfiguración produce la salida de componentes opcionales mostrada en la sección anterior

Componentes Opcionales

Para descargar este instalador GNU, IMC, puede hacerlo en la próxima página o puede descargar las ISOS para cdrecord o Nero Burning Rom de GADMIN, el sistema administrativo GNU de COMPUNAUTA que usa este instalador.


|Contrate Nuestra asesoría, instalación y cursos en Sistemas Linux, Redes, etc. Acerca de este sitio web Webmaster | Volver Al Inicio | Compunauta Micro Linux (uLinux) El servidor en CD, sin innstalación. |