How to Install GlassFish 4 on Fedora Gnu/Linux Easy Guide

August 16, 2019 | By the+gnu+linux+evangelist.

Installing

  1. Download Glassfish 4 JEE 7 App Server for Linux:

    Get Glassfish 4 Latest Release

    And the Full Platform is Used rather than Web Profile.

  2. Installing Unzip Tool
    Check if already there:

    which unzip

    If not then:

    sudo yum install unzip

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

  3. Then Extract into /tmp
    Possibly Double-Click/Right-Click and Open with Archive Manager:

    Extract

    Or from Command Line:

    unzip -d /tmp/ $HOME/Downloads/glassfish*.zip
  4. How to Install Required Oracle Java JDK on Fedora Linux.

    Install Oracle JDK for Fedora
  5. Finally, to Install Glassfish 4 in Fedora
    (Here we describe a System-Wide Setup, for a Local one Just Run from Home)
    Set the SuperUser as Owner:

    sudo chown -R root:root /tmp/glassfish4

    And Switch contents:

    sudo mv /tmp/glassfish4 /opt/

    Moreover, Append Glassfish into User’s Path.

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

    To Reload Path simply:

    bash

Contents


QuickChic Theme • Powered by WordPress