Skip to content

Instantly share code, notes, and snippets.

body>
<h1>Famous Cities</h1>
<h2>Tokyo</h2>
<p>
Tokyo is the capital of Japan, the center of the Greater Tokyo Area,
and the most populous metropolitan area in the world.
It is the seat of the Japanese government and the Imperial Palace,
@npatel007
npatel007 / Guacamole_Installer
Created October 4, 2015 18:14 — forked from martezr/Guacamole_Installer
Guacamole HTML5 Gateway Installation Script
#!/bin/bash
#Guacamole 0.9.0 Installation Script
#Versioning Variables
guacamoleclientdownload = "http://sourceforge.net/projects/guacamole/files/current/binary/guacamole-0.9.0.war"
guacamoleserverdownload = "http://sourceforge.net/projects/guacamole/files/current/source/guacamole-server-0.9.0.tar.gz"
guacamoleservertar = "guacamole-server-0.9.0.tar.gz"
guacamoleserversource = "guacamole-server-0.9.0"
guacamoleclientwar = "guacamole-0.9.0.war"
@npatel007
npatel007 / guacamole-install-script.sh
Created October 4, 2015 18:17
guacamole instllation script for Cent OS
#!/bin/sh
#############################################################
# This script was created by Hernan Dario Nacimiento based on:
# http://guac-dev.org/release/release-notes-0-9-8
# http://guac-dev.org/doc/0.9.8/gug/jdbc-auth.html
# http://guac-dev.org/doc/0.9.8/gug/administration.html
# Task of this script:
# Install Packages Dependencies
# Download Guacamole and MySQL Connector packages
# Install Guacamole Server
# Base Imports
import subprocess
import sys
import random
import string
import os
def installPackage(packageName):
subprocess.check_call([sys.executable, "-m", "pip", "install",packageName])
print(f"Package [{packageName}] installed please restart the script")