{"id":9796,"date":"2021-07-26T18:41:01","date_gmt":"2021-07-26T15:41:01","guid":{"rendered":"https:\/\/kifarunix.com\/?p=9796"},"modified":"2024-03-18T19:32:18","modified_gmt":"2024-03-18T16:32:18","slug":"install-apache-tomcat-on-rocky-linux-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-apache-tomcat-on-rocky-linux-8\/","title":{"rendered":"Install Apache Tomcat on Rocky Linux 8"},"content":{"rendered":"\n<p>Follow through this tutorial to learn how to install Apache Tomcat on Rocky Linux 8.  <a rel=\"noreferrer noopener\" href=\"https:\/\/tomcat.apache.org\/\" target=\"_blank\">Apache Tomcat<\/a>&nbsp;is an opensource java based HTTP web server that implements &nbsp;the Java Servlet, JavaServer Pages, Java Expression Language and Java WebSocket technologies. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Apache Tomcat on Rocky Linux 8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"installopenjdk14ubuntu20.04\">Install OpenJDK on Rocky Linux 8<\/h3>\n\n\n\n<p>Apache Tomcat requires a Java Standard Edition Runtime Environment (JRE) version 8 or later. Since OpenJDK 11 Runtime Environment is available on the default Rocky Linux repos, we will install it. We install other packages including wget and tar that will be used later on in the guide.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install java-11-openjdk wget tar<\/code><\/pre>\n\n\n\n<p>Once the installation completes, you can run the command below to verify the version.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>java -version<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>openjdk version \"11.0.12\" 2021-07-20 LTS\nOpenJDK Runtime Environment 18.9 (build 11.0.12+7-LTS)\nOpenJDK 64-Bit Server VM 18.9 (build 11.0.12+7-LTS, mixed mode, sharing)<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Download Apache Tomcat Binary Distribution<\/h3>\n\n\n\n<p>Navigate to &nbsp;<a href=\"https:\/\/tomcat.apache.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">Apache Tomcat<\/a>&nbsp;download&#8217;s page and grab Apache Tomcat binary distribution tarball. As of this writing, Apache Tomcat 10.0.8 is the current stable release.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/downloads.apache.org\/tomcat\/tomcat-10\/v10.0.8\/bin\/apache-tomcat-10.0.8.tar.gz<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"apachetomcat9ubuntu20.04\">Install Apache Tomcat<\/h3>\n\n\n\n<p>Once the download of the binary distribution is complete, installation of Apache Tomcat using the binary distribution is as easy as extracting it to some specific directory, which in this case, we used&nbsp;<code>\/opt\/tomcat<\/code>&nbsp;directory.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>mkdir \/opt\/tomcat<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>tar xzf apache-tomcat-10.0.8.tar.gz -C \/opt\/tomcat --strip-components=1<\/code><\/pre>\n\n\n\n<p>The command above extracts the contents of apache-tomcat-9.0.36.tar.gz tarball to the installation directory,&nbsp;<code>\/opt\/tomcat<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ls -1 \/opt\/tomcat\/<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>bin\nBUILDING.txt\nconf\nCONTRIBUTING.md\nlib\nLICENSE\nlogs\nNOTICE\nREADME.md\nRELEASE-NOTES\nRUNNING.txt\ntemp\nwebapps\nwork\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Set Apache Tomcat Environment Variables<\/h3>\n\n\n\n<p>Various environment variables are used by the Tomcat startup scripts to prepare the command that runs Tomcat daemon.<\/p>\n\n\n\n<p>Set&nbsp;<code>CATALINA_HOME<\/code>&nbsp; environment variable to point to the base path of the Tomcat installation, which in this case is,&nbsp;<code>\/opt\/tomcat<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>echo 'export CATALINA_HOME=\"\/opt\/tomcat\"' &gt; \/etc\/profile.d\/tomcat.sh<\/code><\/pre>\n\n\n\n<p>Depending on the Java package installed, set&nbsp;<strong><code>JRE_HOME<\/code><\/strong>&nbsp;(if you installed&nbsp;<em>JRE<\/em>) or&nbsp;<code><strong>JAVA_HOME<\/strong><\/code>&nbsp;(if you installed&nbsp;<em>JDK<\/em>) environment variable for the Java version you have installed.<\/p>\n\n\n\n<p>Since we installed JDK, create the JAVA_HOME environment as follows.<\/p>\n\n\n\n<p>Locate the path to the installed Java version using&nbsp;<code>alternatives<\/code>&nbsp;command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>alternatives --list | grep java<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code><strong>java                \tauto  \t\/usr\/lib\/jvm\/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64<\/strong>\/bin\/java\njre_openjdk         \tauto  \t\/usr\/lib\/jvm\/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64\njre_11              \tauto  \t\/usr\/lib\/jvm\/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64\n<\/code><\/pre>\n\n\n\n<p>From our output above, the path is <strong><code>\/usr\/lib\/jvm\/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64<\/code><\/strong>.<\/p>\n\n\n\n<p>Once you have the path, create the environment variable.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>echo 'export JAVA_HOME=\"<strong>\/usr\/lib\/jvm\/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64<\/strong>\"' &gt;&gt; \/etc\/profile.d\/tomcat.sh<\/code><\/pre>\n\n\n\n<p>Reload the environment variables set above.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>source \/etc\/profile.d\/tomcat.sh<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Create Apache Tomcat System User<\/h3>\n\n\n\n<p>Just like any other web server, Apache Tomcat should not be run with a privileged user. Hence, create a system user for Apache Tomcat as follows;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>useradd -r -d \/opt\/tomcat\/ -s \/bin\/false -c \"Apach Tomcat User\" tomcat<\/code><\/pre>\n\n\n\n<p>Next, you need to set the user and group ownership of Tomcat directory to&nbsp;<strong><code>tomcat<\/code><\/strong>&nbsp;user.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R tomcat: \/opt\/tomcat\/<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Configure Tomcat Web Management Accounts<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Create Tomcat Web Management User<\/h4>\n\n\n\n<p>Define a user for the web management of Tomcat Admin\/Manager User interfaces.<\/p>\n\n\n\n<p>This can be done by editing the&nbsp;<strong><code>\/opt\/tomcat\/conf\/tomcat-users.xml<\/code><\/strong>&nbsp;file and adding the following highlighted lines below between the&nbsp;<strong><code>&lt;\/tomcat-users&gt;<\/code><\/strong>&nbsp;tag.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/opt\/tomcat\/conf\/tomcat-users.xml<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>&lt;tomcat-users\n...\n&lt;!--\n  &lt;role rolename=\"tomcat\"\/&gt;\n  &lt;role rolename=\"role1\"\/&gt;\n  &lt;user username=\"tomcat\" password=\"must-be-changed\" roles=\"tomcat\"\/&gt;\n  &lt;user username=\"both\" password=\"must-be-changed\" roles=\"tomcat,role1\"\/&gt;\n  &lt;user username=\"role1\" password=\"must-be-changed\" roles=\"role1\"\/&gt;\n--&gt;\n  <strong>&lt;role rolename=\"admin-gui\"\/&gt;\n  &lt;role rolename=\"manager-gui\"\/&gt;\n  &lt;user username=\"admin\" password=\"StrongP@SS\" roles=\"admin-gui,manager-gui\"\/&gt;<\/strong>\n&lt;\/tomcat-users&gt;\n<\/code><\/pre>\n\n\n\n<p>Replace the password and usernames accordingly.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Configure Tomcat to allow remote connection to Manager and Host Manager apps.<\/h4>\n\n\n\n<p>Edit the configuration files below for Manager and Host Manager respectively and enter the IP addresses of the remote server you are accessing the Tomcat from. The IPs are separated by a pipe,&nbsp;<strong>|<\/strong>.<\/p>\n\n\n\n<p>In this case,&nbsp;<code>192.168.60.1<\/code>, is the IP address of the server to allow access of Tomcat from.<\/p>\n\n\n\n<p>Update for Manager;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/opt\/tomcat\/webapps\/manager\/META-INF\/context.xml<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n&lt;Context antiResourceLocking=\"false\" privileged=\"true\" &gt;\n  &lt;Valve className=\"org.apache.catalina.valves.RemoteAddrValve\"\n          allow=\"127\\.\\d+\\.\\d+\\.\\d+|::1|0:0:0:0:0:0:0:1|192.168.60.1\" \/&gt;\n...\n&lt;\/Context&gt;<\/code><\/pre>\n\n\n\n<p>Update for Host Manager;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>vim \/opt\/tomcat\/webapps\/host-manager\/META-INF\/context.xml<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>...\n&lt;Context antiResourceLocking=\"false\" privileged=\"true\" &gt;\n  &lt;Valve className=\"org.apache.catalina.valves.RemoteAddrValve\"\n         allow=\"127\\.\\d+\\.\\d+\\.\\d+|::1|0:0:0:0:0:0:0:1|192.168.60.1\" \/&gt;\n...\n&lt;\/Context&gt;<\/code><\/pre>\n\n\n\n<p>Save and exit the configuration file after changes are made.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Allow Tomcat Through Firewall<\/h4>\n\n\n\n<p>To allow external access to Tomcat, you need to open TCP port 8080 on Firewalld, if it is running;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --add-port=8080\/tcp --permanent\nfirewall-cmd --reload<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Running Tomcat on Rocky Linux 8<\/h3>\n\n\n\n<p>To run Apache Tomcat in standalone mode, execute the&nbsp;<code>\/opt\/tomcat\/bin\/startup.sh<\/code>. script.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>\/opt\/tomcat\/bin\/startup.sh<\/code><\/pre>\n\n\n\n<p>Sample output;<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>Using CATALINA_BASE:   \/opt\/tomcat\nUsing CATALINA_HOME:   \/opt\/tomcat\nUsing CATALINA_TMPDIR: \/opt\/tomcat\/temp\nUsing JRE_HOME:        \/usr\/lib\/jvm\/java-11-openjdk-11.0.12.0.7-0.el8_4.x86_64\nUsing CLASSPATH:       \/opt\/tomcat\/bin\/bootstrap.jar:\/opt\/tomcat\/bin\/tomcat-juli.jar\nUsing CATALINA_OPTS:   \nTomcat started.\n<\/code><\/pre>\n\n\n\n<p>Check catalina.out log file or any other log file under <code><strong>\/opt\/tomcat\/logs\/*<\/strong><\/code>.<\/p>\n\n\n\n<p>tail \/opt\/tomcat\/logs\/catalina.out<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>26-Jul-2021 18:16:57.225 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [\/opt\/tomcat\/webapps\/docs]\n26-Jul-2021 18:16:57.259 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [\/opt\/tomcat\/webapps\/docs] has finished in [34] ms\n26-Jul-2021 18:16:57.259 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [\/opt\/tomcat\/webapps\/examples]\n26-Jul-2021 18:16:57.992 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [\/opt\/tomcat\/webapps\/examples] has finished in [733] ms\n26-Jul-2021 18:16:57.993 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [\/opt\/tomcat\/webapps\/host-manager]\n26-Jul-2021 18:16:58.042 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [\/opt\/tomcat\/webapps\/host-manager] has finished in [49] ms\n26-Jul-2021 18:16:58.043 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [\/opt\/tomcat\/webapps\/manager]\n26-Jul-2021 18:16:58.063 INFO [main] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [\/opt\/tomcat\/webapps\/manager] has finished in [21] ms\n26-Jul-2021 18:16:58.084 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [\"http-nio-8080\"]\n26-Jul-2021 18:16:58.129 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in [1865] milliseconds\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"accesstomcatonbrowser\">Accessing Tomcat Web Interface<\/h3>\n\n\n\n<p>You can now access your Apache tomcat from the browser using the address,&nbsp;<code><strong>http:\/\/server-hostname-or-ip:8080<\/strong><\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1264\" height=\"929\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-web-int.png\" alt=\"\" class=\"wp-image-9838\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-web-int.png?v=1627313322 1264w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-web-int-768x564.png?v=1627313322 768w\" sizes=\"(max-width: 1264px) 100vw, 1264px\" \/><\/figure>\n\n\n\n<p>Click&nbsp;<strong>Manager App<\/strong>&nbsp;to access the Tomcat Web Application Manager. When prompted for credentials, use the ones you set above;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1894\" height=\"929\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-manager-app.png\" alt=\"Install Apache Tomcat on Rocky Linux 8\" class=\"wp-image-9839\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-manager-app.png?v=1627313360 1894w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-manager-app-768x377.png?v=1627313360 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-manager-app-1536x753.png?v=1627313360 1536w\" sizes=\"(max-width: 1894px) 100vw, 1894px\" \/><\/figure>\n\n\n\n<p>Click&nbsp;<strong>Host Manager<\/strong>, to access Tomcat virtual host manager.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1897\" height=\"879\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-host-manager-app.png\" alt=\"\" class=\"wp-image-9840\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-host-manager-app.png?v=1627313385 1897w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-host-manager-app-768x356.png?v=1627313385 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/07\/apache-tomcat-host-manager-app-1536x712.png?v=1627313385 1536w\" sizes=\"(max-width: 1897px) 100vw, 1897px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"apachetomcatsystemdserviceunit\">Running Apache Tomcat as a service<\/h3>\n\n\n\n<p>To be able to run Apache tomcat as a service and ensure it runs on system reboots, you need to create a systemd service unit file it as follows.<\/p>\n\n\n\n<pre class=\"scroll-box\"><code>\ncat > \/etc\/systemd\/system\/tomcat.service << 'EOL'\n[Unit]\nDescription=Apache Tomcat Server\nAfter=syslog.target network.target\n\n[Service]\nType=forking\nUser=tomcat\nGroup=tomcat\n\nEnvironment=CATALINA_PID=\/opt\/tomcat\/temp\/tomcat.pid\nEnvironment=CATALINA_HOME=\/opt\/tomcat\nEnvironment=CATALINA_BASE=\/opt\/tomcat\n\nExecStart=\/opt\/tomcat\/bin\/catalina.sh start\nExecStop=\/opt\/tomcat\/bin\/catalina.sh stop\n\nRestartSec=10\nRestart=always\n[Install]\nWantedBy=multi-user.target\nEOL\n<\/code><\/pre>\n\n\n\n<p>Replace the paths accordingly as per your installation. Save and exit the file.<\/p>\n\n\n\n<p>Reload systemd configurations<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl daemon-reload<\/code><\/pre>\n\n\n\n<p>Stop the initial tomcat started with the script above,&nbsp;<code>\/opt\/tomcat\/bin\/startup.sh<\/code>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>ps aux | grep tomcat | grep -v grep | awk '{print $2}' | xargs -I {} kill -9 {}<\/code><\/pre>\n\n\n\n<p>Reset the ownership of the logs directory;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>chown -R tomcat: \/opt\/tomcat\/logs\/<\/code><\/pre>\n\n\n\n<p>Start and enable Tomcat systemd service;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl enable --now tomcat<\/code><\/pre>\n\n\n\n<p>Check the status;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl status tomcat<\/code><\/pre>\n\n\n\n<pre class=\"scroll-box\"><code>\u25cf tomcat.service - Apache Tomcat Server\n   Loaded: loaded (\/etc\/systemd\/system\/tomcat.service; enabled; vendor preset: disabled)\n   Active: active (running) since Mon 2021-07-26 18:37:15 EAT; 1s ago\n  Process: 4812 ExecStart=\/opt\/tomcat\/bin\/catalina.sh start (code=exited, status=0\/SUCCESS)\n Main PID: 4823 (java)\n    Tasks: 14 (limit: 4938)\n   Memory: 54.6M\n   CGroup: \/system.slice\/tomcat.service\n           \u2514\u25004823 \/usr\/bin\/java -Djava.util.logging.config.file=\/opt\/tomcat\/conf\/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djdk&gt;\n\nJul 26 18:37:15 rocky8.kifarunix-demo.com systemd[1]: Starting Apache Tomcat Server...\nJul 26 18:37:15 rocky8.kifarunix-demo.com systemd[1]: Started Apache Tomcat Server.\n\n<\/code><\/pre>\n\n\n\n<p>And that marks the end of our guide on how to install Apache Tomcat.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Reference<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/tomcat.apache.org\/tomcat-10.0-doc\/RUNNING.txt\" target=\"_blank\">Apache Tomcat.10 Doc -RUNNING.txt<\/a><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-apache-guacamole-on-rocky-linux-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Apache Guacamole on Rocky Linux 8<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-apache-tomcat-9-on-ubuntu-20-04\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Apache Tomcat 9 on Ubuntu 20.04<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-apache-tomcat-9-on-debian-10-debian-9\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install Apache Tomcat 9 on Debian 10\/Debian 9<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow through this tutorial to learn how to install Apache Tomcat on Rocky Linux 8. Apache Tomcat&nbsp;is an opensource java based HTTP web server that<\/p>\n","protected":false},"author":3,"featured_media":9831,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,795,334,253],"tags":[1012,3894,3897,3895,3587,3896,3898],"class_list":["post-9796","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-java","category-tomcat","category-web-servers","tag-apache-tomcat","tag-install-apache-tomcat-on-rocky-linux-8","tag-install-tomcat-10-rocky-linux","tag-install-tomcat-on-rocky-linux-8","tag-rocky-linux-8","tag-rocky-linux-8-tomcat-10","tag-tomcat-10","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/9796"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=9796"}],"version-history":[{"count":13,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/9796\/revisions"}],"predecessor-version":[{"id":21716,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/9796\/revisions\/21716"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/9831"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=9796"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=9796"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=9796"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}