Installing
-
Download Glassfish 4 JEE 7 App Server for Linux:
And the Full Platform is Used rather than Web Profile.
-
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
-
Then Extract into /tmp
Possibly Double-Click/Right-Click and Open with Archive Manager:Or from Command Line:
unzip -d /tmp/ $HOME/Downloads/glassfish*.zip
-
How to Install Required Oracle Java JDK on Fedora Linux.
-
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