summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_installer.sh
Commit message (Collapse)AuthorAgeFilesLines
* #959: Installer and updater download the lastest OGAgent version.Ramón M. Gómez2020-04-211-1/+0
|
* #927 Remove opengnsys.cron scriptJavier Sánchez Parra2020-04-071-1/+0
| | | | | | | | | | | | | | | | | | This commit removes the opengnsys cron script that checks if the ogAdmServer is running or using too much CPU and restarts the process. Now that the ogAdmServer is more stable this script is not needed. Also, without this script we are going to know better when the ogAdmServer is having a problem and get better reports. In case you observe a crash in ogAdmServer, please, run it under valgrind: valgrind --leak-check=full --show-leak-kinds=all --track-origins=yes --verbose --log-file=/tmp/ogadmserver-valgrind-out.log /opt/opengnsys/sbin/ogAdmServer -f /opt/opengnsys/etc/ogAdmServer.cfg And post your 'ogadmserver-valgrind-out.log' file to the mailing list. This patch changes the installer and the update scripts too. They do not configure opengnsys.cron anymore. The update script search and remove the deprecated files as well.
* #941 Restore mysql service in installerJavier Sánchez Parra2020-04-021-8/+10
| | | | | | | | | This fixes commit 930563c: the installation script tries to change MySQL root password without previously starting MySQL. This commit restores the code that enables and restart MySQL to its previous position, before changing the password, and adds a new restart MySQL command.
* #941 Set MySQL encoding to UTF-8Javier Sánchez Parra2020-04-021-11/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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)
* #941 Add missing dependencies for the ogAdmServerJavier Sánchez Parra2020-03-171-2/+2
| | | | | | This commits adds the binary of libdbi and the drivers to work with MySQL. A previous commit (1479f77) added the headers for the compilation, libdbi-dev.
* #964: Fix bug when copying MySQL / MariaDB template configuration file.Ramón M. Gómez2020-03-111-1/+2
|
* #941: Add new installation dependencies to compile services.Ramón M. Gómez2020-03-101-2/+2
|
* #959: Installer copies the new MySQL configuration template to enable the ↵Ramón M. Gómez2020-03-051-0/+3
| | | | event scheduler automatically.
* #946: Reverting installation URL to `master` branch.Ramón M. Gómez2020-02-101-1/+1
|
* #946: Releasing tag OpenGnsys 1.1.1a (after fixing bug).opengnsys-1.1.1aRamón M. Gómez2020-02-101-1/+1
|
* #946: Reverting installation URL to `master` branch.Ramón M. Gómez2020-02-101-1/+1
|
* #946: Releasing tag OpenGnsys 1.1.1a.Ramón M. Gómez2020-02-101-1/+1
|
* #946: Installation script removes downloaded files.Ramón M. Gómez2020-01-201-1/+1
|
* #946: Update release number.Ramón M. Gómez2020-01-161-0/+1
|
* #938: Show instructions to download BURG after installing/updating.Ramón M. Gómez2019-12-101-0/+2
|
* #914: Avoid installation on a previously installed system.Ramón M. Gómez2019-12-041-0/+6
|
* #914: Reverting installation URL to master branch after fixing last bug.Ramón M. Gómez2019-12-011-2/+2
|
* #914: Fix bug when getting the release from a Git tag.opengnsys-1.1.1Ramón M. Gómez2019-11-301-4/+6
|
* #914: Reverting installation URL to `master` branch.Ramón M. Gómez2019-11-291-1/+1
|
* #914: Releasing OpenGnsys 1.1.1 (Espeto).Ramón M. Gómez2019-11-291-1/+1
|
* #914: Adapting all scripts to use the `master` branch.Ramón M. Gómez2019-11-251-1/+1
|
* #915: Add new ogAdmServer compilation dependency.Ramón M. Gómez2019-11-211-1/+1
|
* #925: Script `settoken` changes REST token for users.Ramón M. Gómez2019-11-111-0/+1
|
* #914: Reverting commit `3df93ab` and using GAWK for regex compatibility.Ramón M. Gómez2019-11-081-2/+2
|
* #925: Only the installer uses {{{settoken}}} script to generate ↵Ramón M. Gómez2019-10-161-10/+10
| | | | authentication tokens.
* #914: Installer and updater check HTTP and HTTPS connections to avoid proxy ↵Ramón M. Gómez2019-10-011-4/+6
| | | | configuration errors.
* #914: Installed/Update newest ogLive version.Ramón M. Gómez2019-09-201-1/+1
|
* #914: Fix duplicates when detecting network parameters and get main ↵Ramón M. Gómez2019-09-171-6/+7
| | | | nameserver with Systemd.
* #892: Revert the removal of {{{wakonlan}}} installation dependency from ↵Ramón M. Gómez2019-08-261-1/+1
| | | | commit {{{2b00219}}}.
* opengnys_installer.sh: fix error whereby the script failed to try to install ↵Irina Gómez2019-07-241-2/+2
| | | | an ogLive that does not exist.
* #915 update installer to add APITOKEN= to ogAdmServer.cfgJavier Sánchez Parra2019-06-241-0/+1
| | | | | | | | This is going to be used to protect calls to ogAdmServer Example line for ogAdmServer.cfg: APITOKEN=9b5fddfc5d4d1daa74ffd7ce7c3c9925
* #802: Creating certificate to sign boot loaders.Ramón M. Gómez2019-06-131-0/+16
|
* #914: Install/update the new ogLive release.Ramón M. Gómez2019-06-071-1/+1
|
* #914: Removing redundant permissions.Ramón M. Gómez2019-06-071-15/+0
|
* #914 Fix ogLive version to be installed.Ramón M. Gómez2019-06-051-1/+1
|
* Merge branch 'devel' into uefiIrina Gómez2019-06-051-1/+12
|\ | | | | | | Fast Foward
| * #916: Setting default values when installing using not interactive mode.Ramón M. Gómez2019-06-051-0/+11
| |
| * #915: Installing a new ogAdmServer compilation dependency, if needed.Ramón M. Gómez2019-06-051-1/+1
| |
* | Merge branch 'devel' into uefiIrina Gómez2019-06-051-120/+139
|\| | | | | | | Fast foward with devel branch
| * #916: Instalation script does not display characters when the user enters a ↵Ramón M. Gómez2019-06-041-119/+139
| | | | | | | | password and asks for password confirmation.
| * #872: Download correct OGAgent version.Ramón M. Gómez2019-06-031-1/+0
| |
* | Merge branch 'devel' into uefi (fast-forward)Irina Gómez2019-05-131-17/+4
|\|
| * #736: Installer script no longer disables firewall or SELinux, and ↵Ramón M. Gómez2019-02-071-24/+4
| | | | | | | | recommends using {{{security-config}}} script.
| * #784: Fixing Apache configuration error when multiple instances of PHP-FPM ↵Ramón M. Gómez2019-02-071-1/+1
| | | | | | | | are installed.
| * #892: Use ogAdmServer Wake on LanJavier Sánchez Parra2019-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gestor_Comando.php only execute wakeonlan_repo.php when wake up command is called. * wakeonlan_repo.php send new needed parameters for ogAdmServer WoL. * repository.php use ogAdmServer WoL instead of wakeonlan perl script. * opengnsys_installer.sh and opengnsys_update.sh don't have wakeonlan perl script dependency anymore. # Please enter the commit message for your changes. Lines starting # with '#' will be kept; you may remove them yourself if you want to. # An empty message aborts the commit. # # Date: Mon Jan 28 10:22:57 2019 +0100 # # On branch devel # Your branch is ahead of 'origin/devel' by 1 commit. # (use "git push" to publish your local commits) # # Changes to be committed: # modified: admin/WebConsole/comandos/gestores/gestor_Comandos.php # modified: admin/WebConsole/comandos/gestores/wakeonlan_repo.php # modified: admin/WebConsole/rest/repository.php # modified: installer/opengnsys_installer.sh # modified: installer/opengnsys_update.sh # # Untracked files: # 0001-892-Use-ogAdmServer-Wake-on-Lan.patch # 0001-892-Use-ogAdmServer-Wake-on-Lan.zip #
* | #802 The installation, import and export scripts considers the PXE files for ↵Irina Gómez2019-03-291-0/+1
| | | | | | | | UEFI.
* | #802 opengnsys_installer.sh and grub.cfg: configurate uief compatibility for ↵Irina Gómez2019-02-251-8/+7
|/ | | | tftpboot.
* #580: New compilation dependencies.Ramón M. Gómez2019-01-171-2/+2
|
* #886: Backward-compatible with JQ version 1.4Ramón M. Gómez2018-12-121-1/+1
|
* #840: Updating script {{{checkperms}}} to assign proper permissions.Ramón M. Gómez2018-11-201-14/+0
|