summaryrefslogtreecommitdiffstats
path: root/installer/opengnsys_installer.sh
Commit message (Collapse)AuthorAgeFilesLines
* #987 Use systemctl to disable/enable services in UbuntuJavier Sánchez Parra2020-06-241-2/+2
| | | | | | OpenGnsys install and update scripts were still using update-rc to disable and enable services in Debian/Ubuntu. But, since Debian 8 and Ubuntu 15, this should be done with systemd systemctl.
* #986 Rename to ogserverJavier Sánchez Parra2020-06-191-3/+3
| | | | Step forward to rename all ogAdmServer references to ogServer
* #981 Use new ogServer systemd unit fileJavier Sánchez Parra2020-06-191-0/+6
| | | | | This commit adapts installer, updater and init scripts to work with new ogServer systemd unit file.
* #985 Install and update scripts now use ogServer repoJavier Sánchez Parra2020-06-191-10/+22
| | | | | | OpenGnsys is separating the different parts of the project in different git repositories. Now ogServer, formerly ogAdmServer, has is own repo, so is necessary to adapt install and update script to use this new repo.
* #984: Installer and updater download the OGAgent tarball defined in the ↵Ramón M. Gómez2020-06-161-3/+8
| | | | version file.
* #971 Update ogClient repo URL in installerJavier Sánchez Parra2020-06-041-1/+1
| | | | Use opengnsys github repository for installer.
* #980 use json file format in ogClientJavier Sánchez Parra2020-06-021-2/+1
|
* #970 Add automake depencency for ogAdmServerJavier Sánchez Parra2020-06-021-2/+2
| | | | New version of ogAdmServer need automake to generate the Makefile.
* #981 Add systemd unit fileJavier Sánchez Parra2020-06-021-0/+2
| | | | | | | | The ogAdmServer needs to be started after MySQL, because it queries the DB at the beginning to obtain the schedules. This commit adds a systemd unit file that force OpenGnsys service to start after MySQL service
* #971 Remove ogAdmAgent initializationJavier Sánchez Parra2020-06-021-15/+0
| | | | | | | | | | | All the functionalities of the ogAdmAgent are now in the ogAdmServer. So, the it is not needed anymore. This commit remove the installation and update of the ogAdmAgent, adds a check to remove it if exists and removes it from the OpenGnsys init script. A future patch will remove all the code related to the ogAdmAgent.
* #980 Add ogClient to the installer and update the setserveraddr scriptJavier Sánchez Parra2020-06-021-13/+21
| | | | This also removes the legacy ogAdmClient for these scripts.
* #970 autotools support for ogAdmServerOpenGnSys Support Team2020-06-021-1/+1
| | | | | | | | | | | | | | To build and to install ogAdmServer: autoreconf -fi ./configure make make install Default prefix is /opt/opengnsys/ as usual. ogAdmServer uses autotools for compilation, so this patch adapts OpenGnsys updater and installer to use autotools for compilation.
* #959: Defining new development version.Ramón M. Gómez2020-05-271-1/+1
|
* #959: Releasing OpenGnsys 1.1.1b.opengnsys-1.1.1bRamón M. Gómez2020-05-271-1/+1
|
* #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