<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>payara server Archives - Linux Windows and android Tutorials</title>
	<atom:link href="https://www.osradar.com/tag/payara-server/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.osradar.com</link>
	<description>tutorials and news and Seurity</description>
	<lastBuildDate>Mon, 19 Aug 2019 19:47:27 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8.12</generator>
	<item>
		<title>Install Payara Server on Debian 10</title>
		<link>https://www.osradar.com/install-payara-server-debian-10/</link>
					<comments>https://www.osradar.com/install-payara-server-debian-10/#respond</comments>
		
		<dc:creator><![CDATA[angeloma]]></dc:creator>
		<pubDate>Thu, 22 Aug 2019 23:00:27 +0000</pubDate>
				<category><![CDATA[Featured]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Buster]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[How to]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[java EE]]></category>
		<category><![CDATA[Payara]]></category>
		<category><![CDATA[payara server]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[Tutorial]]></category>
		<guid isPermaLink="false">https://www.osradar.com/?p=13151</guid>

					<description><![CDATA[<p>It is no secret to anyone that Java is a very popular programming language. In fact, it still is despite Python or Rust. However, it is also true that to complement the professional development of Java requires other tools to effectively deploy these applications. In this sense, Payara Server emerges as the most viable solution [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-payara-server-debian-10/">Install Payara Server on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>It is no secret to anyone that Java is a very popular programming language. In fact, it still is despite Python or Rust. However, it is also true that to complement the professional development of Java requires other tools to effectively deploy these applications. In this sense, Payara Server emerges as the most viable solution for Java EE applications. Therefore, in this post, you will learn how to install Payara Server on Debian 10.</p>
<h2>Payara Server and Java EE</h2>
<p>To serve Java EE applications with war format nothing better than Payara Server. Payara Server is an open-source Java EE application server built in Java. Its main advantage over its competitors is that it is strongly supported by the community. In addition, it allows running in almost any environment either in the cloud or hybrid. This gives us an idea of the potential of the application.</p>
<p>Its main features are:</p>
<ul>
<li>Fully Supported Server derived from GlassFish 5.x Open Source Edition.</li>
<li>Drop-in Replacement for GlassFish Open Source Edition.</li>
<li>Microprofile 1.3 API support.</li>
<li>Supports deployment of JavaEE 8 applications.</li>
<li>Production Enhancements including JCache, JBatch, and Hazelcast session clustering.</li>
<li>Payara Micro for cloud and microservice deployments.</li>
</ul>
<p>So, let us start.</p>
<h2>1.- Install Java 11 on Debian 10</h2>
<p>Payara Server is built with Java which in theory makes it work with any version of it. However, the development branch 5 of the Payara Server works better if we install Java 11. So this is the first step:</p>
<p>Open a terminal session of your server or computer and run the following:</p>
<pre>:~$ sudo apt install openjdk-11-jre openjdk-11-jdk</pre>
<p>Then, check the installed version:</p>
<pre>:~$ java -version
openjdk version "11.0.3" 2019-04-16
OpenJDK Runtime Environment (build 11.0.3+7-post-Debian-5)
OpenJDK 64-Bit Server VM (build 11.0.3+7-post-Debian-5, mixed mode, sharing)</pre>
<p>So, we can continue.</p>
<h2>2.- Download and install Payara Server on Debian 10</h2>
<p>Now it is necessary to download Payara Server from the <a href="https://www.payara.fish/software/downloads/" rel="noopener">project website</a>.</p>
<p>Then, it is necessary that you place it on your computer through an FTP server.</p>
<p>Read, <a href="https://www.osradar.com/how-to-set-up-an-ftp-server-on-debian-10-buster/" rel="noopener">How to set up an FTP server on Debian 10?</a></p>
<p>And move it to <code>/opt/</code></p>
<pre>:~$ sudo mv payara-5.192.zip /opt/</pre>
<p>Then unzip it.</p>
<pre>:~$ sudo unzip payara-5.192.zip</pre>
<p>Next, navigate into the folder and go to <code>bin</code>.</p>
<pre>:~$ cd payara5/bin/</pre>
<p>Now, we can start the server using the following command:</p>
<pre>:~$ sudo ./asadmin start-domain</pre>
<figure id="attachment_13154" aria-describedby="caption-attachment-13154" style="width: 509px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13154" src="https://www.osradar.com/wp-content/uploads/2019/08/1-14.jpeg" alt="1.- Starting Payara Server on Debian 10" width="509" height="155" srcset="https://www.osradar.com/wp-content/uploads/2019/08/1-14.jpeg 509w, https://www.osradar.com/wp-content/uploads/2019/08/1-14-300x91.jpeg 300w" sizes="(max-width: 509px) 100vw, 509px" /><figcaption id="caption-attachment-13154" class="wp-caption-text">1.- Starting Payara Server on Debian 10</figcaption></figure>
<p>Now, you can open your web browser and go to <code>http://your-server:4848</code> and you will see the following:</p>
<figure id="attachment_13152" aria-describedby="caption-attachment-13152" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13152" src="https://www.osradar.com/wp-content/uploads/2019/08/2-5.png" alt="2.- Starting Payara server" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/2-5.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/2-5-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/2-5-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/2-5-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/2-5-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/2-5-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/2-5-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13152" class="wp-caption-text">2.- Starting Payara server</figcaption></figure>
<p>After a few seconds, you will see this screen.</p>
<figure id="attachment_13153" aria-describedby="caption-attachment-13153" style="width: 1366px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13153" src="https://www.osradar.com/wp-content/uploads/2019/08/3-3.png" alt="3.- Payara server on Debian 10" width="1366" height="664" srcset="https://www.osradar.com/wp-content/uploads/2019/08/3-3.png 1366w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-300x146.png 300w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-768x373.png 768w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-1024x498.png 1024w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-696x338.png 696w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-1068x519.png 1068w, https://www.osradar.com/wp-content/uploads/2019/08/3-3-864x420.png 864w" sizes="(max-width: 1366px) 100vw, 1366px" /><figcaption id="caption-attachment-13153" class="wp-caption-text">3.- Payara server on Debian 10</figcaption></figure>
<p>Using this administration panel, you will be able to access all the server configurations. Also keep in mind, if you use a Firewall you need to open port 4848.</p>
<h2>3.- Change the default port of Payara Server</h2>
<p>To increase server security or for configuration reasons, it is possible to change the default port of Payara Server.</p>
<p>First, stop running the server:</p>
<pre>:~$ sudo ./asadmin stop-domain</pre>
<p>Now you have to edit a configuration file to change the port. To do this, open the domain.xml file located in <code>payara5/glassfish/domains/domain1/config/</code> directory.</p>
<pre>:~$ cd ../glassfish/domains/domain1/config/
:~$ sudo nano domain.xml</pre>
<p>In the file, in the <code>network-listener</code> section, you will see the port field and you will be able to change it to your liking.</p>
<figure id="attachment_13155" aria-describedby="caption-attachment-13155" style="width: 1287px" class="wp-caption alignnone"><img loading="lazy" class="size-full wp-image-13155" src="https://www.osradar.com/wp-content/uploads/2019/08/4-11.jpeg" alt="4.- Changing the default port" width="1287" height="225" srcset="https://www.osradar.com/wp-content/uploads/2019/08/4-11.jpeg 1287w, https://www.osradar.com/wp-content/uploads/2019/08/4-11-300x52.jpeg 300w, https://www.osradar.com/wp-content/uploads/2019/08/4-11-768x134.jpeg 768w, https://www.osradar.com/wp-content/uploads/2019/08/4-11-1024x179.jpeg 1024w, https://www.osradar.com/wp-content/uploads/2019/08/4-11-696x122.jpeg 696w, https://www.osradar.com/wp-content/uploads/2019/08/4-11-1068x187.jpeg 1068w" sizes="(max-width: 1287px) 100vw, 1287px" /><figcaption id="caption-attachment-13155" class="wp-caption-text">4.- Changing the default port</figcaption></figure>
<p>Now, start the server again.</p>
<pre>:~$ cd /opt/payara5/bin/
:~$ ./asadmin start-domain</pre>
<p>And that is it.</p>
<h2>2.- Deploy an application with Payara Server on Debian 10</h2>
<p>Deploying an application on Payara server is quite simple. To do this, just type the following command:</p>
<pre>:~$ ./asadmin deploy [WAR_file_path]</pre>
<p>And if you want to stop the deployment, this other command is enough:</p>
<pre>:~$ ./asadmin undeploy [WAR_file_path]</pre>
<p>And that&#8217;s enough. Now you can continue using Payara Server.</p>
<h2>Conclusion</h2>
<p>Java EE is one of the preferred options for more experienced developers to create professional applications. In this way, the Payara Server becomes a robust option to serve these applications. In addition, it is multiplatform and gutter with the backing of being created in Java. Well, in this post you have learned how to install it in Debian 10.</p>
<p>Please share this post and join <a href="https://t.me/osradar">our Telegram channel.</a> So, enjoy it.</p>
<p>The post <a rel="nofollow" href="https://www.osradar.com/install-payara-server-debian-10/">Install Payara Server on Debian 10</a> appeared first on <a rel="nofollow" href="https://www.osradar.com">Linux  Windows and android  Tutorials</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.osradar.com/install-payara-server-debian-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
