source: admin/Database/ogAdmBD.sql @ b83843c

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since b83843c was 40ad2e8d, checked in by ramon <ramongomez@…>, 13 years ago

Versión 1.0.4, #525: Incluir modificaciones de la BD y cambios en función ogBoot.

git-svn-id: https://opengnsys.es/svn/branches/version1.0@2986 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 35.0 KB
Line 
1-- phpMyAdmin SQL Dump
2-- version 3.2.2.1deb1
3-- http://www.phpmyadmin.net
4--
5-- Servidor: localhost
6-- Tiempo de generación: 20-09-2010 a las 22:43:50
7-- Versión del servidor: 5.1.37
8-- Versión de PHP: 5.2.10-2ubuntu6.4
9
10SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
11
12--
13-- Base de datos: `ogAdmBD`
14--
15
16-- --------------------------------------------------------
17
18--
19-- Estructura de tabla para la tabla `acciones`
20--
21
22CREATE TABLE IF NOT EXISTS `acciones` (
23  `idaccion` int(11) NOT NULL AUTO_INCREMENT,
24  `tipoaccion` smallint(6) NOT NULL,
25  `idtipoaccion` int(11) NOT NULL,
26  `descriaccion` varchar(250) NOT NULL,
27  `idordenador` int(11) NOT NULL,
28  `ip` varchar(50) NOT NULL,
29  `sesion` int(11) NOT NULL,
30  `idcomando` int(11) NOT NULL,
31  `parametros` text,
32  `fechahorareg` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
33  `fechahorafin` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
34  `estado` tinyint(1) NOT NULL DEFAULT '0',
35  `resultado` tinyint(1) NOT NULL DEFAULT '0',
36  `descrinotificacion` varchar(256) DEFAULT NULL,
37  `ambito` smallint(6) NOT NULL DEFAULT '0',
38  `idambito` int(11) NOT NULL DEFAULT '0',
39  `restrambito` text NOT NULL,
40  `idprocedimiento` int(11) NOT NULL DEFAULT '0',
41  `idtarea` int(11) NOT NULL DEFAULT '0',
42  `idcentro` int(11) NOT NULL DEFAULT '0',
43  `idprogramacion` int(11) NOT NULL DEFAULT '0',
44  PRIMARY KEY (`idaccion`)
45) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
46
47-- --------------------------------------------------------
48
49--
50-- Estructura de tabla para la tabla `acciones_menus`
51--
52
53CREATE TABLE IF NOT EXISTS `acciones_menus` (
54  `idaccionmenu` int(11) NOT NULL AUTO_INCREMENT,
55  `tipoaccion` tinyint(4) NOT NULL DEFAULT '0',
56  `idtipoaccion` int(11) NOT NULL DEFAULT '0',
57  `idmenu` int(11) NOT NULL DEFAULT '0',
58  `tipoitem` tinyint(4) DEFAULT NULL,
59  `idurlimg` int(11) DEFAULT NULL,
60  `descripitem` varchar(250) DEFAULT NULL,
61  `orden` tinyint(4) DEFAULT NULL,
62  PRIMARY KEY (`idaccionmenu`)
63) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
64
65-- --------------------------------------------------------
66
67--
68-- Estructura de tabla para la tabla `administradores_centros`
69--
70
71CREATE TABLE IF NOT EXISTS `administradores_centros` (
72  `idadministradorcentro` int(11) NOT NULL AUTO_INCREMENT,
73  `idusuario` int(11) NOT NULL DEFAULT '0',
74  `idcentro` int(11) NOT NULL DEFAULT '0',
75  PRIMARY KEY (`idadministradorcentro`)
76) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
77
78INSERT INTO `administradores_centros` (`idadministradorcentro`, `idusuario`, `idcentro`) VALUES
79(1, 1, 1);
80
81-- --------------------------------------------------------
82
83--
84-- Estructura de tabla para la tabla `aulas`
85--
86
87CREATE TABLE IF NOT EXISTS `aulas` (
88  `idaula` int(11) NOT NULL AUTO_INCREMENT,
89  `nombreaula` varchar(100) NOT NULL DEFAULT '',
90  `idcentro` int(11) NOT NULL DEFAULT '0',
91  `urlfoto` varchar(250) DEFAULT NULL,
92  `cuadro_y` char(3) DEFAULT NULL,
93  `cuadro_x` char(3) DEFAULT NULL,
94  `cagnon` tinyint(1) DEFAULT NULL,
95  `pizarra` tinyint(1) DEFAULT NULL,
96  `grupoid` int(11) DEFAULT NULL,
97  `ubicacion` varchar(255) DEFAULT NULL,
98  `comentarios` text,
99  `puestos` tinyint(4) DEFAULT NULL,
100  `horaresevini` tinyint(4) DEFAULT NULL,
101  `horaresevfin` tinyint(4) DEFAULT NULL,
102  `modomul` tinyint(4) NOT NULL,
103  `ipmul` varchar(16) NOT NULL,
104  `pormul` int(11) NOT NULL,
105  `velmul` smallint(6) NOT NULL DEFAULT '70',
106  `router` VARCHAR( 30 ),
107  `netmask` VARCHAR( 30 ),
108  `dns` VARCHAR (30),
109  `modp2p` enum('seeder','peer','leecher') DEFAULT 'peer',
110  `timep2p` INT(11) NOT NULL DEFAULT '60',
111  PRIMARY KEY (`idaula`)
112) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
113
114
115
116--
117-- Estructura de tabla para la tabla `asistentes`
118--
119
120CREATE TABLE IF NOT EXISTS `asistentes` (
121  `idcomando` int(11) NOT NULL AUTO_INCREMENT,
122  `descripcion` varchar(250) NOT NULL DEFAULT '',
123  `pagina` varchar(256) NOT NULL,
124  `gestor` varchar(256) NOT NULL,
125  `funcion` varchar(64) NOT NULL,
126  `urlimg` varchar(250) DEFAULT NULL,
127  `aplicambito` tinyint(4) DEFAULT NULL,
128  `visuparametros` varchar(250) DEFAULT NULL,
129  `parametros` varchar(250) DEFAULT NULL,
130  `comentarios` text,
131  `activo` tinyint(1) NOT NULL,
132  PRIMARY KEY ( `idcomando` , `descripcion` )
133) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
134
135
136INSERT INTO `asistentes` (`idcomando`, `descripcion`, `pagina`, `gestor`, `funcion`, `urlimg`, `aplicambito`, `visuparametros`, `parametros`, `comentarios`, `activo`) VALUES
137('8', 'Asistente Clonacion Particiones Remotas', '../asistentes/AsistenteCloneRemotePartition.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '1'),
138('8', 'Asistente "Deploy" de Imagenes', '../asistentes/AsistenteDeployImage.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '1'),
139('8', 'Asistente "UpdateCache" con Imagenes', '../asistentes/AsistenteUpdateCache.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '0'),
140('8', 'Asistente Restauracion de Imagenes', '../asistentes/AsistenteRestoreImage.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '0'),
141('8', 'Asistente Particionado', '../asistentes/AsistenteParticionado.php', '../asistentes/gestores/gestor_Comandos.php', 'EjecutarScript', ' ', '31', 'iph;tis;dcr;dsp', 'nfn;iph;tis;dcr;scp', ' ', '1');
142
143
144
145-- --------------------------------------------------------
146
147--
148-- Estructura de tabla para la tabla `campus`
149--
150
151CREATE TABLE IF NOT EXISTS `campus` (
152  `idcampus` int(11) NOT NULL AUTO_INCREMENT,
153  `nombrecampus` varchar(100) NOT NULL DEFAULT '',
154  `iduniversidad` int(11) DEFAULT NULL,
155  `urlmapa` varchar(255) DEFAULT NULL,
156  `cuadro_y` tinyint(3) DEFAULT NULL,
157  `cuadro_x` tinyint(3) DEFAULT NULL,
158  PRIMARY KEY (`idcampus`)
159) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
160
161--
162-- Volcar la base de datos para la tabla `campus`
163--
164
165
166-- --------------------------------------------------------
167
168--
169-- Estructura de tabla para la tabla `centros`
170--
171
172CREATE TABLE IF NOT EXISTS `centros` (
173  `idcentro` int(11) NOT NULL AUTO_INCREMENT,
174  `nombrecentro` varchar(100) NOT NULL DEFAULT '',
175  `identidad` int(11) DEFAULT NULL,
176  `comentarios` text,
177  PRIMARY KEY (`idcentro`)
178) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
179
180
181        --
182        -- Volcar la base de datos para la tabla `centros`
183        --
184        INSERT INTO `centros` (`idcentro`,`nombrecentro`,`identidad`,`comentarios`) VALUES
185         (1,'Unidad organizativa (Default)',1,'Esta Unidad Organizativa se crea automáticamente en el proceso de instalación de OpenGNSys');
186         
187       
188-- --------------------------------------------------------
189
190--
191-- Estructura de tabla para la tabla `comandos`
192--
193
194CREATE TABLE IF NOT EXISTS `comandos` (
195  `idcomando` int(11) NOT NULL AUTO_INCREMENT,
196  `descripcion` varchar(250) NOT NULL DEFAULT '',
197  `pagina` varchar(256) NOT NULL,
198  `gestor` varchar(256) NOT NULL,
199  `funcion` varchar(64) NOT NULL,
200  `urlimg` varchar(250) DEFAULT NULL,
201  `aplicambito` tinyint(4) DEFAULT NULL,
202  `visuparametros` varchar(250) DEFAULT NULL,
203  `parametros` varchar(250) DEFAULT NULL,
204  `comentarios` text,
205  `activo` tinyint(1) NOT NULL,
206  PRIMARY KEY (`idcomando`)
207) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=11 ;
208
209--
210-- Volcar la base de datos para la tabla `comandos`
211--
212
213INSERT INTO `comandos` (`idcomando`, `descripcion`, `pagina`, `gestor`, `funcion`, `urlimg`, `aplicambito`, `visuparametros`, `parametros`, `comentarios`, `activo`) VALUES
214(1, 'Arrancar', '../comandos/Arrancar.php', '../comandos/gestores/gestor_Comandos.php', 'Arrancar', '', 31, '', 'nfn;iph;mac', '', 1),
215(2, 'Apagar', '../comandos/Apagar.php', '../comandos/gestores/gestor_Comandos.php', 'Apagar', '', 31, '', 'nfn;iph;mac', '', 1),
216(3, 'Restaurar Imagen', '../comandos/RestaurarImagen.php', '../comandos/gestores/gestor_Comandos.php', 'RestaurarImagen', '', 28, 'dsk;par;idi;nci;ipr;ptc', 'nfn;iph;mac;dsk;par;idi;nci;ipr;ifs;ptc', '', 1),
217(4, 'Crear Imagen', '../comandos/CrearImagen.php', '../comandos/gestores/gestor_Comandos.php', 'CrearImagen', '', 16, 'dsk;par;idi;nci;ipr;cpt', 'nfn;iph;mac;dsk;par;idi;nci;ipr;cpt;', '', 1),
218(5, 'Reiniciar', '../comandos/Reiniciar.php', '../comandos/gestores/gestor_Comandos.php', 'Reiniciar', '', 31, '', 'nfn;iph;mac;', '', 1),
219(6, 'Inventario Hardware', '../comandos/InventarioHardware.php', '../comandos/gestores/gestor_Comandos.php', 'InventarioHardware', '', 16, '', 'nfn;iph;mac;', '', 1),
220(7, 'Inventario Software', '../comandos/InventarioSoftware.php', '../comandos/gestores/gestor_Comandos.php', 'InventarioSoftware', '', 16, 'par', 'nfn;iph;mac;par', '', 1),
221(8, 'Ejecutar Script', '../comandos/EjecutarScripts.php', '../comandos/gestores/gestor_Comandos.php', 'EjecutarScript', '', 31, 'iph;tis;dcr;scp', 'nfn;iph;tis;dcr;scp', '', 1),
222(9, 'Iniciar Sesion', '../comandos/IniciarSesion.php', '../comandos/gestores/gestor_Comandos.php', 'IniciarSesion', '', 31, 'par', 'nfn;iph;par', '', 1),
223(10, 'Particionar y Formatear', '../comandos/Configurar.php', '../comandos/gestores/gestor_Comandos.php', 'Configurar', '', 28, 'dsk;cfg;', 'nfn;iph;mac;dsk;cfg;par;cpt;sfi;tam;ope', '', 0);
224
225
226
227-- --------------------------------------------------------
228
229--
230-- Estructura de tabla para la tabla `entidades`
231--
232
233CREATE TABLE IF NOT EXISTS `entidades` (
234  `identidad` int(11) NOT NULL AUTO_INCREMENT,
235  `nombreentidad` varchar(200) NOT NULL DEFAULT '',
236  `comentarios` text,
237  `iduniversidad` int(11) DEFAULT NULL,
238  `grupoid` int(11) DEFAULT NULL,
239  PRIMARY KEY (`identidad`)
240) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
241
242--
243-- Volcar la base de datos para la tabla `entidades`
244--
245
246INSERT INTO `entidades` (`identidad`, `nombreentidad`, `comentarios`, `iduniversidad`, `grupoid`) VALUES
247(1, 'Entidad (Default)', 'Esta Entidad se crea automáticamente en el proceso de instalación de OpenGNSys', 1, 0);
248
249-- --------------------------------------------------------
250
251--
252-- Estructura de tabla para la tabla `entornos`
253--
254
255CREATE TABLE IF NOT EXISTS `entornos` (
256  `identorno` int(11) NOT NULL AUTO_INCREMENT,
257  `ipserveradm` varchar(50) NOT NULL,
258  `portserveradm` int(20) NOT NULL,
259  `protoclonacion` varchar(50) NOT NULL,
260  PRIMARY KEY (`identorno`)
261) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
262
263--
264-- Volcar la base de datos para la tabla `entornos`
265--
266
267INSERT INTO `entornos` (`identorno`, `ipserveradm`, `portserveradm`, `protoclonacion`) VALUES
268(1, 'SERVERIP', 2008, 'UNICAST');
269
270-- --------------------------------------------------------
271
272--
273-- Estructura de tabla para la tabla `estatus`
274--
275
276CREATE TABLE IF NOT EXISTS `estatus` (
277  `idestatus` int(11) NOT NULL AUTO_INCREMENT,
278  `descripcion` varchar(250) NOT NULL DEFAULT '',
279  PRIMARY KEY (`idestatus`)
280) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=6 ;
281
282--
283-- Volcar la base de datos para la tabla `estatus`
284--
285
286INSERT INTO `estatus` (`idestatus`, `descripcion`) VALUES
287(1, 'P.D.I. ( Profesor)'),
288(2, 'P.A.S.'),
289(3, 'Doctor'),
290(4, 'Alumno'),
291(5, 'Otros');
292
293-- --------------------------------------------------------
294
295--
296-- Estructura de tabla para la tabla `grupos`
297--
298
299CREATE TABLE IF NOT EXISTS `grupos` (
300  `idgrupo` int(11) NOT NULL AUTO_INCREMENT,
301  `nombregrupo` varchar(250) NOT NULL DEFAULT '',
302  `grupoid` int(11) NOT NULL DEFAULT '0',
303  `tipo` tinyint(4) NOT NULL DEFAULT '0',
304  `idcentro` int(11) NOT NULL DEFAULT '0',
305  `iduniversidad` int(11) DEFAULT NULL,
306  `comentarios` text,
307  PRIMARY KEY (`idgrupo`)
308) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
309
310-- --------------------------------------------------------
311
312--
313-- Estructura de tabla para la tabla `gruposordenadores`
314--
315
316CREATE TABLE IF NOT EXISTS `gruposordenadores` (
317  `idgrupo` int(11) NOT NULL AUTO_INCREMENT,
318  `nombregrupoordenador` varchar(250) NOT NULL DEFAULT '',
319  `idaula` int(11) NOT NULL DEFAULT '0',
320  `grupoid` int(11) DEFAULT NULL,
321  `comentarios` text,
322  PRIMARY KEY (`idgrupo`)
323) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
324
325-- --------------------------------------------------------
326
327--
328-- Estructura de tabla para la tabla `hardwares`
329--
330
331CREATE TABLE IF NOT EXISTS `hardwares` (
332  `idhardware` int(11) NOT NULL AUTO_INCREMENT,
333  `idtipohardware` int(11) NOT NULL DEFAULT '0',
334  `descripcion` varchar(250) NOT NULL DEFAULT '',
335  `idcentro` int(11) NOT NULL DEFAULT '0',
336  `grupoid` int(11) DEFAULT NULL,
337  PRIMARY KEY (`idhardware`)
338) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
339
340
341-- --------------------------------------------------------
342
343--
344-- Estructura de tabla para la tabla `iconos`
345--
346
347CREATE TABLE IF NOT EXISTS `iconos` (
348  `idicono` int(11) NOT NULL AUTO_INCREMENT,
349  `urlicono` varchar(200) DEFAULT NULL,
350  `idtipoicono` int(11) DEFAULT NULL,
351  `descripcion` varchar(250) DEFAULT NULL,
352  PRIMARY KEY (`idicono`)
353) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=15 ;
354
355--
356-- Volcar la base de datos para la tabla `iconos`
357--
358
359INSERT INTO `iconos` (`idicono`, `urlicono`, `idtipoicono`, `descripcion`) VALUES
360(1, 'vga.gif', 1, 'Tarjeta gráfica'),
361(2, 'nic.gif', 1, 'Tarjeta de Red'),
362(3, 'placabase.gif', 1, 'Placas base'),
363(4, 'tsonido.gif', 1, 'Tarjeta de sonido'),
364(5, 'camweb.gif', 1, 'Cámara web'),
365(6, 'logoXP.png', 2, 'Logo Windows XP'),
366(7, 'logolinux.png', 2, 'Logo General de Linux'),
367(8, 'particionar.png', 2, 'Particionar'),
368(9, 'ordenadoroff.png', 2, 'Ordenador apagado'),
369(10, 'ordenadoron.png', 2, 'Ordenador encendido'),
370(11, 'usb.gif', 1, 'Mi icono usb'),
371(12, 'ide.gif', 1, 'Controladores IDE'),
372(13, 'dvdcd.gif', 1, 'Lectoras y grabadoras de DVD'),
373(14, 'audio.gif', 1, 'Dispositivos de audio');
374
375-- --------------------------------------------------------
376
377--
378-- Estructura de tabla para la tabla `idiomas`
379--
380
381CREATE TABLE IF NOT EXISTS `idiomas` (
382  `ididioma` int(11) NOT NULL AUTO_INCREMENT,
383  `descripcion` varchar(100) DEFAULT NULL,
384  `nemonico` char(3) DEFAULT NULL,
385  PRIMARY KEY (`ididioma`)
386) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
387
388--
389-- Volcar la base de datos para la tabla `idiomas`
390--
391
392INSERT INTO `idiomas` (`ididioma`, `descripcion`, `nemonico`) VALUES
393(1, 'Español', 'esp'),
394(2, 'English', 'eng'),
395(3, 'Català', 'cat');
396
397-- --------------------------------------------------------
398
399--
400-- Estructura de tabla para la tabla `imagenes`
401--
402
403CREATE TABLE IF NOT EXISTS `imagenes` (
404  `idimagen` int(11) NOT NULL AUTO_INCREMENT,
405  `nombreca` varchar(50) NOT NULL,
406  `descripcion` varchar(250) NOT NULL DEFAULT '',
407  `idperfilsoft` int(11) DEFAULT NULL,
408  `idcentro` int(11) DEFAULT NULL,
409  `comentarios` text,
410  `grupoid` int(11) DEFAULT NULL,
411  `idrepositorio` int(11) NOT NULL,
412  `numpar` smallint(6) NOT NULL,
413  `codpar` smallint(6) NOT NULL,
414  PRIMARY KEY (`idimagen`)
415) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
416
417-- --------------------------------------------------------
418
419--
420-- Estructura de tabla para la tabla `menus`
421--
422
423CREATE TABLE IF NOT EXISTS `menus` (
424  `idmenu` int(11) NOT NULL AUTO_INCREMENT,
425  `descripcion` varchar(250) NOT NULL DEFAULT '',
426  `idcentro` int(11) NOT NULL DEFAULT '0',
427  `idurlimg` int(11) NOT NULL DEFAULT '0',
428  `titulo` varchar(250) DEFAULT NULL,
429  `coorx` int(11) DEFAULT NULL,
430  `coory` int(11) DEFAULT NULL,
431  `modalidad` tinyint(4) DEFAULT NULL,
432  `scoorx` int(11) DEFAULT NULL,
433  `scoory` int(11) DEFAULT NULL,
434  `smodalidad` tinyint(4) DEFAULT NULL,
435  `comentarios` text,
436  `grupoid` int(11) NOT NULL DEFAULT '0',
437  `htmlmenupub` varchar(250) DEFAULT NULL,
438  `htmlmenupri` varchar(250) DEFAULT NULL,
439  `resolucion` SMALLINT(4) DEFAULT NULL,
440  PRIMARY KEY (`idmenu`)
441) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
442
443-- --------------------------------------------------------
444
445--
446-- Estructura de tabla para la tabla `nombresos`
447--
448
449CREATE TABLE IF NOT EXISTS `nombresos` (
450  `idnombreso` smallint(11) NOT NULL AUTO_INCREMENT,
451  `nombreso` varchar(250) NOT NULL,
452  `idtiposo` int(11) DEFAULT '0',
453  PRIMARY KEY (`idnombreso`)
454) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
455
456-- --------------------------------------------------------
457
458--
459-- Estructura de tabla para la tabla `ordenadores`
460--
461
462CREATE TABLE IF NOT EXISTS `ordenadores` (
463  `idordenador` int(11) NOT NULL AUTO_INCREMENT,
464  `nombreordenador` varchar(100) DEFAULT NULL,
465  `ip` varchar(16) NOT NULL,
466  `mac` varchar(12) DEFAULT NULL,
467  `idaula` int(11) DEFAULT NULL,
468  `idperfilhard` int(11) DEFAULT NULL,
469  `idrepositorio` int(11) DEFAULT NULL,
470  `grupoid` int(11) DEFAULT NULL,
471  `idmenu` int(11) DEFAULT NULL,
472  `cache` int(11) DEFAULT NULL,
473  `router` varchar(16) NOT NULL,
474  `mascara` varchar(16) NOT NULL,
475  `idproautoexec` int(11) NOT NULL,
476  `arranque` VARCHAR( 30 ) NOT NULL DEFAULT '1',
477  `netiface` enum('eth0','eth1','eth2') DEFAULT 'eth0',
478  `netdriver` VARCHAR( 30 ) NOT NULL DEFAULT 'generic',
479  PRIMARY KEY (`idordenador`)
480) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
481
482
483
484-- --------------------------------------------------------
485
486--
487-- Estructura de tabla para la tabla `ordenadores_particiones`
488--
489
490CREATE TABLE IF NOT EXISTS `ordenadores_particiones` (
491  `idordenador` int(11) NOT NULL,
492  `numpar` tinyint(4) NOT NULL,
493  `codpar` smallint(11) NOT NULL,
494  `tamano` int(11) NOT NULL,
495  `idsistemafichero` smallint(11) NOT NULL,
496  `idnombreso` smallint(11) NOT NULL,
497  `idimagen` int(11) NOT NULL,
498  `idperfilsoft` int(11) NOT NULL,
499  UNIQUE KEY `idordenadornumpar` (`idordenador`,`numpar`)
500) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
501
502-- --------------------------------------------------------
503
504--
505-- Estructura de tabla para la tabla `parametros`
506--
507
508CREATE TABLE IF NOT EXISTS `parametros` (
509  `idparametro` int(11) NOT NULL AUTO_INCREMENT,
510  `nemonico` char(3) NOT NULL,
511  `descripcion` text NOT NULL,
512  `nomidentificador` varchar(64) NOT NULL,
513  `nomtabla` varchar(64) NOT NULL,
514  `nomliteral` varchar(64) NOT NULL,
515  `tipopa` tinyint(1) DEFAULT '0',
516  `visual` tinyint(4) NOT NULL DEFAULT '0',
517  PRIMARY KEY (`idparametro`)
518) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=31 ;
519
520--
521-- Volcar la base de datos para la tabla `parametros`
522--
523
524INSERT INTO `parametros` (`idparametro`, `nemonico`, `descripcion`, `nomidentificador`, `nomtabla`, `nomliteral`, `tipopa`, `visual`) VALUES
525(1, 'nfn', 'Nombre de la función o script a ejecutar en el cliente y que implementa el comando. Es posible que también els ervidor debo ejecutar la misma función como ocurre en el comando "Arrancar" y que implementa el comportamiento del comando en el servidor', '', '', '', 0, 0),
526(2, 'iph', 'Dirección ip de los ordenadores a los que se envía el comando', '', '', '', 0, 0),
527(3, 'ido', 'Identificadores de los ordenadores a los que se envía el comando', '', '', '', 0, 0),
528(4, 'mac', 'Direcciones macs de los clientes a los que se le envía el comando', '', '', '', 0, 0),
529(5, 'idc', 'Unidad organizativa', 'idcentro', 'centros', '', 1, 0),
530(6, 'ida', 'Aula', 'idaula', 'aulas', 'nombreaula', 1, 0),
531(18, 'cfg', 'Configuración', '', '', '', 2, 1),
532(7, 'dsk', 'Disco', '', '', '', 0, 1),
533(8, 'par', 'Partición', '', '', '', 0, 1),
534(9, 'ifh', 'Perfil Hardware', 'idperfilhard', 'perfileshard', 'descripcion', 1, 1),
535(10, 'ifs', 'Perfil Software', 'idperfilsoft', 'perfilessoft', 'descripcion', 1, 1),
536(11, 'idi', 'Imagen', 'idimagen', 'imagenes', 'descripcion', 1, 1),
537(12, 'nci', 'Nombre canonico', '', '', '', 0, 1),
538(13, 'scp', 'Código a ejecutar en formato script', '', '', '', 0, 0),
539(14, 'npc', 'Nombre del cliente', '', '', '', NULL, 0),
540(15, 'che', 'Tamaño de la cache del cliente', '', '', '', NULL, 0),
541(16, 'exe', 'Identificador del procedimiento que será el que ejecute el cliente al arrancar (Autoexec)', '', '', '', 0, 0),
542(17, 'res', 'Respuesta del comando: Puede tomar los valores 1 o 2 en el caso de que la respuesta sea correcta o que haya un error al ejecutarse.', '', '', '', 0, 0),
543(19, 'ipr', 'Repositorio', 'ip', 'repositorios', 'nombrerepositorio', 1, 1),
544(20, 'cpt', 'Tipo partición', 'codpar', 'tipospar', 'tipopar', 1, 1),
545(21, 'sfi', 'Sistema de fichero', 'idsistemafichero', 'sistemasficheros', 'nemonico', 1, 0),
546(22, 'tam', 'Tamaño', '', '', '', 0, 0),
547(23, 'ope', 'Operación', ';', '', 'Sin operación;Formatear;Ocultar;Mostrar', 3, 1),
548(24, 'nfl', 'Nombre del fichero que se envía o se recibe', '', '', '', 0, 0),
549(25, 'hrd', 'Nombre del archivo de inventario hardware enviado por la red', '', '', '', 0, 0),
550(26, 'sft', 'Nombre del archivo de inventario software enviado por la red', '', '', '', 0, 0),
551(27, 'tpc', 'Tipo de cliente', '', '', '', 0, 0),
552(28, 'scp', 'Código script', '', '', '', 4, 1),
553(30, 'ptc', 'Protocolo de clonación', ';', '', ';Unicast;Multicast;Torrent', 1, 1);
554
555-- --------------------------------------------------------
556
557--
558-- Estructura de tabla para la tabla `perfileshard`
559--
560
561CREATE TABLE IF NOT EXISTS `perfileshard` (
562  `idperfilhard` int(11) NOT NULL AUTO_INCREMENT,
563  `descripcion` varchar(250) NOT NULL DEFAULT '',
564  `comentarios` text,
565  `grupoid` int(11) DEFAULT NULL,
566  `idcentro` int(11) NOT NULL,
567  `winboot` enum( 'reboot', 'kexec' ) NOT NULL DEFAULT 'reboot',
568  PRIMARY KEY (`idperfilhard`)
569) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
570
571
572-- --------------------------------------------------------
573
574--
575-- Estructura de tabla para la tabla `perfileshard_hardwares`
576--
577
578CREATE TABLE IF NOT EXISTS `perfileshard_hardwares` (
579  `idperfilhard` int(11) NOT NULL DEFAULT '0',
580  `idhardware` int(11) NOT NULL DEFAULT '0',
581  KEY `idperfilhard` (`idperfilhard`)
582) ENGINE=MyISAM DEFAULT CHARSET=utf8;
583
584-- --------------------------------------------------------
585
586--
587-- Estructura de tabla para la tabla `perfilessoft`
588--
589
590CREATE TABLE IF NOT EXISTS `perfilessoft` (
591  `idperfilsoft` int(11) NOT NULL AUTO_INCREMENT,
592  `descripcion` varchar(250) NOT NULL DEFAULT '',
593  `comentarios` text,
594  `grupoid` int(11) DEFAULT NULL,
595  `idcentro` int(11) NOT NULL,
596  PRIMARY KEY (`idperfilsoft`)
597) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
598
599-- --------------------------------------------------------
600
601--
602-- Estructura de tabla para la tabla `perfilessoft_softwares`
603--
604
605CREATE TABLE IF NOT EXISTS `perfilessoft_softwares` (
606  `idperfilsoft` int(11) NOT NULL DEFAULT '0',
607  `idsoftware` int(11) NOT NULL DEFAULT '0'
608) ENGINE=MyISAM DEFAULT CHARSET=utf8;
609
610-- --------------------------------------------------------
611
612--
613-- Estructura de tabla para la tabla `plataformas`
614--
615
616CREATE TABLE IF NOT EXISTS `plataformas` (
617  `idplataforma` int(11) NOT NULL AUTO_INCREMENT,
618  `plataforma` varchar(250) NOT NULL,
619  PRIMARY KEY (`idplataforma`)
620) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=18 ;
621
622--
623-- Volcar la base de datos para la tabla `plataformas`
624--
625
626INSERT INTO `plataformas` (`idplataforma`, `plataforma`) VALUES
627(1, 'MsDos'),
628(2, 'Windows'),
629(3, 'Linux'),
630(4, 'Mac'),
631(5, 'OS');
632
633-- --------------------------------------------------------
634
635--
636-- Estructura de tabla para la tabla `procedimientos`
637--
638
639CREATE TABLE IF NOT EXISTS `procedimientos` (
640  `idprocedimiento` int(11) NOT NULL AUTO_INCREMENT,
641  `descripcion` varchar(250) NOT NULL DEFAULT '',
642  `urlimg` varchar(250) DEFAULT NULL,
643  `idcentro` int(11) NOT NULL DEFAULT '0',
644  `comentarios` text,
645  `grupoid` int(11) DEFAULT '0',
646  PRIMARY KEY (`idprocedimiento`)
647) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
648
649-- --------------------------------------------------------
650
651--
652-- Estructura de tabla para la tabla `procedimientos_acciones`
653--
654
655CREATE TABLE IF NOT EXISTS `procedimientos_acciones` (
656  `idprocedimientoaccion` int(11) NOT NULL AUTO_INCREMENT,
657  `idprocedimiento` int(11) NOT NULL DEFAULT '0',
658  `orden` smallint(4) DEFAULT NULL,
659  `idcomando` int(11) NOT NULL DEFAULT '0',
660  `parametros` text,
661  `procedimientoid` int(11) NOT NULL,
662  PRIMARY KEY (`idprocedimientoaccion`)
663) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
664
665-- --------------------------------------------------------
666
667--
668-- Estructura de tabla para la tabla `programaciones`
669--
670
671CREATE TABLE IF NOT EXISTS `programaciones` (
672  `idprogramacion` int(11) NOT NULL AUTO_INCREMENT,
673  `tipoaccion` int(11) DEFAULT NULL,
674  `identificador` int(11) DEFAULT NULL,
675  `nombrebloque` varchar(255) DEFAULT NULL,
676  `annos` tinyint(4) DEFAULT NULL,
677  `meses` smallint(4) DEFAULT NULL,
678  `diario` int(11) DEFAULT NULL,
679  `dias` tinyint(4) DEFAULT NULL,
680  `semanas` tinyint(4) DEFAULT NULL,
681  `horas` smallint(4) DEFAULT NULL,
682  `ampm` tinyint(1) DEFAULT NULL,
683  `minutos` tinyint(4) DEFAULT NULL,
684  `segundos` tinyint(4) DEFAULT NULL,
685  `horasini` smallint(4) DEFAULT NULL,
686  `ampmini` tinyint(1) DEFAULT NULL,
687  `minutosini` tinyint(4) DEFAULT NULL,
688  `horasfin` smallint(4) DEFAULT NULL,
689  `ampmfin` tinyint(1) DEFAULT NULL,
690  `minutosfin` tinyint(4) DEFAULT NULL,
691  `suspendida` tinyint(1) DEFAULT NULL,
692  `sesion` int(11) NOT NULL,
693  PRIMARY KEY (`idprogramacion`)
694) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
695
696-- --------------------------------------------------------
697
698--
699-- Estructura de tabla para la tabla `repositorios`
700--
701
702CREATE TABLE IF NOT EXISTS `repositorios` (
703  `idrepositorio` int(11) NOT NULL AUTO_INCREMENT,
704  `nombrerepositorio` varchar(250) NOT NULL,
705  `ip` varchar(15) NOT NULL DEFAULT '',
706  `passguor` varchar(50) NOT NULL DEFAULT '',
707  `pathrepoconf` varchar(250) NOT NULL,
708  `pathrepod` varchar(250) NOT NULL,
709  `pathpxe` varchar(250) NOT NULL,
710  `idcentro` int(11) DEFAULT NULL,
711  `grupoid` int(11) DEFAULT NULL,
712  `comentarios` text,
713  `puertorepo` int(11) NOT NULL,
714  PRIMARY KEY (`idrepositorio`)
715) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
716
717INSERT INTO `repositorios` (`idrepositorio`,`nombrerepositorio`,`ip`,`passguor`,`pathrepoconf`,`pathrepod`,`pathpxe`,`idcentro`,`grupoid`,`comentarios`,`puertorepo`) VALUES
718 (1,'Repositorio (Default)','SERVERIP','','','/opt/opengnsys/admin','/opt/opengnsys/tftpboot/pxelinux.cfg',1,0,'',2002);
719
720
721-- --------------------------------------------------------
722
723--
724-- Estructura de tabla para la tabla `sistemasficheros`
725--
726
727CREATE TABLE IF NOT EXISTS `sistemasficheros` (
728  `idsistemafichero` smallint(11) NOT NULL AUTO_INCREMENT,
729  `descripcion` varchar(50) NOT NULL DEFAULT '',
730  `nemonico` varchar(16) DEFAULT NULL,
731  `codpar` smallint(6) NOT NULL,
732  PRIMARY KEY (`idsistemafichero`)
733) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
734
735-- --------------------------------------------------------
736
737--
738-- Estructura de tabla para la tabla `softwares`
739--
740
741CREATE TABLE IF NOT EXISTS `softwares` (
742  `idsoftware` int(11) NOT NULL AUTO_INCREMENT,
743  `idtiposoftware` int(11) NOT NULL DEFAULT '0',
744  `descripcion` varchar(250) NOT NULL DEFAULT '',
745  `idcentro` int(11) NOT NULL DEFAULT '0',
746  `urlimg` varchar(250) DEFAULT NULL,
747  `idtiposo` int(11) DEFAULT NULL,
748  `grupoid` int(11) DEFAULT NULL,
749  PRIMARY KEY (`idsoftware`)
750) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
751
752-- --------------------------------------------------------
753
754--
755-- Estructura de tabla para la tabla `tareas`
756--
757
758CREATE TABLE IF NOT EXISTS `tareas` (
759  `idtarea` int(11) NOT NULL AUTO_INCREMENT,
760  `descripcion` varchar(250) NOT NULL DEFAULT '',
761  `urlimg` varchar(250) DEFAULT NULL,
762  `idcentro` int(11) NOT NULL DEFAULT '0',
763  `ambito` smallint(6) NOT NULL DEFAULT '0',
764  `idambito` int(11) NOT NULL DEFAULT '0',
765  `restrambito` text NOT NULL,
766  `comentarios` text,
767  `grupoid` int(11) DEFAULT '0',
768  PRIMARY KEY (`idtarea`)
769) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1;
770
771-- --------------------------------------------------------
772
773--
774-- Estructura de tabla para la tabla `tareas_acciones`
775--
776
777CREATE TABLE IF NOT EXISTS `tareas_acciones` (
778  `idtareaaccion` int(11) NOT NULL AUTO_INCREMENT,
779  `idtarea` int(11) NOT NULL DEFAULT '0',
780  `orden` smallint(6) NOT NULL DEFAULT '0',
781  `idprocedimiento` int(11) NOT NULL DEFAULT '0',
782  `tareaid` int(11) DEFAULT '0',
783  PRIMARY KEY (`idtareaaccion`)
784) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
785
786-- --------------------------------------------------------
787
788--
789-- Estructura de tabla para la tabla `tipohardwares`
790--
791
792CREATE TABLE IF NOT EXISTS `tipohardwares` (
793  `idtipohardware` int(11) NOT NULL AUTO_INCREMENT,
794  `descripcion` varchar(250) NOT NULL DEFAULT '',
795  `urlimg` varchar(250) NOT NULL DEFAULT '',
796  `nemonico` char(3) NOT NULL,
797  `pci` tinyint(1) NOT NULL,
798  PRIMARY KEY (`idtipohardware`)
799) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=17 ;
800
801--
802-- Volcar la base de datos para la tabla `tipohardwares`
803--
804
805INSERT INTO `tipohardwares` (`idtipohardware`, `descripcion`, `urlimg`, `nemonico`, `pci`) VALUES
806(1, 'Placas', '../images/iconos/placabase.gif', 'boa', 0),
807(2, 'Dispositivos Multimedia', '../images/iconos/tsonido.gif', 'mul', 0),
808(3, 'Tarjetas de Red', '../images/iconos/nic.gif', 'net', 0),
809(4, 'Microprocesadores', '../images/iconos/micro.gif', 'cpu', 0),
810(5, 'Memorias', '../images/iconos/confihard.gif', 'mem', 0),
811(7, 'Tarjetas gráficas', '../images/iconos/vga.gif', 'vga', 0),
812(8, 'Discos', '../images/iconos/discoduro.gif', 'dis', 0),
813(9, 'Dispositivos de sonido', '../images/iconos/audio.gif', 'aud', 0),
814(10, 'Marca y modelo del equipo', '../images/iconos/confihard.gif', 'mod', 0),
815(11, 'Modelo y version de la bios', '../images/iconos/confihard.gif', 'bio', 0),
816(12, 'Modelo de grabadora o  grabadora de CD/DVD', '../images/iconos/dvdcd.gif', 'cdr', 0),
817(13, 'Controladores IDE', '../images/iconos/ide.gif', 'ide', 0),
818(14, 'Controladores FireWire', '../images/iconos/confihard.gif', 'fir', 0),
819(15, 'Controladores USB', '../images/iconos/usb.gif', 'usb', 0),
820(16, 'Bus del Sistema', '../images/iconos/confihard.gif', 'bus', 0);
821
822-- --------------------------------------------------------
823
824--
825-- Estructura de tabla para la tabla `tiposoftwares`
826--
827
828CREATE TABLE IF NOT EXISTS `tiposoftwares` (
829  `idtiposoftware` int(11) NOT NULL AUTO_INCREMENT,
830  `descripcion` varchar(250) NOT NULL DEFAULT '',
831  `urlimg` varchar(250) NOT NULL DEFAULT '',
832  PRIMARY KEY (`idtiposoftware`)
833) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
834
835--
836-- Volcar la base de datos para la tabla `tiposoftwares`
837--
838
839INSERT INTO `tiposoftwares` (`idtiposoftware`, `descripcion`, `urlimg`) VALUES
840(1, 'Sistemas Operativos', '../images/iconos/so.gif'),
841(2, 'Aplicaciones', '../images/iconos/aplicaciones.gif'),
842(3, 'Archivos', '../images/iconos/archivos.gif');
843
844-- --------------------------------------------------------
845
846--
847-- Estructura de tabla para la tabla `tiposos`
848--
849
850CREATE TABLE IF NOT EXISTS `tiposos` (
851  `idtiposo` int(11) NOT NULL AUTO_INCREMENT,
852  `tiposo` varchar(250) NOT NULL,
853  `idplataforma` int(11) NOT NULL,
854  PRIMARY KEY (`idtiposo`)
855) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=21 ;
856
857--
858-- Volcar la base de datos para la tabla `tiposos`
859--
860
861INSERT INTO `tiposos` (`idtiposo`, `tiposo`, `idplataforma`) VALUES
862(1, 'MsDos 6.0', 1),
863(2, 'Windows 98', 2),
864(3, 'Linux Ubuntu', 3),
865(4, 'Mac', 0),
866(5, 'OS', 0),
867(17, 'Windows XP', 2),
868(18, 'Windows Vista', 2),
869(19, 'Linux Red Hat', 3),
870(20, 'Windows 7', 2);
871
872-- --------------------------------------------------------
873
874--
875-- Estructura de tabla para la tabla `tipospar`
876--
877
878CREATE TABLE IF NOT EXISTS `tipospar` (
879  `codpar` smallint(4) NOT NULL,
880  `tipopar` varchar(250) NOT NULL,
881  `clonable` tinyint(4) NOT NULL,
882  UNIQUE KEY `codpar` (`codpar`)
883) ENGINE=MyISAM DEFAULT CHARSET=utf8;
884
885--
886-- Volcar la base de datos para la tabla `tipospar`
887--
888
889INSERT INTO `tipospar` (`codpar`, `tipopar`, `clonable`) VALUES
890(0, 'EMPTY', 0),
891(1, 'FAT12', 1),
892(5, 'EXTENDED', 0),
893(7, 'NTFS', 1),
894(11, 'FAT32', 1),
895(17, 'HFAT12', 1),
896(22, 'HFAT16', 1),
897(23, 'HNTFS', 1),
898(27, 'HFAT32', 1),
899(130, 'LINUX-SWAP', 0),
900(131, 'LINUX', 1),
901(142, 'LINUX-LVM', 1),
902(191, 'SOLARIS', 1),
903(202, 'CACHE', 0),
904(253, 'LINUX-RAID', 1);
905
906-- --------------------------------------------------------
907
908--
909-- Estructura de tabla para la tabla `universidades`
910--
911
912CREATE TABLE IF NOT EXISTS `universidades` (
913  `iduniversidad` int(11) NOT NULL AUTO_INCREMENT,
914  `nombreuniversidad` varchar(200) NOT NULL DEFAULT '',
915  `comentarios` text,
916  PRIMARY KEY (`iduniversidad`)
917) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
918
919--
920-- Volcar la base de datos para la tabla `universidades`
921--
922
923INSERT INTO `universidades` (`iduniversidad`, `nombreuniversidad`, `comentarios`) VALUES
924(1, 'Universidad default...', 'Esta Universidad se crea automáticamentese en el proceso de instalación de OpenGNSys');
925
926-- --------------------------------------------------------
927
928--
929-- Estructura de tabla para la tabla `urlimagesitems`
930--
931
932CREATE TABLE IF NOT EXISTS `urlimagesitems` (
933  `idurlimagesitems` int(11) NOT NULL AUTO_INCREMENT,
934  `descripcion` varchar(250) NOT NULL DEFAULT '',
935  PRIMARY KEY (`idurlimagesitems`)
936) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
937
938--
939-- Volcar la base de datos para la tabla `urlimagesitems`
940--
941
942
943-- --------------------------------------------------------
944
945--
946-- Estructura de tabla para la tabla `usuarios`
947--
948
949CREATE TABLE IF NOT EXISTS `usuarios` (
950  `idusuario` int(11) NOT NULL AUTO_INCREMENT,
951  `usuario` varchar(50) NOT NULL DEFAULT '',
952  `pasguor` varchar(50) NOT NULL DEFAULT '',
953  `nombre` varchar(200) DEFAULT NULL,
954  `email` varchar(200) DEFAULT NULL,
955  `ididioma` int(11) DEFAULT NULL,
956  `idtipousuario` tinyint(4) DEFAULT NULL,
957  PRIMARY KEY (`idusuario`)
958) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
959
960--
961-- Volcar la base de datos para la tabla `usuarios`
962--
963
964INSERT INTO `usuarios` (`idusuario`, `usuario`, `pasguor`, `nombre`, `email`, `ididioma`, `idtipousuario`) VALUES
965(1, 'DBUSER', 'DBPASSWORD', 'Usuario de la base de datos MySql', '', 1, 1);
966
967
968CREATE TABLE IF NOT EXISTS `itemboot` (
969  `label` varchar(50) collate utf8_spanish_ci NOT NULL,
970  `kernel` varchar(100) collate utf8_spanish_ci NOT NULL,
971  `append` varchar(500) collate utf8_spanish_ci NOT NULL,
972  PRIMARY KEY  (`label`)
973) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
974
975
976
977INSERT INTO `itemboot` (`label`, `kernel`, `append`) VALUES
978('1', 'KERNEL syslinux/chain.c32', 'APPEND hd0'),
979('1_localboot', 'LOCALBOOT 0', ' '),
980('11', 'KERNEL syslinux/chain.c32', 'APPEND hd0 1'),
981('12', 'KERNEL syslinux/chain.c32', 'APPEND hd0 2'),
982('ogClientUser', 'KERNEL ogclient/ogvmlinuz', 'APPEND initrd=ogclient/oginitrd.img ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=false'),
983('ogClientAdmin', 'KERNEL ogclient/ogvmlinuz', 'APPEND initrd=ogclient/oginitrd.img ro boot=oginit vga=788 irqpoll acpi=on og2nd=sqfs ogprotocol=smb ogactiveadmin=true ogdebug=true'),
984('ogInitrdUser', 'KERNEL linux', 'APPEND initrd=initrd.gz ip=dhcp ro vga=788 irqpoll acpi=on boot=user '),
985('ogInitrdAdmin', 'KERNEL linux', 'APPEND initrd=initrd.gz ip=dhcp ro vga=788 irqpoll acpi=on boot=admin ');
986
987
988
989
990CREATE TABLE IF NOT EXISTS `menuboot` (
991  `label` varchar(50) collate utf8_spanish_ci NOT NULL,
992  `prompt` int(11) NOT NULL,
993  `timeout` int(30) default NULL,
994  `description` varchar(50) collate utf8_spanish_ci NOT NULL,
995  PRIMARY KEY  (`label`)
996) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_spanish_ci;
997
998
999
1000INSERT INTO `menuboot` (`label`, `prompt`, `timeout`, `description`) VALUES
1001('1', 0, 10, 'mbr 1hd'),
1002('11', 0, 10, '1hd 1particion'),
1003('12', 0, 10, '1hd 2particion'),
1004('pxe', 0, 10, 'og client - user'),
1005('pxeADMIN', 0, 10, 'OgClient - admin');
1006
1007
1008CREATE TABLE IF NOT EXISTS `menuboot_itemboot` (
1009  `labelmenu` varchar(100) NOT NULL,
1010  `labelitem` varchar(100) NOT NULL,
1011  `default` tinyint(10) NOT NULL
1012) ENGINE=MyISAM DEFAULT CHARSET=latin1;
1013
1014
1015INSERT INTO `menuboot_itemboot` (`labelmenu`, `labelitem`, `default`) VALUES
1016('0', '0', 0),
1017('11', '11', 0),
1018('12', '12', 0),
1019('1', '1', 0),
1020('pxe', 'ogClientUser', 0),
1021('pxeADMIN', 'ogClientAdmin', 0);
1022
Note: See TracBrowser for help on using the repository browser.