Commit Graph

72 Commits

Author SHA1 Message Date
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
Chase Wright 6f86913589 Added dpkg-dev to the apt list and re-ordered 2017-08-14 12:15:19 -05:00
Chase Wright 7eb98dd683 {Variable}
I like my squiggles!
2017-08-03 06:36:14 -05:00
MysticEmpires f6dc0c19da change the old architecture check (#16) 2017-08-03 06:32:47 -05:00
MysticEmpires 2161ea5ab6 silent install and cosmetic change (#15)
* add -qq for silent install

* add -qq for silent install

* newline after passwort question

* add newline after password question

also add  -qq -y on apt install

* Update guac-install.sh
2017-08-03 06:31:57 -05:00
Chase Wright 8dc1cce78b Tomcat Variable (#13)
* Tomcat Variable

I don't know a good way to know which tomcat version is already running, and of course someone could theoretically run more than one...so the upgrade script is just a variable but the install script will check apt-cache and try to install tomcat8, then tomcat7, then tomcat6...

* Optional commented line

Added a commented out line in case someone wants to force an older/specific tomcat install
2017-08-02 06:24:36 -05:00
MysticEmpires 249da0ba33 add architecture check for freerdp (#12)
* add shebang-row

* use FreeRDP depending on current architecture

* add architecture check
2017-08-02 05:27:53 -05:00