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

Jeremy Silva is one of the few expert web developers I've worked with that has provided me with elite results every time. Jeremy is dependable, resourceful, and consistent. He is also more personable than most web developers I have come in contact with. I would feel comfortable hiring him for any future projects.

- Orin Belinsky