summaryrefslogtreecommitdiffstats
path: root/server/etc
Commit message (Collapse)AuthorAgeFilesLines
* #1045 Fix duplicate software profiles bugJose M. Guisado2021-05-101-0/+1
| | | | | | | | | | | | | | Sometimes a software profile creation does not fail although there is already an existing one with the same components. After some investigation, the reason seems to be that legacy code from ogAdmServer (deprecated) executes a SQL query using GROUP_CONCAT grouping all software components id in increasing order but this concatenated string ends up being truncated due to a maximul length variable in MySQL server. This variable is: "group_concat_max_len" and its default value is 1024. Fix this by increasing group_concat max length in MySQL.
* #1020 logrotate ignore non-existent logs with missingokantoniodoblas2021-02-091-0/+1
| | | | | | | If the logrotate files for opengnsys indicate to rotate files that do not exist, the process ignores them and continues with the next one. The missingok clause is added to the logrotate configuration files.
* #941 Set MySQL encoding to UTF-8Javier Sánchez Parra2020-04-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit sets the MySQL enconding to UTF8. This way we can avoid problems with special characters in strings, like: ó. It also changes the installation script to always copy the MySQL configuration template and restart MySQL. So, even if the server had MySQL installed before the OpenGnsys installation, the script configures MySQL. Example error that this commit should fix: ogAdmServer[12524]: failed to query database (actualizaSoftware:2380) 1366: Incorrect string value: '\xF3n de ...' for column 'descripcion' at row 1 The encoding configuration before this commit should be like this: mysql> SHOW VARIABLES LIKE 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | latin1 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | latin1 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.10 sec) The encoding configuration after this commit should be like this: mysql> SHOW VARIABLES LIKE 'char%'; +--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+----------------------------+ | character_set_client | utf8 | | character_set_connection | utf8 | | character_set_database | utf8 | | character_set_filesystem | binary | | character_set_results | utf8 | | character_set_server | utf8 | | character_set_system | utf8 | | character_sets_dir | /usr/share/mysql/charsets/ | +--------------------------+----------------------------+ 8 rows in set (0.01 sec)
* #959: Installer copies the new MySQL configuration template to enable the ↵Ramón M. Gómez2020-03-051-0/+3
| | | | event scheduler automatically.
* #955: Adapt DHCP template file to `addtodhcp` script.Ramón M. Gómez2020-03-041-10/+4
|
* #946: Remove duplicate line in DHCP template.Ramón M. Gómez2020-01-311-1/+0
|
* #784: Apache configuration now supports connection with PHP-FPM via socket ↵Ramón M. Gómez2018-11-151-1/+1
| | | | and port.
* #875: Removing old ogAdmRepo service.Ramón M. Gómez2018-11-141-1/+1
|
* #846 Se configura logrotate para que incluya todos los archivos de registro. ↵Irina Gómez2018-10-111-17/+13
| | | | Se separan los servicios del server y del repo en archivos independientes
* #784: Using PHP-FPM instead of Mod-PHP to improve Apache performance.Ramón M. Gómez2018-10-041-0/+7
|
* #802: Usar Shim como cargador primario para evitar fallos con algunas BIOS UEFI.ramon2018-04-301-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5762 a21b9725-9963-47de-94b9-378ad31fedc9
* #802: Adaptar plantilla DHCP y preparar primera plantilla PXE para sistemas ↵ramon2018-04-191-0/+7
| | | | | | UEFI. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5735 a21b9725-9963-47de-94b9-378ad31fedc9
* #808: Actualizar plantilla DHCP con ejemplo para equipos Mac.ramon2018-01-221-0/+11
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5577 a21b9725-9963-47de-94b9-378ad31fedc9
* #814: Dejar de permitir etiquetas cortas en configuración del módulo PHP ↵ramon2017-11-092-8/+0
| | | | | | para Apache. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5505 a21b9725-9963-47de-94b9-378ad31fedc9
* #718: Configuración para obtener la cabecera de autentificación de la API ↵ramon2017-09-251-0/+1
| | | | | | REST. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5433 a21b9725-9963-47de-94b9-378ad31fedc9
* #730: Sustitución del nombre del proyecto en ficheros del servidor.ramon2017-06-282-5/+5
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5390 a21b9725-9963-47de-94b9-378ad31fedc9
* #730: Corregir errata en r5347.ramon2017-06-071-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@5349 a21b9725-9963-47de-94b9-378ad31fedc9
* #730: Evitar error de inicio de Apache si se configura PHP-FPM en vez de ↵ramon2017-06-071-1/+3
| | | | | | mod_php. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5347 a21b9725-9963-47de-94b9-378ad31fedc9
* #708 #718: Usar siempre HTTPS en todo el servidor OpenGnsys (incluido ↵ramon2017-03-132-3/+21
| | | | | | descargas y REST). git-svn-id: https://opengnsys.es/svn/branches/version1.1@5228 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Configuración de Apache para API REST sin usar fichero {{{.htacces}}} ↵ramon2015-09-071-2/+7
| | | | | | para mejorar la seguridad. git-svn-id: https://opengnsys.es/svn/branches/version1.1@4671 a21b9725-9963-47de-94b9-378ad31fedc9
* #708: Integrar código del ticket:708 en versión 1.1.ramon2015-06-142-2/+6
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.1@4652 a21b9725-9963-47de-94b9-378ad31fedc9
* #673: Actualizar código incluido en OepnGnSys? 1.0.6 sobre la rama ↵ramon2015-05-061-1/+1
| | | | | | {{{version1.1}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.1@4617 a21b9725-9963-47de-94b9-378ad31fedc9
* #616: Instalador compatible con configuración de Apache 2.4 y de versiones ↵ramon2014-04-162-2/+15
| | | | | | anteriores. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4237 a21b9725-9963-47de-94b9-378ad31fedc9
* #616: Solucionar problema de instalación en sistemas Ubuntu actualizados ↵ramon2014-04-161-1/+1
| | | | | | tras el fallo Heartbleed de OpenSSL. git-svn-id: https://opengnsys.es/svn/branches/version1.0@4236 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.4, #414: Modificar configuración de PHP y SELinux para consola ↵ramon2012-03-201-0/+3
| | | | | | web en CentOS. git-svn-id: https://opengnsys.es/svn/branches/version1.0@2903 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.3, #499: Parcheo del directorio de TFTP en configuración de Samba.ramon2012-02-221-1/+1
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@2642 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.3, #483 #492: Usar nueva página de acceso.ramon2012-02-101-0/+9
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@2553 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.3, #473 #482: Modificar la BD para mostrar protocolo de ↵ramon2012-01-191-2/+2
| | | | | | clonación; plantilla para servicio NFS. git-svn-id: https://opengnsys.es/svn/branches/version1.0@2451 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.3, #414: Instalación completa en Debian 6, independizando el ↵ramon2012-01-161-1/+1
| | | | | | directorio para TFTP. git-svn-id: https://opengnsys.es/svn/branches/version1.0@2440 a21b9725-9963-47de-94b9-378ad31fedc9
* #460 ogprotocol nfsadv2012-01-121-0/+4
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@2433 a21b9725-9963-47de-94b9-378ad31fedc9
* Corregir errata en fichero plantilla para Logrotate que evita generar bucles ↵ramon2011-12-051-1/+1
| | | | | | indefinidos de ficheros. git-svn-id: https://opengnsys.es/svn/branches/version1.0@2386 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.2: configuración DHCP para Grub4Dos, suscitución función ↵ramon2011-10-031-1/+1
| | | | | | {{{ogBoot}}} para Grub4Dos, comandos para listar y cambiar plantilla de arranque y cambios en el actualizador (modifica #444) git-svn-id: https://opengnsys.es/svn/branches/version1.0@2331 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.2: instalador configura logrotate desde la plantilla ↵ramon2011-07-041-3/+3
| | | | | | predefinida (cerrar #425) git-svn-id: https://opengnsys.es/svn/branches/version1.0@2125 a21b9725-9963-47de-94b9-378ad31fedc9
* Plantilla para logrotate y script para el cron que levanta los servicios si ↵irina2011-07-011-0/+24
| | | | | | estan caidos git-svn-id: https://opengnsys.es/svn/branches/version1.0@2123 a21b9725-9963-47de-94b9-378ad31fedc9
* Versión 1.0.2: servicios Samba marcados como no visibles.ramon2011-06-291-13/+6
| | | | git-svn-id: https://opengnsys.es/svn/branches/version1.0@2114 a21b9725-9963-47de-94b9-378ad31fedc9
* Versiones 1.0.1 y 1.0.2: instalador y actualizador guardan imagen ISO de ↵ramon2011-06-151-3/+0
| | | | | | ogclient en /opt/opengnsys/lib (modifica #404 y #413). git-svn-id: https://opengnsys.es/svn/branches/version1.0@2064 a21b9725-9963-47de-94b9-378ad31fedc9
* Rama version1.0: instalador no configura NFS, no duplica el recurso ↵ramon2011-03-081-7/+7
| | | | | | | | {{{tftpboot}}} en Samba y corrección de erratas. Close #313, #314. git-svn-id: https://opengnsys.es/svn/branches/version1.0@1533 a21b9725-9963-47de-94b9-378ad31fedc9
* version 1.0: ticket:314 plantilla smb compatible con el recurso smb ↵adv2011-03-081-0/+8
| | | | | | [ogboot] ---> antiguo [tftpboot] git-svn-id: https://opengnsys.es/svn/branches/version1.0@1532 a21b9725-9963-47de-94b9-378ad31fedc9
* Instalador versión 1.0:ramon2011-03-023-0/+54
* Adaptar estructura de directorios del servidor. * Adaptar funciones del instalador. * Reducir el espacio necesario para descarga de ficheros. * Algunas correcciones generales. git-svn-id: https://opengnsys.es/svn/branches/version1.0@1523 a21b9725-9963-47de-94b9-378ad31fedc9