{"id":3662,"date":"2014-05-28T14:35:26","date_gmt":"2014-05-28T19:35:26","guid":{"rendered":"https:\/\/secure.rosehosting.com\/blog\/?p=3662"},"modified":"2025-07-24T05:35:06","modified_gmt":"2025-07-24T10:35:06","slug":"how-to-install-tomcat-8-on-a-centos-6-vps","status":"publish","type":"post","link":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/","title":{"rendered":"How to install Tomcat 8 on CentOS 6"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div>\n<h5 class=\"wp-block-heading\" id=\"h-status-this-os-is-no-longer-supported\">Status: This OS is no longer supported<\/h5>\n\n\n\n<p><em>This article, &#8220;How to install Tomcat 8 on a CentOS 6 VPS,&#8221; covers a version of CentOS that reached end of life (EOL). The developing company no longer supports it. As such, we no longer maintain this guide. If you are currently operating a server running CentOS 6, we highly recommend contacting <a href=\"https:\/\/www.rosehosting.com\/support\/\">RoseHosting&#8217;s fully managed support<\/a>. They can upgrade or migrate you to a supported version of AlmaLinux.<\/em><\/p>\n\n\n\n<p><strong>See Instead: <\/strong>Although this guide may still be helpful as a reference, it may not be compatible with other CentOS releases. The following RoseHosting tutorial outlines <a href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-and-secure-tomcat-10-on-almalinux\/\">how to install and secure Tomcat 10 on AlmaLinux<\/a>.<\/p>\n\n\n\n<!--more-->\n\n\n<p><a href=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png\"><img decoding=\"async\" class=\"alignleft size-full wp-image-3663\" src=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png\" alt=\"how-to-install-tomcat-8-on-centos-6-vps\" width=\"174\" height=\"173\" srcset=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png 174w, https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps-150x150.png 150w\" sizes=\"(max-width: 174px) 100vw, 174px\" \/><\/a>In the following tutorial you will learn <strong>how to install and set-up <a title=\"Tomcat\" href=\"https:\/\/secure.rosehosting.com\/blog\/tag\/tomcat\" target=\"_blank\" rel=\"noopener noreferrer\">Apache Tomcat<\/a> 8 on your <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">CentOS 6 VPS<\/a><\/strong>.<\/p>\n<p><strong>What is Tomcat?<\/strong><\/p>\n<p>Apache Tomcat (<em>before known as <\/em><span class=\"st\"><em>Jakarta Tomcat<\/em><\/span>) is an application server developed by the Apache Software Foundation that executes Java servlets and renders Web pages that include Java Server Page coding.<\/p>\n<h3><b>UPDATE THE SYSTEM<\/b><\/h3>\n<p>Make sure you are in a <code>screen<\/code> session and your <strong>CentOS 6<\/strong> based <a title=\"Linux VPS Hosting\" href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting.html\" target=\"_blank\" rel=\"noopener noreferrer\">Linux Virtual Server<\/a> is up-to-date by running:<\/p>\n<pre>## screen -U -S tomcat8-screen\n## yum update<\/pre>\n<h3><b>INSTALL JAVA 8<\/b><\/h3>\n<p>Download the latest JAVA 8 from <a title=\"Java Downloads\" href=\"http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> or use the following command to download JAVA JDK 8u5:<\/p>\n<p>for 32bit systems use:<\/p>\n<pre>## wget --no-cookies \\\n--no-check-certificate \\\n--header \"Cookie: oraclelicense=accept-securebackup-cookie\" \\\n\"http:\/\/download.oracle.com\/otn-pub\/java\/jdk\/8u5-b13\/jdk-8u5-linux-i586.rpm\" \\\n-O \/opt\/jdk-8-linux-i586.rpm<\/pre>\n<p>for 64bit systems use:<\/p>\n<pre>## wget --no-cookies \\\n--no-check-certificate \\\n--header \"Cookie: oraclelicense=accept-securebackup-cookie\" \\\n\"http:\/\/download.oracle.com\/otn-pub\/java\/jdk\/8u5-b13\/jdk-8u5-linux-x64.rpm\" \\\n-O \/opt\/jdk-8-linux-x64.rpm<\/pre>\n<p>once the JAVA package has been downloaded, install it using <code>rpm<\/code> as follows:<\/p>\n<p>for 32bit systems use:<\/p>\n<pre>## rpm -Uvh \/opt\/jdk-8-linux-i586.rpm<\/pre>\n<p>for 64bit systems use:<\/p>\n<pre>## rpm -Uvh \/opt\/jdk-8-linux-x64.rpm<\/pre>\n<h3><b>CONFIGURE JAVA<\/b><\/h3>\n<p>configure the newly installed JAVA package using <code>alternatives<\/code> as in:<\/p>\n<pre>## alternatives --install \/usr\/bin\/java java \/usr\/java\/jdk1.8.0_05\/jre\/bin\/java 20000\n## alternatives --install \/usr\/bin\/jar jar \/usr\/java\/jdk1.8.0_05\/bin\/jar 20000\n## alternatives --install \/usr\/bin\/javac javac \/usr\/java\/jdk1.8.0_05\/bin\/javac 20000\n## alternatives --install \/usr\/bin\/javaws javaws \/usr\/java\/jdk1.8.0_05\/jre\/bin\/javaws 20000\n## alternatives --set java \/usr\/java\/jdk1.8.0_05\/jre\/bin\/java\n## alternatives --set javaws \/usr\/java\/jdk1.8.0_05\/jre\/bin\/javaws\n## alternatives --set javac \/usr\/java\/jdk1.8.0_05\/bin\/javac\n## alternatives --set jar \/usr\/java\/jdk1.8.0_05\/bin\/jar<\/pre>\n<p>check the JAVA version running on your system:<\/p>\n<pre>## java -version<\/pre>\n<h3><b>INSTALL TOMCAT 8<\/b><\/h3>\n<p>Create a separate user which will run the Tomcat server:<\/p>\n<pre>## useradd -r tomcat8 --shell \/bin\/false<\/pre>\n<p>Download the latest Tomcat 8 version from <a title=\"Tomcat Downloads\" href=\"http:\/\/tomcat.apache.org\/download-80.cgi\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a> or use the following command to download Tomcat 8.0.5<\/p>\n<pre>## wget http:\/\/mirrors.koehn.com\/apache\/tomcat\/tomcat-8\/v8.0.5\/bin\/apache-tomcat-8.0.5.tar.gz -P \/tmp<\/pre>\n<p>Extract the contents of the Tomcat archive to <code>\/opt<\/code> using the following command:<\/p>\n<pre>## tar -zxf \/tmp\/apache-tomcat-8.0.5.tar.gz -C \/opt<\/pre>\n<pre>## ln -s \/opt\/apache-tomcat-8.0.5 \/opt\/tomcat-latest\n## chown -hR tomcat8: \/opt\/tomcat-latest \/opt\/apache-tomcat-8.0.5<\/pre>\n<h3><b>START THE TOMCAT 8 SERVICE<\/b><\/h3>\n<p>Create the following init script in <code>\/etc\/init.d\/tomcat8<\/code><\/p>\n<pre>#!\/bin\/bash\n#\n# tomcat8\n#\n# chkconfig: - 80 20\n#\n### BEGIN INIT INFO\n# Provides: tomcat8\n# Required-Start: $network $syslog\n# Required-Stop: $network $syslog\n# Default-Start:\n# Default-Stop:\n# Description: Tomcat 8\n# Short-Description: start and stop tomcat\n### END INIT INFO\n\n## Source function library.\n#. \/etc\/rc.d\/init.d\/functions\nexport JAVA_HOME=\/usr\/java\/default\nexport JAVA_OPTS=\"-Dfile.encoding=UTF-8 \\\n  -Dnet.sf.ehcache.skipUpdateCheck=true \\\n  -XX:+UseConcMarkSweepGC \\\n  -XX:+CMSClassUnloadingEnabled \\\n  -XX:+UseParNewGC \\\n  -XX:MaxPermSize=128m \\\n  -Xms512m -Xmx512m\"\nexport PATH=$JAVA_HOME\/bin:$PATH\nTOMCAT_HOME=\/opt\/tomcat-latest\nTOMCAT_USER=tomcat8\nSHUTDOWN_WAIT=20\n\ntomcat_pid() {\n  echo `ps aux | grep org.apache.catalina.startup.Bootstrap | grep -v grep | awk '{ print $2 }'`\n}\n\nstart() {\n  pid=$(tomcat_pid)\n  if [ -n \"$pid\" ] \n  then\n    echo \"Tomcat is already running (pid: $pid)\"\n  else\n    # Start tomcat\n    echo \"Starting tomcat\"\n    ulimit -n 100000\n    umask 007\n    \/bin\/su -p -s \/bin\/sh $TOMCAT_USER $TOMCAT_HOME\/bin\/startup.sh\n  fi\n\n\n  return 0\n}\n\nstop() {\n  pid=$(tomcat_pid)\n  if [ -n \"$pid\" ]\n  then\n    echo \"Stoping Tomcat\"\n    \/bin\/su -p -s \/bin\/sh $TOMCAT_USER $TOMCAT_HOME\/bin\/shutdown.sh\n\n    let kwait=$SHUTDOWN_WAIT\n    count=0;\n    until [ `ps -p $pid | grep -c $pid` = '0' ] || [ $count -gt $kwait ]\n    do\n      echo -n -e \"\\nwaiting for processes to exit\";\n      sleep 1\n      let count=$count+1;\n    done\n\n    if [ $count -gt $kwait ]; then\n      echo -n -e \"\\nkilling processes which didn't stop after $SHUTDOWN_WAIT seconds\"\n      kill -9 $pid\n    fi\n  else\n    echo \"Tomcat is not running\"\n  fi\n \n  return 0\n}\n\ncase $1 in\nstart)\n  start\n;; \nstop)   \n  stop\n;; \nrestart)\n  stop\n  start\n;;\nstatus)\n  pid=$(tomcat_pid)\n  if [ -n \"$pid\" ]\n  then\n    echo \"Tomcat is running with pid: $pid\"\n  else\n    echo \"Tomcat is not running\"\n  fi\n;; \nesac    \nexit 0<\/pre>\n<p>make the script executable using <code>chmod<\/code><\/p>\n<pre>## chmod +x \/etc\/init.d\/tomcat8<\/pre>\n<p>Start the Tomcat 8 server using:<\/p>\n<pre>## service tomcat8 start<\/pre>\n<p>Add the Tomcat 8 service to system startup:<\/p>\n<pre>## chkconfig tomcat8 on<\/pre>\n<p>Access your newly installed Tomcat at http:\/\/YOUR_IP:8080<\/p>\n<hr \/>\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 Tomcat 8 for you. They are available 24&#215;7 and will take care of your request immediately. You can also consider reading our post on <a href=\"https:\/\/www.rosehosting.com\/blog\/install-tomcat-9-on-centos-7\/\">Install Tomcat 9 on CentOS 7<\/a> for updates.<\/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>","protected":false},"excerpt":{"rendered":"<p>Status: This OS is no longer supported This article, &#8220;How to install Tomcat 8 on a CentOS 6 VPS,&#8221; covers &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"How to install Tomcat 8 on CentOS 6\" class=\"read-more button\" href=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#more-3662\" aria-label=\"Read more about How to install Tomcat 8 on CentOS 6\">Read More<\/a><\/p>\n","protected":false},"author":4,"featured_media":3663,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1699,13,1707],"tags":[34,77,90],"class_list":["post-3662","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-tutorials","category-web-servers","tag-centos","tag-java","tag-tomcat","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.3 (Yoast SEO v27.3) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to install Tomcat 8 on CentOS 6 | RoseHosting<\/title>\n<meta name=\"description\" content=\"Learn how to install Tomcat 8 on CentOS 6 for your VPS, despite its end-of-life status. Get started with this tutorial.\" \/>\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-tomcat-8-on-a-centos-6-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 Tomcat 8 on CentOS 6\" \/>\n<meta property=\"og:description\" content=\"How to install Tomcat 8 on CentOS 6 | RoseHosting\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-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-05-28T19:35:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-24T10:35:06+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png\" \/>\n\t<meta property=\"og:image:width\" content=\"174\" \/>\n\t<meta property=\"og:image:height\" content=\"173\" \/>\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-tomcat-8-on-a-centos-6-vps\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/\"},\"author\":{\"name\":\"Jeff Wilson\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#\\\/schema\\\/person\\\/7ce77a842fa6a9a7f8efa186f2353713\"},\"headline\":\"How to install Tomcat 8 on CentOS 6\",\"datePublished\":\"2014-05-28T19:35:26+00:00\",\"dateModified\":\"2025-07-24T10:35:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/\"},\"wordCount\":418,\"commentCount\":8,\"publisher\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/how-to-install-tomcat-8-on-centos-6-vps.png\",\"keywords\":[\"centos\",\"java\",\"tomcat\"],\"articleSection\":[\"CentOS\",\"Tutorials\",\"Web Servers\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/\",\"name\":\"How to install Tomcat 8 on CentOS 6 | RoseHosting\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/how-to-install-tomcat-8-on-centos-6-vps.png\",\"datePublished\":\"2014-05-28T19:35:26+00:00\",\"dateModified\":\"2025-07-24T10:35:06+00:00\",\"description\":\"Learn how to install Tomcat 8 on CentOS 6 for your VPS, despite its end-of-life status. Get started with this tutorial.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/how-to-install-tomcat-8-on-centos-6-vps.png\",\"contentUrl\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/wp-content\\\/uploads\\\/2014\\\/05\\\/how-to-install-tomcat-8-on-centos-6-vps.png\",\"width\":174,\"height\":173},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/how-to-install-tomcat-8-on-a-centos-6-vps\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.rosehosting.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to install Tomcat 8 on CentOS 6\"}]},{\"@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 Tomcat 8 on CentOS 6 | RoseHosting","description":"Learn how to install Tomcat 8 on CentOS 6 for your VPS, despite its end-of-life status. Get started with this tutorial.","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-tomcat-8-on-a-centos-6-vps\/","og_locale":"en_US","og_type":"article","og_title":"How to install Tomcat 8 on CentOS 6","og_description":"How to install Tomcat 8 on CentOS 6 | RoseHosting","og_url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/","og_site_name":"RoseHosting","article_publisher":"https:\/\/www.facebook.com\/RoseHosting","article_author":"https:\/\/www.facebook.com\/rosehosting.helpdesk","article_published_time":"2014-05-28T19:35:26+00:00","article_modified_time":"2025-07-24T10:35:06+00:00","og_image":[{"width":174,"height":173,"url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-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-tomcat-8-on-a-centos-6-vps\/#article","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/"},"author":{"name":"Jeff Wilson","@id":"https:\/\/www.rosehosting.com\/blog\/#\/schema\/person\/7ce77a842fa6a9a7f8efa186f2353713"},"headline":"How to install Tomcat 8 on CentOS 6","datePublished":"2014-05-28T19:35:26+00:00","dateModified":"2025-07-24T10:35:06+00:00","mainEntityOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/"},"wordCount":418,"commentCount":8,"publisher":{"@id":"https:\/\/www.rosehosting.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png","keywords":["centos","java","tomcat"],"articleSection":["CentOS","Tutorials","Web Servers"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/","url":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/","name":"How to install Tomcat 8 on CentOS 6 | RoseHosting","isPartOf":{"@id":"https:\/\/www.rosehosting.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#primaryimage"},"image":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#primaryimage"},"thumbnailUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png","datePublished":"2014-05-28T19:35:26+00:00","dateModified":"2025-07-24T10:35:06+00:00","description":"Learn how to install Tomcat 8 on CentOS 6 for your VPS, despite its end-of-life status. Get started with this tutorial.","breadcrumb":{"@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#primaryimage","url":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png","contentUrl":"https:\/\/www.rosehosting.com\/blog\/wp-content\/uploads\/2014\/05\/how-to-install-tomcat-8-on-centos-6-vps.png","width":174,"height":173},{"@type":"BreadcrumbList","@id":"https:\/\/www.rosehosting.com\/blog\/how-to-install-tomcat-8-on-a-centos-6-vps\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.rosehosting.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to install Tomcat 8 on CentOS 6"}]},{"@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\/3662","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=3662"}],"version-history":[{"count":2,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3662\/revisions"}],"predecessor-version":[{"id":50888,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/posts\/3662\/revisions\/50888"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media\/3663"}],"wp:attachment":[{"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/media?parent=3662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/categories?post=3662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rosehosting.com\/blog\/wp-json\/wp\/v2\/tags?post=3662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}