Glassfish Ubuntu 12.04 Ubber Quick Install Guide

This is an ubber ubber short install guide we came up with to get Glassfish on a virtual server for testing:

Make sure you have at least 512 memory free!

1.) Install java
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

2.) Get GlassFish ZIP file
unzip the file into /opt

3.) Follow this to start your domain.

4.) Once you’ve started the domain:
Admin Console

To Setup as service:
(Borrowed from Here:
Save following as “glassfish” in the /etc/init.d/
chmod +x glassfish
update-rc.d glassfish defaults

# glassfish init script for Linux
# Simplest possible case -- no password file, one default domain
# it would be simple to add such options


case "$1" in
$GLASSFISH_HOME/bin/asadmin start-domain >/dev/null
$GLASSFISH_HOME/bin/asadmin stop-domain >/dev/null
$GLASSFISH_HOME/bin/asadmin restart-domain >/dev/null
echo "usage: $0 (start|stop|restart|help)"

Posted in Tech Tips Tagged with: , , ,

Customer Love

I have known Jeremy for over 15 years and worked with him on several large projects. From sifting through Department of transportation records, search pa court records and county election records, he went beyond my expectations with every project. He is a dynamic thinker and help extract the most value out of the data. I highly recommend Jeremy for any large data project and his entrepreneurial insight.

- Greg Gennace ESQ