Skip to main content

Detailed Demonstration of Deployment of GlassFish Server 4.1

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

Comments

Popular posts from this blog

VMware -> root access is required for the operations you have chosen FIX ubuntu 14.04

Example ~$ wget https://www.vmware.com/go/tryworkstation-linux-64 [sudo] password for javad: *****  --2016-08-11 11:19:10--  https://www.vmware.com/go/tryworkstation-linux-64 Resolving www.vmware.com (www.vmware.com)... 104.86.190.190, 2a02:26f0:c000:183::2ef, 2a02:26f0:c000:190::2ef ..... .... ... .. . .. ... .... .....  ~$ sudo chmod +x tryworkstation-linux-64 ~$ sudo -i ~#  ~# cd / root@javad-quad:/# cd /home/javad/ root@javad-quad:/home/javad# ./tryworkstation-linux-64 Extracting VMware Installer...done. ... Product: VMware® Workstation 12 Pro Version: 12.1.1 build-3770994 licence key: VY1DU-2VXDH-08DVQ-PXZQZ-P2KV8 VF58R

fix audio in kali linux

1. leafpad /etc/pulse/daemon.conf 2. find "default-sample-channels" and change the number -->1-->save-->exit 3. pulseaudio start 4. pulseaudio --start Practice  root@javad:~# sudo leafpad /etc/pulse/daemon.conf  root@javad:~# pulseaudio start E: [pulseaudio] main.c: Too many arguments. root@javad:~# pulseaudio  --start W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).  root@javad:~# reboot