source: admin/Database/ogAdmBD.sql @ 987a20d

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 987a20d was cbc2d27, checked in by ramon <ramongomez@…>, 12 years ago

#541 #602: Establecer partición de tipo EFI como clonable.

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

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