{"id":3753,"date":"2014-07-09T16:56:03","date_gmt":"2014-07-09T21:56:03","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3753"},"modified":"2022-06-03T03:46:52","modified_gmt":"2022-06-03T08:46:52","slug":"how-to-install-glassfish-4-on-an-ubuntu-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/","title":{"rendered":"How to install GlassFish 4 on an Ubuntu VPS"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><p><img decoding=\"async\" class=\"alignleft wp-image-3755 size-full\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png\" alt=\"glassfish vps\" width=\"144\" height=\"35\" \/>This tutorial will show you how to install <strong>GlassFish 4<\/strong> and JDK (Java SE Development Kit) on a <strong>VPS<\/strong> with <strong>Ubuntu 14.04<\/strong> installed on it.<\/p>\n<p>GlassFish is an open source application server that implements the newest features in the Java EE 7 platform. GlassFish 4 requires JDK version 1.7 installed on your <a title=\"Linux VPS\" href=\"https:\/\/www.rosehosting.com\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS<\/a>.<\/p>\n<p><!--more--><\/p>\n<p>To install Oracle JDK 1.7 on your server, use the following commands:<\/p>\n<pre>sudo apt-get update\nsudo apt-get install python-software-properties software-properties-common\nsudo add-apt-repository ppa:webupd8team\/java\nsudo apt-get update\nsudo apt-get install oracle-java7-installer<\/pre>\n<p>Verify that JDK is installed on\u00a0your <a title=\"Ubuntu VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/ubuntu-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Ubuntu VPS<\/a>:<\/p>\n<pre>#javac -version\njavac 1.7.0_60<\/pre>\n<p>The next step is to download and unpack the GlassFish archive. At the time of writing this tutorial, the latest stable version is GlassFish 4.0 . Once you have the package, unpack it into the directory of your choice (in this tutorial we use &#8216;\/opt&#8217; for the GlassFish 4 installation). So, download and unpack GlassFish 4:<\/p>\n<pre>cd \/opt\/\nwget http:\/\/download.java.net\/glassfish\/4.0\/release\/glassfish-4.0.zip\nunzip glassfish-4.0.zip<\/pre>\n<p>It is recommended practice to run GlassFish as its own user and to do this we will create a GlassFish user:<\/p>\n<pre>useradd glassfish\nchown -R glassfish:glassfish \/opt\/glassfish4<\/pre>\n<p>In order to make an init\u00a0script for the GlassFish service, create a &#8216;glassfish&#8217; file to the &#8216;\/etc\/init.d&#8217; directory on your server:<\/p>\n<pre>vi \/etc\/init.d\/glassfish<\/pre>\n<p>Add the following lines:<\/p>\n<pre>#!\/bin\/bash\n#\n# description: Startup script for Glassfish Application Server\n# processname: glassfish\n\nGLASSFISH_HOME=\/opt\/glassfish4\/glassfish\nexport GLASSFISH_HOME\nGLASSFISH_USER=glassfish\nexport GLASSFISH_USER\n\nstart() {\necho -n \"Starting Glassfish: \"\nsu $GLASSFISH_USER -c \"$GLASSFISH_HOME\/bin\/asadmin start-domain domain1\"\nsleep 2\necho \"done\"\n}\n\nstop() {\necho -n \"Stopping Glassfish: \"\nsu $GLASSFISH_USER -c \"$GLASSFISH_HOME\/bin\/asadmin stop-domain domain1\"\necho \"done\"\n}\n\ncase \"$1\" in\nstart)\nstart\n;;\nstop)\nstop\n;;\nrestart)\nstop\nstart\n;;\n*)\necho $\"Usage: glassfish {start|stop|restart}\"\nexit\nesac<\/pre>\n<p>If you want to add this service to be started on boot up, you can simply use the following command:<\/p>\n<pre>update-rc.d glassfish defaults<\/pre>\n<p>Make the &#8216;glassfish&#8217; script executable:<\/p>\n<pre>chmod 755 \/etc\/init.d\/glassfish<\/pre>\n<p>To start GlassFish, use the following command:<\/p>\n<pre>sudo \/etc\/init.d\/glassfish start<\/pre>\n<p>To stop GlassFish, use the following command:<\/p>\n<pre>sudo \/etc\/init.d\/glassfish stop<\/pre>\n<p>In case you encounter problems while stopping the GlassFish service, you can always use the kill command:<\/p>\n<pre>sudo killall -9 java<\/pre>\n<p>The GlassFish\u00a0service can be restarted by either issuing a combination of stop and start commands or using:<\/p>\n<pre>sudo \/etc\/init.d\/glassfish restart<\/pre>\n<p>Open your favorite web browser and access\u00a0GlassFish using http:\/\/your-domain.com:8080<\/p>\n<p>You could download a sample WAR file:<\/p>\n<pre>cd \/opt\nwget https:\/\/glassfish.java.net\/downloads\/quickstart\/hello.war<\/pre>\n<p>To deploy the downloaded application, copy &#8216;hello.war&#8217; file to the &#8216;\/opt\/glassfish4\/glassfish\/domains\/domain1\/autodeploy&#8217; directory on your server, or execute the following command:<\/p>\n<pre>cd \/opt\/glassfish4\/glassfish\/bin\n.\/asadmin deploy hello.war<\/pre>\n<p>Open http:\/\/your-domain.com:8080\/hello and test the sample web application.<\/p>\n<p>To <span class=\"st\">turn the remote administration on<\/span> and access the\u00a0GlassFish admin console via web browser, execute the following commands:<\/p>\n<pre>cd \/opt\/glassfish4\/glassfish\/bin\n.\/asadmin --user admin\nasadmin&gt; change-admin-password\n.\/asadmin --host your-domain.com --port 4848 enable-secure-admin<\/pre>\n<p>Now you can access the\u00a0GlassFish admin console using https:\/\/your-domain.com:4848<br \/>\n<a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4.png\"><img decoding=\"async\" class=\"alignnone wp-image-3757\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4-1024x471.png\" alt=\"glassfish4\" width=\"350\" height=\"161\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4-1024x471.png 1024w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4-300x138.png 300w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4-600x276.png 600w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4-624x287.png 624w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish4.png 1417w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/a><\/p>\n<p>Of course you don\u2019t have to do any of this if you use one of our <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux VPS Hosting<\/a> services, in which case you can simply ask our expert Linux admins to install GlassFish for you. They are available 24&#215;7 and will take care of your request immediately. For new updates, you can also try reading <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-on-ubuntu-18-04\/\">How to Install GlassFish on Ubuntu 18.04<\/a>.<\/p>\n<p><strong><span style=\"color: #ff0000;\">PS<\/span>.<\/strong> If you liked this post please share it with your friends on the social networks using the buttons on the left or simply leave a reply below. Thanks.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to install GlassFish 4 and JDK (Java SE Development Kit) on a VPS with &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install GlassFish 4 on an Ubuntu VPS\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#more-3753\" aria-label=\"Read more about How to install GlassFish 4 on an Ubuntu VPS\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":3755,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,1698,1707],"tags":[466,465,200],"class_list":["post-3753","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","category-ubuntu","category-web-servers","tag-glassfish-4","tag-install-glassfish","tag-ubuntu-vps","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.5 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install GlassFish 4 on an Ubuntu VPS | RoseHosting<\/title>\n<meta name=\"description\" content=\"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install GlassFish 4 on an Ubuntu VPS\" \/>\n<meta property=\"og:description\" content=\"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/\" \/>\n<meta property=\"og:site_name\" content=\"RoseHosting\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RoseHosting\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/rosehosting.helpdesk\" \/>\n<meta property=\"article:published_time\" content=\"2014-07-09T21:56:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-06-03T08:46:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"144\" \/>\n\t<meta property=\"og:image:height\" content=\"35\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jeff Wilson\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:site\" content=\"@rosehosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jeff Wilson\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install GlassFish 4 on an Ubuntu VPS\",\"datePublished\":\"2014-07-09T21:56:03+00:00\",\"dateModified\":\"2022-06-03T08:46:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/\"},\"wordCount\":431,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/glassfish-vps.png\",\"keywords\":[\"glassfish 4\",\"install glassfish\",\"ubuntu vps\"],\"articleSection\":[\"Tutorials\",\"Ubuntu\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/\",\"name\":\"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/glassfish-vps.png\",\"datePublished\":\"2014-07-09T21:56:03+00:00\",\"dateModified\":\"2022-06-03T08:46:52+00:00\",\"description\":\"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/glassfish-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/glassfish-vps.png\",\"width\":144,\"height\":35,\"caption\":\"glassfish vps\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-glassfish-4-on-an-ubuntu-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install GlassFish 4 on an Ubuntu VPS\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"name\":\"RoseHosting.com\",\"description\":\"Premium Linux Tutorials Since 2001\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\",\"name\":\"RoseHosting\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/03\\\/android-chrome-192x192-1.png\",\"width\":192,\"height\":192,\"caption\":\"RoseHosting\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/RoseHosting\",\"https:\\\/\\\/x.com\\\/rosehosting\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/rosehosting\\\/\"],\"description\":\"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.\",\"email\":\"info@rosehosting.com\",\"telephone\":\"(314) 275-0414\",\"legalName\":\"Rose Web Services LLC\",\"foundingDate\":\"2001-04-02\",\"numberOfEmployees\":{\"@type\":\"QuantitativeValue\",\"minValue\":\"11\",\"maxValue\":\"50\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\",\"name\":\"Jeff Wilson\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g\",\"caption\":\"Jeff Wilson\"},\"description\":\"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.\",\"sameAs\":[\"https:\\\/\\\/www.rosehosting.com\",\"https:\\\/\\\/www.facebook.com\\\/rosehosting.helpdesk\"],\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/author\\\/jwilson\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting","description":"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install GlassFish 4 on an Ubuntu VPS","og_description":"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-07-09T21:56:03+00:00","article_modified_time":"2022-06-03T08:46:52+00:00","og_image":[{"width":144,"height":35,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png","type":"image\/png"}],"author":"Jeff Wilson","twitter_card":"summary_large_image","twitter_creator":"@rosehosting","twitter_site":"@rosehosting","twitter_misc":{"Written by":"Jeff Wilson","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install GlassFish 4 on an Ubuntu VPS","datePublished":"2014-07-09T21:56:03+00:00","dateModified":"2022-06-03T08:46:52+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/"},"wordCount":431,"commentCount":2,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png","keywords":["glassfish 4","install glassfish","ubuntu vps"],"articleSection":["Tutorials","Ubuntu","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/","name":"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png","datePublished":"2014-07-09T21:56:03+00:00","dateModified":"2022-06-03T08:46:52+00:00","description":"How to install GlassFish 4 on an Ubuntu VPS | RoseHosting","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/glassfish-vps.png","width":144,"height":35,"caption":"glassfish vps"},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-glassfish-4-on-an-ubuntu-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install GlassFish 4 on an Ubuntu VPS"}]},{"@type":"WebSite","@id":"https:\/\/www.rosehosting.com\/blog\/#website","url":"https:\/\/www.rosehosting.com\/blog\/","name":"RoseHosting.com","description":"Premium Linux Tutorials Since 2001","publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.rosehosting.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.rosehosting.com\/blog\/#organization","name":"RoseHosting","url":"https:\/\/www.rosehosting.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2022\/03\/android-chrome-192x192-1.png","width":192,"height":192,"caption":"RoseHosting"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RoseHosting","https:\/\/x.com\/rosehosting","https:\/\/www.linkedin.com\/in\/rosehosting\/"],"description":"RoseHosting is a leading Linux hosting provider, serving thousands of clients world-wide since 2001.","email":"info@rosehosting.com","telephone":"(314) 275-0414","legalName":"Rose Web Services LLC","foundingDate":"2001-04-02","numberOfEmployees":{"@type":"QuantitativeValue","minValue":"11","maxValue":"50"}},{"@type":"Person","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713","name":"Jeff Wilson","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0985fed6af04cc60703d2ecf27c65dfa373e0ca00eb21c0b03477e099ea3f99f?s=96&r=g","caption":"Jeff Wilson"},"description":"An experienced Linux veteran with many years of experience. Helping other Linux admins with frequent Linux and business-related blog posts on the RoseHosting blog. Techie by choice. Loving nature and travel. Happily married and father of two lovely children.","sameAs":["https:\/\/www.rosehosting.com","https:\/\/www.facebook.com\/rosehosting.helpdesk"],"url":"https:\/\/www.rosehosting.com\/blog\/author\/jwilson\/"}]}},"_links":{"self":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/comments?post=3753"}],"version-history":[{"count":1,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3753\/revisions"}],"predecessor-version":[{"id":36667,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3753\/revisions\/36667"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/3755"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=3753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=3753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=3753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}