![glassfish 4.1.1 glassfish 4.1.1](https://1.bp.blogspot.com/-11gLp6TT-SQ/XDnpLBmgiAI/AAAAAAAABYM/sBTorYFjkxIOwF1cJWoHfaLS04_Bxfy1QCEwYBhgL/s400/5.png)
The default GlassFish Server’s port is 8080 and the administration server’s port is 4848 with the administration user name as admin with no password. Start the GlassFish server by using the following command as follows: glassfish4/bin/asadmin start-domain Once the download is completed successfully, extract the GlassFish archive to the document root directory on your server: unzip glassfish-4.1.1.zip The first thing to do is to go to GlassFish’s download page and download the latest stable version of GlassFish, At the moment of writing this article it is version 4.1.1: wget Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
#Glassfish 4.1.1 install
Sudo apt-get install oracle-java8-installer Then, you will need to fully update the system with the following command and install it: Sudo add-apt-repository ppa:webupd8team/java However, we would need to install additional repositories for proper installation: sudo apt-get install python-software-properties sudo apt-get updateĬhoose the type of Java installation that you want with one of the following: sudo apt-get install openjdk-7-jreĪnother alternative Java install is with Oracle JRE and JDK. First, make sure that all your system packages are up-to-date by running the following apt-get commands in the terminal. We recommend acting as a non-root sudo user, however, as you can harm your system if you’re not careful when acting as the root. A non-root sudo useror access to the root user.
![glassfish 4.1.1 glassfish 4.1.1](https://www.guj.com.br/uploads/default/optimized/3X/9/f/9f1bfbf869b2c4fd8e01c13ac2ab5df67f87f8d4_2_1033x564.png)
SSH access to the server (or just open Terminal if you’re on a desktop).It’s recommended that you use a fresh OS install to prevent any potential issues.A server running one of the following operating systems: Ubuntu 16.04 (Xenial Xerus).