1
0
mirror of https://github.com/MysticRyuujin/guac-install.git synced 2023-10-10 13:36:56 +02:00
Commit Graph

78 Commits

Author SHA1 Message Date
Chase Wright
638ab0483c
nit spacing 2020-02-23 13:27:15 -06:00
Chase Wright
87a119e372
Switch to command -v for mysql executable check
* Switch to `command -v` for mysql executable check

* Add the same check to Debian
2020-02-23 13:25:48 -06:00
Jasper Michalke
3b295a33ba
Added fallback for mysql-client when using MariaDB (#110)
* Fized mysql-client installation error with existing MariaDB server

* Fized permissions

* Changed command availability detection
2020-02-23 11:57:27 -06:00
Chase Wright
a312feb0b1
Fix for Debian Buster (#107)
* Fix for Debian Buster

Validated Installation with Debian Buster 10.3.0

* Update README.md
2020-02-17 12:56:15 -08:00
Chase Wright
7a059134da
WIP - Fixes for 19.10 & MFA (#105)
* WIP - Fixes for 19.10 & MFA

* Fix logic on installDuo informational output

* Fix for buster

Add suggested fix from @enira / #91

* Fixes for 19.10
2020-02-17 12:06:47 -08:00
SoulSeekkor
2c29ba8231
Add Optional MySQL Support (#99)
* Added missing package for guac-install-server.sh.

* Minor cleanup of Duo configuration settings.

* Prompt test.

* Working on adding prompts and replacing MySQL information with variables.

* Improved switch/variable management and checking, only prompt for values not already passed via command line switches.

* Removed variable that shouldn't be there.

* Updated switches.

* Updated readme to include new information and all switches.

* Updated readme again.

* -Updated variables and switches to match install script.
-Added check for MySQL host, prompt if necessary.

* Updated scripts to use given MySQL host/port when executing scripts.

* Fixed typo and removed line that always fails.

* More fixes.

* Added line back in.

* Added starting services message to upgrade script.
2020-02-09 18:40:11 -05:00
SoulSeekkor
dfc6f05d85
Support for Guacamole 1.1.0 Install/Upgrade + More (#97)
* Updated to handle Guacamole 1.1.0 and to include support for installed Duo.

* Fixed missing no color code.

* Added .gitattributes file and updated README.md.

* Fixed package to use FreeRDP2 variant.

* Prompt test.

* Another prompt test.

* Another prompt test.

* Another prompt test.

* Formatting.

* -For the install output Duo configuration values no matter what.
-Updated upgrade script to include missing packages.

* Added additional package to the upgrade script that may be required.

* Formatting and added missing websockets package.

* Added logic for upgrading the TOTP and Duo extensions.

* Update README.md

Changed README.md links back.
2020-02-05 15:24:52 -05:00
Deokho Jeong
c2be2966a5 Support 'Not Install TOTP' Selection (#93) 2019-10-28 11:08:49 -05:00
sbelongie
ead6a75a52 Add Support for Raspbian (#84) 2019-10-26 12:10:08 -05:00
2W Consultoria
092aeb3567 Update guac-install.sh (#86)
Prevent a interactive front end to ask if the services are restarted automatically.
2019-07-02 09:27:59 -05:00
2W Consultoria
0d4576bb6c Update guac-install.sh (#85)
Missing space before "]"
2019-07-02 09:27:47 -05:00
Jasper Michalke
cd866f807c Fixed /etc/guacamole/guacamole.properties (#83)
When running guac-install.sh several times, /etc/guacamole/guacamole.properties wit contain the credentials several times. For that the file will be removed and re-created afterwards.
2019-06-09 13:17:01 -05:00
Chase D. Wright
1a13bad832 Add TOTP 2019-05-18 13:53:48 -05:00
Chase Wright
efbd54e536
Support DB Name and DB User Name
Also doesn't try to install MySQL if it's already installed

Closes #80
2019-04-04 12:06:13 -05:00
Chase D. Wright
93ea6b2db1 Add log location for failures, warn about dependency and make taking a while 2019-01-23 17:01:36 -06:00
Chase D. Wright
48f6351318 Add log location for failures, warn about dependency and make taking a while 2019-01-23 16:57:57 -06:00
Chase D. Wright
660764723a Remove GCC7 Hack 2019-01-23 16:15:59 -06:00
adam kaminski
21b84b1cb1 Updated script version from 0.9.14 to 1.0.0 (#60)
* Update guac-upgrade.sh

Adjusted version from 0.9.14 to 1.0.0

* Update guac-install.sh

Updated version from 0.9.14 to 1.0.0 and commented out patching that is specific to 0.9.14

* Update README.md

Adjusted version from 0.9.14 to 1.0.0

* Update guac-install-server.sh

Adjusted version from 0.9.14 to 1.0.0

* Update docker-install.sh

Adjusted the version from 0.9.14 to 1.0.0
2019-01-10 11:21:52 -06:00
d3nisko
7c5c863c70 Update guac-install.sh (#49)
This if statement is redundant. It will never work because of previous if statement. As there is if/else the error code will always be 0, so this if will never return anything.
2018-09-23 07:39:31 -05:00
Chase Wright
ca284a22ff
Patch 18.04 + Minor Fixes
My installation of 18.04 did not include the `universe` repo by default. This fixes that.
2018-09-13 13:47:37 -05:00
Chase Wright
764dcbd893
Patch 0.9.14 + Minor Fixes
Attempts to download and patch `typescript.c` via `cd0e48234a.patch`
2018-09-13 12:21:33 -05:00
Chase Wright
4ae4546d6d
Add root/sudo check
Add root/sudo check thanks to @bmullan
2018-09-01 09:33:32 -05:00
breakintheweb
a43a3c8327 decrease verbosity and increase readability (#44)
This change has the following:
* Lowered verbosity for downloads (just progress bars)
* Colored output for each step of build 
* build process output is redirected to log
2018-08-29 08:18:29 -05:00
Chase Wright
169058d029
Account for gcc < 6 (#40)
* Account for gcc < 6
2018-03-12 17:15:26 -05:00
Chase Wright
8260cdda51
Fix Comment (#39)
* Just fixing a silly comment
2018-03-12 16:54:36 -05:00
Chase Wright
baac552de0
Fix gcc-7 & Update Docker (#38)
* Force guacd compile with gcc-6 to resolve gcc-7 compile issues

* Update docker version
2018-03-12 16:44:55 -05:00
Chase Wright
9a6da88418
Add Non-Interactive Option (#37)
Thanks to @bigredthelogger for providing the initial code

* Add Non-Interactive Option to Installer

* Update README for Non-Interactive Options

* Add Non-Interactive Option to Upgrade
2018-03-09 15:51:48 -06:00
Chase Wright
75f965ef9d
Switch to libmysql-java (#31)
* Switch to libmysql-java
2018-02-05 13:11:58 -05:00
Chase Wright
13cffd998a
freerdp = freerdp-x11
In some distros there is more than one version available

Also, according to the documentation...this is actually a required item but it was added as a fix suggested by some other people...
2018-01-22 18:55:42 -06:00
Chase Wright
f736bc6389
Ensure guacd started
I don't know if this is required but it doesn't hurt
2018-01-20 21:57:00 -05:00
Chase Wright
bcce82bbc0
0.9.14 fixes (#28)
* Replace VERSION with GUACVERSION
    #26 #25

* Make database name dynamic from the guacamole.properties file
    #27
2018-01-20 19:34:58 -05:00
Chase Wright
c45f9a62c7
Update guac-install.sh
Yup drunk
2018-01-20 16:57:53 -05:00
Chase Wright
c378aae2f6
Update guac-install.sh
I'm drunk
2018-01-20 16:54:59 -05:00
Chase Wright
5cc42e949e
Quick Fix SERVER for Debian
Closes #27
Need to write better fix when I get time
2018-01-20 16:54:25 -05:00
Chase Wright
e460822772
Fix if statement
Closes #25
2018-01-20 15:32:22 -05:00
Chase Wright
d07bfcb98b
0.9.14 Release (#23)
* Support Upgrade From Older Versions

First I've added a MySQL Root Password Prompt, it will verify that the user is entering the correct password and will not continue until the MySQL Root Password is entered correctly.

Second, I'm just getting the tomcat version number from /etc/ folder name...This seems to work well enough (instead of making the user edit the script manually)...Maybe someone can come up with a better solution?

Third, I'm using the Version.js file to get the currently installed versions number. This allows for supporting multiple version number upgrades (E.G going from 0.8.2 to 0.9.14). The script will now loop through all of the SQL Upgrade files, and apply any that are newer than the OLDVERSION...

I.E. Going from 0.9.9 to 0.9.13 should automatically install `upgrade-pre-0.9.10.sql` & `upgrade-pre-0.9.11.sql` & `upgrade-pre-0.9.13.sql`

* Remove GUACAMOLE_HOME

According to the documentation this is now a default search path, so this isn't required anymore

* Version Control for Ubuntu and Debian

This might need more work but it should install the proper packages for both Ubuntu and Debian and account for Tomcat 8.0.x and 8.5.x differences...

http://tomcat.apache.org/whichversion.html

7.x does not say end of life... but 8.0.x does. The distro maintainers have different versions of Tomcat8 so we can check for 8.5.x or newer options and install, otherwise go the safer route and install Tomcat7

* Remove rm and ln of tomcat/.guacamole

According to the documentation this is not required (it may not have been required to begin with?)

* No Longer Incubating!
2018-01-20 08:23:04 -06:00
Chase Wright
37e2481c7f
Fixing Revert (Wrong Line Numbers) 2018-01-18 10:28:01 -05:00
Chase Wright
f5bebc8e9d
Revert Change (Wrong Branch) 2018-01-18 10:26:02 -05:00
Chase Wright
06ca66f50f
Remove rm and ln for tomcat/.guacamole
According to the documentation, none of this will be required (not even sure it was correct to begin with hah)
2018-01-18 10:23:51 -05:00
Chase Wright
884e5f3136
Remove curl and jq
curl and jq are no longer required for the script to function correctly, I don't want to force installation of something not required :)
2017-12-01 11:31:45 -06:00
Chase Wright
34255df725
Updated Download Locations
Updated Download Locations
2017-12-01 11:17:13 -06:00
Chase Wright
8cd64fd3f0
Typo 2017-11-29 14:54:26 -06:00
Chase Wright
0fd33f78fd
Verify Passwords, Confirm File Downloads
In addition to closing #20 it also does a basic check to see if files are actually downloaded from the Apache mirror and exits if they fail...
2017-11-29 14:50:18 -06:00
Chase Wright
5144fa9d49
Finishing Notes and Recommendation 2017-11-12 10:57:04 -06:00
Chase Wright
8180039f58
New MCJVERSION 5.1.44 2017-11-11 10:04:42 -06:00
Chase Wright
1a71abb191
Reorder and Comment 2017-11-11 10:03:42 -06:00
Chase Wright
b5ba64a6c0 Remove Tomcat8 & Modify Dep Checks 2017-10-13 10:01:51 -05:00
Chase Wright
1d64cce4b9 Fix libpng-dev for Ubuntu 16.10 2017-09-20 09:44:39 -05:00
Chase Wright
4ff5a7b6a4 Update guac-install.sh (#18)
Grammar Fixes
2017-08-21 21:54:27 -05:00
Brandon
ada86f1df9 Mostly Typo Fixes (#17)
* fixed typo

* fix typos; use mkdir -p

fix a couple of minor typos and some unnecessary caps; switch to mkdir -p (create parent directories) in Make Directories section to save one line and prevent errors if directories already exist

* switch from apt-get to apt; lose -qq for install

* fix typo
2017-08-21 21:46:45 -05:00