GlassFish is an open-source application server used for Java EE (Enterprise Edition) applications. It provides a runtime environment for deploying, managing, and scaling Java applications.
Here are the steps to install GlassFish on CentOS 8:
sudo dnf update
sudo dnf install java-11-openjdk-devel
wget https://download.eclipse.org/glassfish/glassfish-6.2.0.zip
unzip glassfish-6.2.0.zip
sudo mv glassfish6 /opt/
sudo nano ~/.bash_profile
export JAVA_HOME=/usr/lib/jvm/java-11-openjdk
source ~/.bash_profile
/opt/glassfish6/bin/startDomain --verbose
http://localhost:4848
Now you have successfully installed and started GlassFish on CentOS 8. You can deploy your Java applications and manage them using the GlassFish administration console.
What our customers say about us
Create your free account today.