$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install GlassFish 5.0 on Debian Stretch 9 Step By Step

August 24, 2018 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading

    Download Glassfish 5.0 App Server for Linux:

    Get Glassfish 5.0 Zip

    And the Full Platform is Used rather than Web Profile.

  2. 3. Extracting

    Then Extract Glassfish 5
    First, Check if Unzip is there:

    which unzip

    If Not then to Install the Unzip Tool:

    sudo apt install unzip

    If Got “User is Not in Sudoers file” then see: How to Enable sudo
    Then Double-Click on Archive and Decompress it into /tmp:

    Extract

    Or from Command Line:

    unzip -d /tmp/ $HOME/Downloads/glassfish*.zip
  3. 4. Installing Oracle JDK

    How to Install Required Oracle Java JDK 8+ on Debian Linux.

    Install Oracle JDK for Debian
  4. 5. Installing Glassfish

    Finally, to Install Glassfish 5.0 in Debian
    (Here we describe a System-Wide Setup, for a Local one Just Run from inside Home)
    Set the SuperUser as Owner:

    sudo chown -R root:root /tmp/glassfish5

    Again, give Execution Permissions with:

    sudo chmod -R +x /tmp/glassfish5

    And then Switch contents:

    sudo mv /tmp/glassfish5 /opt/

    Furthermore, Append Glassfish into User’s Path:

    echo "export PATH=$PATH:/opt/glassfish5/bin" >> ~/.bashrc

    To Reload Path simply:

    bash

    Finally, to Test Glassfish 5.0 Installation:

    which asadmin

Contents