Visualizzazione post con etichetta VNC. Mostra tutti i post
Visualizzazione post con etichetta VNC. Mostra tutti i post

mercoledì 24 settembre 2014

Guacamole Appliance 0.9.2 - OVA virtual appliance (VirtualBox, vmware, ...)

Forget about this appliance since it's old and unmaintained: start from a fresh ubuntu LTS and use these scripts instead (they also support updates):
https://github.com/MysticRyuujin/guac-install


Guacamole Appliance 0.9.2 - Download

Guacamole is an HTML5 remote desktop client/gateway that allows you to access your RDP/VNC/SSH servers from any modern browser (you don't need any remote desktop client, vnc, vpn software installed on the client).
Check it out on official page: http://guac-dev.org

This appliance is based on Arch Linux 64 bit and features the latest Guacamole 0.9.2 with MySQL auth backend (LDAP and NOAUTH extensions are present but not active).
It comes in .OVA format (OVF 1.0) so you can easily import it into any virtual environment.

Get it!

Download the appliance:
guacamole-0.9.2.ova
size:  891 MB
md5: 32a2fe66cdd5c0c0332e6246e47aeaff

Run it!

Import it in your virtualization platform and run it!
Log in to your virtual appliance:
user: root
pass: guacamole

Find where to connect!

check your IP (DHCP enabled by default):
ip a

If you want you can set a static ip: https://wiki.archlinux.org/index.php/Network_configuration
TIP: Maybe you want to do a nice port forward on your router: point TCP port 443 (I won't publish port 80: that's not secure) to your guacamole appliance to access from outside your network (this comes handy if you have a public IP address or dynamic dns setup!)

SSL cert

the keystore for ssl (self signed) certificate is located in /etc/tomcat7/keystore
you can generate a new self-signed cert by
$JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA -keystore /etc/tomcat7/keystore
default password is "changeit" stick to this if you don't want/know how to change the tomcat config files
TIP:if you want to install your own certificates just follow the istructions on the official tomcat how-to: http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html

Use it!

open a browser and go to: http://guacamole-appliance-IP or (better) https://guacamole-appliance-IP
login with default credentials
user: guacadmin
pass: guacadmin
click "Manage" button on top right, click on guacadmin user and change the password.

Enjoy your shiny HTML5 remote desktop gateway!

how to use Guacamole: http://guac-dev.org/doc/0.9.2/gug/using-guacamole.html

martedì 17 dicembre 2013

Guacamole Appliance 0.8.3: plug and play HTML5 remote desktop gateway virtual appliance (KVM, VirtualBox or vmware)

Guacamole is an HTML5 remote desktop client/gateway that allows you to access your RDP/VNC/SSH servers from any modern browser (you don't need any remote desktop client, vnc, vpn software installed on the client).
Check it out on official page: http://guac-dev.org

This appliance is based on ubuntu 12.04 server 64 bit and uses the "virtual" kernel (optimized for virtual guests) it comes in RAW format and is 7zip compressed (10 Gb uncompressed size).
You can run it in KVM or import into Virtualbox, or convert it in vmdk and run it in some vmware or whatever... no guest tools installed so you may take care to install the proper ones depending on the virtualization platform you'll use (this is completely optional).

Get it!

Download the appliance:

 Guacamole Appliance 0.8.3 - Download
size:  968 MB
md5: 10d6ab2b3475dbe74b26eeac3db07095

unpack it using 7zip (is at highest compression level so it may take a while):
7za e guacamole-appliance-0.8.3.7z

Convert it! (if needed)

If you don't use KVM you may have to convert the RAW image to another format (you have to have VirtualBox to do so):
Converting it in VDI (VirtualBox format):
VBoxManage convertfromraw guacamole-appliance.img guacamole-appliance.vdi  --format VDI
Converting it in VMDK (vmware format):
VBoxManage convertfromraw guacamole-appliance.img guacamole-appliance.vmdk  --format VMDK
If you want to convert it into a compressed QCOW2 (to save space on your KVM host, as this not supposed to be an heavy duty database machine you can opt for compressed QCOW2 without performance impact) you can do the following:
qemu-img convert -c -f raw -O qcow2  guacamole-appliance.img guacamole-appliance.qcow2

Run it!

Import it in your virtualization platform and run it (as linux 64 bit guest)!
Log in to your virtual appliance with the default user (that is a sudoer, of course)
user: guacadmin
pass: guacadmin

Secure it!

change login password:
passwd
change mysql root password:
mysqladmin -u root -p'guacadmin' password 'yournewpassword'
change guacamole's mysql password:
mysql -u root -p
then in the mysql shell:
SET PASSWORD FOR 'guacamole'@'localhost' = PASSWORD('yournewguacamoleuserpass');
FLUSH PRIVILEGES;
quit
then adjust the guacamole configuration file
sudo nano /etc/guacamole/guacamole.properties
and change the last line updating the password:
mysql-password: yournewguacamoleuserpass
restart tomcat6 service to apply the password change for guacamole server:
sudo service tomcat6 restart

Find where to connect!

check your IP (DHCP enabled by default):
ip a
If you want you can set a static ip: https://help.ubuntu.com/12.04/serverguide/network-configuration.html):
TIP: Maybe you want to do a nice port forward on your router: point TCP port 8080 to your guacamole-appliance to access from outside your network (this comes handy if you have a static ip or dynamic dns setup!)

Use it!

open a browser and go to: http://guacamole-appliance-IP:8080/guacamole
login with default credentials
user: guacadmin
pass: guacadmin
click "Manage" button on top right, click on guacadmin user and change the password.

Enjoy your shiny HTML5 remote desktop gateway!

how to use Guacamole: http://guac-dev.org/doc/gug/using-guacamole.html