Skip to content

Instantly share code, notes, and snippets.

@amolkhanorkar
Created March 12, 2014 08:43
Show Gist options
  • Save amolkhanorkar/9503126 to your computer and use it in GitHub Desktop.
Save amolkhanorkar/9503126 to your computer and use it in GitHub Desktop.
Glassfish setup
Glassfish setup
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
http://glassfish.java.net/downloads/3.1.1-final.html
unzip the file into /opt
3.) Follow this to start your domain.
http://docs.oracle.com/cd/E26576_01/doc.312/e24937/basic-features.htm#gixue
or use
cd /opt/glassfish*/glassfish/bin
./asadmin start-domain <domain-name>
to stop domain
./asadmin stop-domain <domain-name>
4.) Once you’ve started the domain:
http://YourServer:8080/
Admin Console
http://YourServer:4848
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment