source: admin/Database/ogAdmBD.sql @ 26a1226

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 26a1226 was 6855821, checked in by ramon <ramongomez@…>, 13 years ago

Versión 1.0.3, #483 #492: Descripción correcta de idiomas en la base de datos.

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

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