How to Install GlassFish on a CentOS 6 VPS
 
  You can download the JDK here:      http://www.oracle.com/technetwork/java/javase/downloads/index.html     I'm using the latest, which is JDK 8, update 24. The JDK is specific to 32 and 64 bit versions.     My CentOS box is 64 bit, so I'll need: jdk-8u45-linux-x64.tar.gz.     Download the appropriate JDK and save it to a directory. I'm saving it to /root.     Move (mv) or copy (cp) the file to the /opt directory:     Create the directory /usr/java.   1.            [root@testserver ~]# mkdir /usr/java   2.            [root@testserver ~]# cd mkdir /usr/java   3.            [root@testserver ~]# tar -xvf /root/jdk-8u45-linux-x64.tar.gz   4             [root@testserver jdk1.8.0_45]# pwd   /usr/java/jdk1.8.0_45     Set the JAVA_HOME path. This is where we installed...