source: admin/Database/ogAdmBD.sql @ 68649ae

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 68649ae was ed5611d, checked in by ramon <ramongomez@…>, 12 years ago

#594: Incluir en la BD los sistemas de ficheros soportados por el comando Formatear.

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

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