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

Step-by-step – GlassFish 6/7 Ubuntu 18.04 Installation

April 3, 2021 | By the+gnu+linux+evangelist.

Installing

  1. 2. Downloading GlassFish

    Download Eclipse GlassFish App Server for Linux.

    Here Get GlassFish Zip
    Link to Download the Latest GlassFish Server Jakarta EE Release

    Use the Web Profile for Servlet, JSF and JSB Apps.

    If you are using Firefox then on Prompt Choose “Open with Archive Manager”:

    Firefox Prompt

    Or After try to Select the Package by the Downloads Button on Top Panel:

    Downloaded Packages

    Instead, on Google-Chrome simply try to Choose the Package on the Bottom Panel:

    Chrome Bottom Panel Downloads

    How to Install Chrome Browser on Linux

  2. 3. Extracting GlassFish

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

    Copy
    which unzip

    If Not then to Install the Unzip Tool:

    Copy
    sudo apt install unzip

    Authenticate with the User Admin Pass.
    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:

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

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

    Here Install Oracle JDK for Ubuntu
    Oracle Java JDK Setup on Ubuntu Linux Distro Guide List
  4. 5. Installing GlassFish

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

    Copy
    sudo chown -R root:root /tmp/glassfish*

    Again, give Execution Permissions with:

    Copy
    sudo chown -R +x /tmp/glassfish*

    And then Switch contents:

    Copy
    sudo mv /tmp/glassfish* /opt/

    Moreover, Append Glassfish into User’s Path:

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

    In case replace the Version in the above Command.

    To Reload Path simply:

    Copy
    bash

    Finally, to Test GlassFish Installation:

    Copy
    which asadmin

Contents


Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,