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

90 Commits

Author SHA1 Message Date
marius137
96e7675589
Workaround for Non-release versions of FreeRDP (#166)
* Workaround for Non-release versions of FreeRDP

took the workaround from the upgrade script and put it in the install script

* fixed syntax error
2021-01-19 16:25:08 -06:00
SoulSeekkor
4e1cbc86bb
Updated scripts for Guacamole version 1.3.0. (#162) 2021-01-03 09:16:32 -06:00
Curtis Carter
8da14b837b
Add Support For Linux Mint (#161)
* Add Support For Linux Mint

* Add Linux Mint Debian Edition Support

Added LMDE to Debian Name Checks
2020-12-26 23:41:33 -06:00
SoulSeekkor
6254bbb017
Updated to version 1.2.0 and added missing libavformat-dev package. (#145) 2020-07-03 20:24:18 -05:00
Chase Wright
e2cc87dbe3
fix 22 to 8080 2020-06-23 17:54:35 -05:00
MysticRyuujin
1411f1b4de Add checks for ufw and iptables. Fixes #132 2020-05-07 09:38:39 -05:00
Chase Wright
2a8ffcc9d2
Remove mysql-utilities
Fixes #134 

Package is not required. Package currently unavailable on Ubuntu 20.04.
2020-05-05 07:42:30 -05:00
blinklet
5fb4d6baee
Fix mysql password error (#126)
* Set mysql password earlier

* Moved sql password export
out of IF statement
2020-04-08 08:40:49 -05:00
g0tmi1k
6b26c54b49
Bug fixes & more verbose (#123)
* Bug fixes & more verbose

* More error handling

* Better bash fu

* Fix GUACAMOLE-760

https://issues.apache.org/jira/browse/GUACAMOLE-760

```
Cause: java.sql.SQLException: The server time zone value 'xyz' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property).....
```

* Address a few formatting issues

* Make sure MySQL is up first & remove dead code

* Hide some errors
2020-03-18 08:12:01 -05:00
Chase Wright
722f99c5e5
Fix #113 - Fully automate command line (#117) 2020-03-05 07:56:11 -06:00
Chase Wright
4ce4410dec
Improve stability (#116)
I don't have time to test all of this lol but it appears to be in order...and much appreciated.
2020-03-04 13:24:53 -06:00
g0tmi1k
4be76a7777
Add Kali Linux Support (#115)
* Add Kali Linux support

* Restart MySQL service

Kali linux has it disabled by default

* Force the symlink
2020-03-04 07:42:01 -06:00
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