The steps are as follows:
Step 1: Adding Java PPA
Addition of Python-Software Properties
#apt-get install python-software-properties
Addition of Java using add-apt-repository
#add-apt-repository ppa:webupd8team/java
Updation of System
#apt-get update
Step-2 Installing Oracle JDK8
#apt-get install oracle-java8-installer
Step-3 Setting "Java_Home" Variable
# vim /etc/environment
Add the following line to the bottom
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
#source /etc/environment
#java -version
Step-4 Installing GlassFish 4.1
#cd /tmp
Download the Glassfish Software
#wget 'http://download.java.net/glassfish/4....
Install Unzip
#apt-get install unzip
#unzip glassfish-4.1.zip -d /opt
Step-5 Setting GlassFish Path
#vim ~/.profile
Add the following Lines
export PATH=/opt/glassfish4/bin:$PATH
#source ~/.profile
Step-6 Starting GlassFish Server
#asadmin start-domain
Open Web Browser
type: http://ipaddress:8080
:4848 is admin login page
Step-7 Enabling Secure Admin
#asadmin enable-secure-admin
Enter username-- admin
Type the password
Step-8 Changing the admin Password
asadmin change-admin-password
Step-9 Restart the domain
#asadmin restart-domain
http://ipaddress:4848
Type the username and password
Step 1: Adding Java PPA
Addition of Python-Software Properties
#apt-get install python-software-properties
Addition of Java using add-apt-repository
#add-apt-repository ppa:webupd8team/java
Updation of System
#apt-get update
Step-2 Installing Oracle JDK8
#apt-get install oracle-java8-installer
Step-3 Setting "Java_Home" Variable
# vim /etc/environment
Add the following line to the bottom
JAVA_HOME="/usr/lib/jvm/java-8-oracle"
#source /etc/environment
#java -version
Step-4 Installing GlassFish 4.1
#cd /tmp
Download the Glassfish Software
#wget 'http://download.java.net/glassfish/4....
Install Unzip
#apt-get install unzip
#unzip glassfish-4.1.zip -d /opt
Step-5 Setting GlassFish Path
#vim ~/.profile
Add the following Lines
export PATH=/opt/glassfish4/bin:$PATH
#source ~/.profile
Step-6 Starting GlassFish Server
#asadmin start-domain
Open Web Browser
type: http://ipaddress:8080
:4848 is admin login page
Step-7 Enabling Secure Admin
#asadmin enable-secure-admin
Enter username-- admin
Type the password
Step-8 Changing the admin Password
asadmin change-admin-password
Step-9 Restart the domain
#asadmin restart-domain
http://ipaddress:4848
Type the username and password
Comments
Post a Comment