Back to Basics – Installing Payara Server 5 on Ubuntu

Payara

This is Part 1 of our ‘Payara Server- Back to Basics’ series, where we will show you a step-by-step overview of how to install Payara Server 5 on Ubuntu. 

Note – this blog is an update of the original: Installing Payara Server 4 on Ubuntu. 

Installing Payara Server 5.194

1. Make sure the appropriate JDK is installed:

Payara Server 5.194 requires JDK 8 or JDK 11 to be installed beforehand as it uses some of the latest features; the current recommended version is the very latest JDK 8. To check what version you have, in a shell/command window simply type:

javac -version

or
java -version
java_version

If the java command is not recognised, then you will have to install the JDK which can be downloaded from here: https://www.azul.com/downloads/zulu-community

2. Downloading Payara Server

Payara Server can be downloaded from:  http://www.payara.fish/downloads

Download to a directory of your choosing and then unzip.

Running  Payara Server 5.194

In the case of Payara to run the server, change directory to install_directory/payara5/bin and enter the following command:

./asadmin start-domain
startpayara5

 

This will start domain1, which is the default domain included with Payara Server. If you were to create a new domain, that would need to be specified explicitly – like with the production domain included in Payara Server.

Once the server is up running, navigate to http://localhost:4848 to access the console. Your page should look something like this:

payara5_adminconsolehome

That’s it! You should now have Payara Server installed on Ubuntu.

You can learn more about using the Payara Platform by reading more “Back to Basics” posts, ideal for beginners, or try our online Getting Started Guide, for a detailed step-by-step process to installing and using Payara Platform.

Comments (0)

Post a comment

Your email address will not be published. Required fields are marked *

Payara needs the contact information you provide to us to contact you about our products and services. You may unsubscribe from these communications at any time. For information on how to unsubscribe, as well as our privacy practices and commitment to protecting your privacy, please review our Legal & Privacy Policy.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Related Posts

Azul acquires Payara 4 minutes
News

Azul Acquires Payara, Strengthening Leadership in Enterprise Java Solutions

Strategic acquisition bolsters Azul’s Java platform with complementary products, deep Java expertise and accelerated go-to-market capabilities SUNNYVALE, Calif., and MALVERN, […]

End of Life and End of Support Software 3 minutes
Migration

End-of-Life Technology: How to Drive Innovation Without Compromising Stability

When legacy systems approach end-of-life (EOL), enterprise IT teams typically face the choice of moving forward at all costs […]

Payara promotional graphic for Jakarta Data, featuring and illustrated server stack labeled Core, Web, Full Platform. 3 minutes
Community

Jakarta Data Makes Persistence a Breeze 

Working with enterprise Java databases can sometimes feel like swimming upstream. Jakarta EE 11’s Jakarta Data helps developers glide […]