{"id":3341,"date":"2023-04-29T16:41:29","date_gmt":"2023-04-29T13:41:29","guid":{"rendered":"https:\/\/www.virtono.com\/community\/?p=3341"},"modified":"2023-04-27T15:13:20","modified_gmt":"2023-04-27T12:13:20","slug":"how-to-install-tomcat-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/","title":{"rendered":"How to install Tomcat on CentOS 7"},"content":{"rendered":"\n<p>If you are planning to install Tomcat on CentOS 7, you are in the right place. In this article, we will discuss the steps required to install Tomcat on CentOS 7. Tomcat is a popular Java application server that is widely used to deploy and run web applications.<\/p>\n\n\n\n<p>Before we begin, let&#8217;s take a look at the prerequisites.<\/p>\n\n\n\n<p>Prerequisites:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>A CentOS 7 server.<\/li>\n\n\n\n<li>A non-root user with sudo privileges.<\/li>\n\n\n\n<li>Java Development Kit (JDK) installed on your server.<\/li>\n<\/ol>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_73 counter-hierarchy ez-toc-counter ez-toc-light-blue ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/#Step_1_Update_the_system\" title=\"Step 1: Update the system\">Step 1: Update the system<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/#Step_2_Install_JDK\" title=\"Step 2: Install JDK\">Step 2: Install JDK<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/#Step_3_Install_Tomcat_on_CentOS_7\" title=\"Step 3: Install Tomcat on CentOS 7\">Step 3: Install Tomcat on CentOS 7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/#Step_4_Start_Tomcat_on_CentOS_7\" title=\"Step 4: Start Tomcat on CentOS 7\">Step 4: Start Tomcat on CentOS 7<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/#Step_5_Navigate_to_the_Web_Interface\" title=\"Step 5: Navigate to the Web Interface\">Step 5: Navigate to the Web Interface<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_1_Update_the_system\"><\/span>Step 1: Update the system<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Before we start installing any new packages, it is always recommended to update the system to ensure that all packages are up to date. To do this, open the terminal and run the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum update<\/code><\/pre>\n\n\n\n<p>This will update all the installed packages on your CentOS 7 server.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_2_Install_JDK\"><\/span>Step 2: Install JDK<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Tomcat requires a Java runtime environment to be installed on your system. If you do not have Java installed on your system, you can install it by running the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install java-1.8.0-openjdk-devel<\/code><\/pre>\n\n\n\n<p>This will install the Java Development Kit (JDK) version 1.8.0 on your system.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"374\" data-attachment-id=\"3343\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/attachment\/screenshot-2023-04-27-at-14-17-29\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?fit=1029%2C512&amp;ssl=1\" data-orig-size=\"1029,512\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"Screenshot-2023-04-27-at-14.17.29\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?fit=300%2C149&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?fit=750%2C374&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?resize=750%2C374&#038;ssl=1\" alt=\"How to install Tomcat on CentOS 7\" class=\"wp-image-3343\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?resize=1024%2C510&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?resize=300%2C149&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?resize=768%2C382&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/Screenshot-2023-04-27-at-14.17.29.png?w=1029&amp;ssl=1 1029w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_3_Install_Tomcat_on_CentOS_7\"><\/span>Step 3: Install Tomcat on CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>You are now prepared to proceed with the installation of Tomcat on CentOS 7. Execute the command below to install the Tomcat package:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>yum install tomcat<\/code><\/pre>\n\n\n\n<p>To install Tomcat, respond with &#8220;y&#8221; when prompted for confirmation. This will not only install Tomcat 7 and its dependencies, but it will also generate the Tomcat user.<\/p>\n\n\n\n<p>We will now modify the Java options that are utilized by Tomcat during startup. Please access the Tomcat configuration file:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>nano \/usr\/share\/tomcat\/conf\/tomcat.conf<\/code><\/pre>\n\n\n\n<p>Insert the following JAVA_OPTS line into the file. You may adjust the Xmx and MaxPermSize values as desired, as they dictate how much memory Tomcat can consume:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>JAVA_OPTS=\"-Djava.security.egd=file:\/dev\/.\/urandom -Djava.awt.headless=true -Xmx256m -XX:MaxPermSize=128m -XX:+UseConcMarkSweepGC\"<\/code><\/pre>\n\n\n\n<p>Execute the following command to install the default Tomcat root page (tomcat-webapps), as well as the Tomcat Web Application Manager and <a href=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/install-varnish-cache-for-apache-on-centos\/\">Virtual Host Manager<\/a> (tomcat-admin-webapps):<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo yum install tomcat-webapps tomcat-admin-webapps<\/code><\/pre>\n\n\n\n<p>To utilize the manager webapp that was installed in the previous step, we need to establish a login for our Tomcat server. This can be accomplished by modifying the tomcat-users.xml file:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>nano \/usr\/share\/tomcat\/conf\/tomcat-users.xml<\/code><\/pre>\n\n\n\n<p>Add the following line between &lt;tomcat-users> &#8230;. &lt;\/tomcat-users><\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>&lt;user\tusername=\"admin\" password=\"YOUR-STRONG-PASSWORD\" roles=\"manager-gui,admin-gui\"\/><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_4_Start_Tomcat_on_CentOS_7\"><\/span>Step 4: Start Tomcat on CentOS 7<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>Next, run the following commands to reload the systemd configuration and start the Tomcat service:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo systemctl daemon-reload <\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo systemctl start tomcat<\/code><\/pre>\n\n\n\n<p>Finally, run the following command to enable Tomcat to start automatically when the server reboots:<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-black-background-color has-text-color has-background\"><code>sudo systemctl enable tomcat<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading has-header-gradient-color has-text-color\"><span class=\"ez-toc-section\" id=\"Step_5_Navigate_to_the_Web_Interface\"><\/span>Step 5: Navigate to the Web Interface<span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<p>After successfully starting Tomcat, you may access the web-based management interface through a web browser by entering the public IP address of the server on port 8080.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"750\" height=\"225\" data-attachment-id=\"3344\" data-permalink=\"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-tomcat-on-centos-7\/attachment\/virtono-tomcat\/\" data-orig-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?fit=1022%2C306&amp;ssl=1\" data-orig-size=\"1022,306\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"virtono-tomcat\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?fit=300%2C90&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?fit=750%2C225&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?resize=750%2C225&#038;ssl=1\" alt=\"Access Tomcat on CentOS 7\" class=\"wp-image-3344\" srcset=\"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?w=1022&amp;ssl=1 1022w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?resize=300%2C90&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/virtono-tomcat.png?resize=768%2C230&amp;ssl=1 768w\" sizes=\"auto, (max-width: 750px) 100vw, 750px\" \/><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<p>In this article, we have discussed the steps required to install and configure Tomcat on CentOS 7. We have covered the prerequisites, downloading and installing Tomcat, creating a Tomcat user, starting Tomcat, and setting Tomcat to start automatically. By following these steps, you can easily set up a Tomcat on CentOS 7 server and deploy your Java web applications.<\/p>\n\n\n\n<p>If you need a high-quality server for your Tomcat server you can choose from our 29 data centers are located around the world, and we\u2019re proud to offer our services in these locations:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.virtono.com\/losangeles-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Los Angeles, CA, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/dallas-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Dallas, TX, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/miami-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Miami, FL, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/newyork-vps\" target=\"_blank\" rel=\"noreferrer noopener\">New York, NY, United States<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/montreal-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Montreal, Canada<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/dublin-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Dublin, Ireland<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/manchester-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Manchester, United Kingdom<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/london-vps\" target=\"_blank\" rel=\"noreferrer noopener\">London, United Kingdom<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/paris-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Paris, France<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/madrid-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Madrid, Spain<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/brussels-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Bruxelles, Belgium<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/amsterdam-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Amsterdam, Netherlands<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/oslo-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Oslo, Norway<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/stockholm-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Stockholm, Sweden<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/copenhagenvps-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Copenhagen, Denmark<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/frankfurt-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Frankfurt, Germany<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/warsaw-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Warsaw, Poland<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/prague-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Prague, Czech Republic<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/vienna-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Vienna, Austria<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/zurich-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Zurich, Switzerland<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/milan-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Milan, Italy<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/budapest-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Budapest, Hungary<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/belgrade-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Belgrade, Serbia<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/sofia-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Sofia, Bulgaria<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/bucharest-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Bucharest, Romania<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/singapore-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Singapore<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/hongkong-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Hong Kong<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/tokyo-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Tokyo, Japan<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.virtono.com\/sydney-vps\" target=\"_blank\" rel=\"noreferrer noopener\">Sydney, Australia<\/a><\/li>\n<\/ol>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are planning to install Tomcat on CentOS 7, you are in the right place. In this article, we will discuss the steps required to install Tomcat on CentOS 7. Tomcat is a popular Java application server that is widely used to deploy and run web applications. Before we<\/p>\n","protected":false},"author":8,"featured_media":3342,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[362,361,358,359,360,357],"class_list":["post-3341","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorial-how-to","tag-apache-tomcat","tag-install-jdk","tag-install-tomcat","tag-java-development-kit","tag-start-tomcat","tag-tomcat-on-centos"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-Tomcat-on-CentOS-7.png?fit=600%2C330&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7ISfL-RT","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":143,"url":"https:\/\/www.virtono.com\/community\/knowledgebase\/difference-between-apache-http-and-apache-tomcat\/","url_meta":{"origin":3341,"position":0},"title":"Difference between Apache http and Apache Tomcat","author":"Daniel Draga","date":"July 23, 2016","format":false,"excerpt":"This article is part of series of articles on Apache. Here is the list: Introduction to Apache Web Server. Difference between Apache http and Apache Tomcat.(this one) How to Install and Run Apache Web Server on Ubuntu Linux How to Install and Run Apache Web Server on Windows 10. Original\u2026","rel":"","context":"In &quot;Knowledgebase&quot;","block_context":{"text":"Knowledgebase","link":"https:\/\/www.virtono.com\/community\/category\/knowledgebase\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2016\/07\/apache-tomcat.png?fit=208%2C207&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3438,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-spark-on-ubuntu-22-04-and-centos\/","url_meta":{"origin":3341,"position":1},"title":"How to install Apache Spark on Ubuntu 22.04 and CentOS","author":"George B.","date":"June 1, 2023","format":false,"excerpt":"We will guide you through the process of installing Apache Spark on Ubuntu 22.04, 20.04, and CentOS, ensuring you have all the necessary tools to leverage this incredible technology. Apache Spark is a powerful open-source framework for distributed computing that has become a go-to solution for big data processing. With\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/05\/How-to-install-Apache-Spark-on-Ubuntu-22.04-and-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3472,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-apache-maven-on-centos-7\/","url_meta":{"origin":3341,"position":2},"title":"How to install Apache Maven on CentOS 7","author":"George B.","date":"June 8, 2023","format":false,"excerpt":"We will walk you through the process of installing Apache Maven on CentOS Linux. We will cover the installation of the necessary packages, configuring the environment variables, and demonstrate how to build projects using Maven. Apache Maven is a powerful build automation tool that plays a crucial role in managing\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-install-Apache-Maven-on-CentOS-7.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3270,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/install-the-apache-on-centos\/","url_meta":{"origin":3341,"position":3},"title":"Install the Apache on CentOS","author":"George B.","date":"April 19, 2023","format":false,"excerpt":"In this article, we will go over the steps to install Apache on CentOS. Apache is a widely used web server software that allows you to serve web pages to users over the internet. It is a free and open-source software that is highly configurable and can be customized to\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-apache-on-centos.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-apache-on-centos.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/04\/How-to-install-apache-on-centos.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]},{"id":3904,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-flask-on-ubuntu-and-centos\/","url_meta":{"origin":3341,"position":4},"title":"How to Install Flask on Ubuntu and CentOS","author":"George B.","date":"September 20, 2023","format":false,"excerpt":"Flask, a micro web framework written in Python, is an excellent tool for developers looking to create robust web applications. Its simplicity and flexibility make it a popular choice among developers worldwide. This article will guide you through the process of installing Flask on Ubuntu and CentOS. Prerequisites Make sure\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/09\/How-to-Install-Flask-on-Ubuntu-and-CentOS.png?fit=360%2C240&ssl=1&resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3487,"url":"https:\/\/www.virtono.com\/community\/tutorial-how-to\/how-to-install-and-configure-fail2ban-on-centos\/","url_meta":{"origin":3341,"position":5},"title":"How to Install and Configure fail2ban on CentOS","author":"George B.","date":"June 10, 2023","format":false,"excerpt":"We'll walk you through the step-by-step process of installing and configuring fail2ban on CentOS. By the end, you'll have a robust defense mechanism in place to protect your server from unauthorized access attempts. In today's interconnected world, security is of utmost importance, especially for servers and systems that are constantly\u2026","rel":"","context":"In &quot;Tutorials&quot;","block_context":{"text":"Tutorials","link":"https:\/\/www.virtono.com\/community\/category\/tutorial-how-to\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.virtono.com\/community\/wp-content\/uploads\/2023\/06\/How-to-Install-and-Configure-fail2ban-on-CentOS.png?fit=600%2C330&ssl=1&resize=525%2C300 1.5x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3341","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/comments?post=3341"}],"version-history":[{"count":1,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3341\/revisions"}],"predecessor-version":[{"id":3345,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/posts\/3341\/revisions\/3345"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media\/3342"}],"wp:attachment":[{"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/media?parent=3341"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/categories?post=3341"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.virtono.com\/community\/wp-json\/wp\/v2\/tags?post=3341"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}