{"id":181,"date":"2024-02-01T11:25:54","date_gmt":"2024-02-01T11:25:54","guid":{"rendered":"https:\/\/249host.com\/tutorials\/?p=181"},"modified":"2024-02-01T11:25:54","modified_gmt":"2024-02-01T11:25:54","slug":"nginx-install-on-almalinux-powerful-guide","status":"publish","type":"post","link":"https:\/\/249host.com\/tutorials\/nginx-install-on-almalinux-powerful-guide\/","title":{"rendered":"NGINX install on AlmaLinux -Powerful guide"},"content":{"rendered":"<h2 id=\"h-about-nginx\" class=\"Heading__SHeading-sc-o0nhd6-0\">About NGINX<\/h2>\n<p>NGINX install on AlmaLinux is a simple process to do it b yourself.<\/p>\n<p>NGINX is popular open-source web server and reverse proxy server.<\/p>\n<p>It is an open-source software program initially designed to solve the challenge of handling lots of connections to servers simultaneously. It was originally designed to make it the fastest web server, but its capabilities expanded significantly beyond being just a web server.<\/p>\n<p>It is known for its high performance, stability, and efficient resource utilization. NGINX is now maintained by NGINX, Inc. It is widely used to serve static content, reverse proxy to application servers, and act as a load balancer.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-202 size-full\" src=\"https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/02\/ngnix-installation.png\" alt=\"NGINX install on AlmaLinux\" width=\"824\" height=\"494\" srcset=\"https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/02\/ngnix-installation.png 824w, https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/02\/ngnix-installation-300x180.png 300w, https:\/\/249host.com\/tutorials\/wp-content\/uploads\/2024\/02\/ngnix-installation-768x460.png 768w\" sizes=\"auto, (max-width: 824px) 100vw, 824px\" \/><\/p>\n<h2 class=\"Heading__SHeading-sc-o0nhd6-0\">NGINX Install on AlmaLinux<\/h2>\n<p>Before you install NGINX on your AlmaLinux server, here is what you should do first or other words prerequisites<\/p>\n<p><strong>1. Update the system. <\/strong>Ensure your AlmaLinux system is up to date. At the time of writing this guide, <strong><a href=\"https:\/\/wiki.almalinux.org\/release-notes\/\" target=\"_blank\" rel=\"noreferrer noopener\">AlmaLinux Version 9.3 <\/a><\/strong>was the latest. use the below command to update<\/p>\n<pre>sudo yum update<\/pre>\n<p><strong>2. Check your firewall settings.<\/strong><\/p>\n<p>If you have the firewall enabled on your system ,make ensure it allows traffic on the ports NGINX will use. Typically ports <strong><em>80<\/em><\/strong> for HTTP and <strong><em>443<\/em><\/strong> for HTTPS. You can use the appropriate commands to allow HTTP and HTTPS traffic. We will explore these details during the step-by-step procedure for installation.<\/p>\n<h3 class=\"Heading__SHeading-sc-o0nhd6-0\">NGINX Install on AlmaLinux<\/h3>\n<p>It is a easy way NGINX Install on AlmaLinux by following the steps<\/p>\n<p>Open a terminal window on your AlmaLinux system and type the command shown below to install NGINX<\/p>\n<pre>sudo yum install nginx<\/pre>\n<p>This command uses the <strong><a href=\"http:\/\/yum.baseurl.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">yum package manager<\/a><\/strong> for AlmaLinux to install the latest version of NGINX.<\/p>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-step-2-enable-and-start-the-nginx-service\" class=\"Heading__SHeading-sc-o0nhd6-0\">Enable and start the NGINX service<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">Enable and start the NGINX service using the following commands after the installation has successfully been completed<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>sudo systemctl enable nginx<\/strong> \u2014 This command configures NGINX to start automatically upon system boot. It creates symbolic links to enable the service.<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>sudo systemctl start nginx<\/strong> \u2014This command starts the NGINX service immediately. Once executed, NGINX begins running and is available to serve web content.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-step-3-open-port-80-http-port\" class=\"Heading__SHeading-sc-o0nhd6-0\">Open port 80 (HTTP port)<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">By default, NGINX uses port <strong><em>80<\/em><\/strong> for HTTP traffic. You must open this port on your system&#8217;s firewall for websites to be accessible. The default firewall configuration tool on AlmaLinux is FirewallD. Use these commands to open port <strong><em>80 <\/em><\/strong>and make the changes permanent:<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>sudo firewall-cmd &#8211;zone=public &#8211;add-service=http<\/strong>\u2014 This command Adds the HTTP service to the firewall&#8217;s public zone temporarily. That means it will allow HTTP traffic for the current session.<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><em><strong>sudo firewall-cmd &#8211;zone=public &#8211;add-service=http \u2013permanent<\/strong> \u2014<\/em> This command permanently adds the HTTP service to the firewall&#8217;s public zone, ensuring it persists after a system reboot.<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>sudo firewall-cmd \u2013reload<\/strong>\u2014This command reloads the firewall configuration, applying any recent changes to ensure these newly added rules take effect immediately.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-step-4-verify-your-nginx-installation\" class=\"Heading__SHeading-sc-o0nhd6-0\">Verify your NGINX installation<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">Verify NGINX is properly installed and running as expected. To do open your web browser and navigate to your server&#8217;s domain name or IP address. For instance, if your website\u2019s domain name is <strong><em>mysite.com<\/em><\/strong>, navigate to <strong><em>http:\/\/mysite.com<\/em><\/strong>. Or if your IP address is <strong><em>164.xx.xx.xx<\/em><\/strong>, navigate to <strong><em>http:\/\/164.xx.xx.xx<\/em><\/strong>. If the installation was successfully implemented, you should see the default NGINX welcome page.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"\">\n<h2 id=\"h-nginx-web-server-configuration\" class=\"Heading__SHeading-sc-o0nhd6-0\">NGINX web server configuration<\/h2>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">After you install NGINX and verify that everything is successful, here are the website management steps to take to ensure a functioning implementation:<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-disabling-the-default-website\" class=\"Heading__SHeading-sc-o0nhd6-0\">Disabling the default website<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">Follow these steps to disable the default website:<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>1.<\/strong> Locate the primary NGINX configuration file <strong><em>\/etc\/nginx\/nginx.conf<\/em><\/strong> and open it.<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>2.<\/strong> Locate the <strong><em>&#8220;server&#8221; <\/em><\/strong>block (in the code) that defines the default website.<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>3.<\/strong> Using the<strong><em> #<\/em><\/strong> character, comment out the root line to prevent NGINX from serving the default web content located in <strong><em>\/usr\/share\/nginx\/html<\/em><\/strong>. This setup ensures your custom website takes precedence. Your file should look like the one represented in the screenshot shown below<\/p>\n<pre>#...\r\nServer{\r\n  \u00a0 \u00a0 listen 80 default_server;\r\n  \u00a0 \u00a0 listen\u00a0 [::]80 default_server;\r\n   \u00a0 \u00a0server_name _;\r\n\r\n      #root \/usr\/share\/niginx\/html;\r\n\r\n#...<\/pre>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-creating-a-new-web-server-configuration\" class=\"Heading__SHeading-sc-o0nhd6-0\">Creating a new web server configuration<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To create a new server configuration, create a file in the <strong><em>\/etc\/nginx\/conf.d<\/em><\/strong> directory with the name of your website, like <em>example.com.conf<\/em>. Inside the file, define a new server block with the following details:<\/p>\n<\/div>\n<div data-lw-block-type=\"list\" data-lw-block-attributes=\"\">\n<ul class=\"list-disc list-outside\">\n<li><strong><em>listen 80; <\/em><\/strong>and <strong><em>listen [::]:80;: <\/em><\/strong>\u2014 These two lines specify that the server listens for requests on port <strong><em>80<\/em><\/strong> (HTTP) for both IPv4 and IPv6 connections.<\/li>\n<li><strong><em>server_name mysite.com;:<\/em><\/strong> \u2014 This line defines the domain name for which the server handles requests.<\/li>\n<li><strong><em>root \/var\/www\/example.com;:<\/em><\/strong> \u2014 This line specifies the root directory where NGINX searches for website files.<\/li>\n<li><strong><em>index index.html;:<\/em><\/strong> \u2014 This line defines the default index file to serve when no specific file is requested.<\/li>\n<li><strong><em>location \/ { try_files $uri $uri\/ =404; }: <\/em><\/strong>\u2014 This line specifies a location block that serves the requested file or its index file if it exists, otherwise it returns a 404 error.<\/li>\n<\/ul>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">After adding the above configurations, the details in your new file should look like those in the screenshot below:<\/p>\n<\/div>\n<pre>Server{\r\n\r\n\u00a0 \u00a0 \u00a0listen 80;\r\n  \u00a0 \u00a0listen\u00a0 [::]80\r\n  \u00a0 \u00a0server_name example.com;\r\n  \u00a0 \u00a0#root \/var\/www\/html\/example.com;\r\n  \u00a0 \u00a0 index index.html;\r\n  \u00a0 \u00a0 location \/ {\r\n  \u00a0 \u00a0 try_files $uri $uri\/ =404;\r\n  \u00a0 \u00a0 }\r\n}<\/pre>\n<\/div>\n<div>Creating website content<\/div>\n<div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">Follow the steps below you put up your initial content for the website:<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>1.<\/strong> To create new website content, you will start by making a directory for your website content using the command <strong><em>sudo mkdir -p \/var\/www\/example.com<\/em><\/strong>.<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>2. <\/strong>Create an <strong><em>index.html<\/em><\/strong> file within the directory containing your website&#8217;s content. The contents in your <strong><em>index.html <\/em><\/strong>should look like those shown below<\/p>\n<pre>&lt;!DOCTYPE html&gt;\r\n\r\n&lt;html&gt;\r\n&lt;head&gt;\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 &lt;title&gt;\r\n  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  \u00a0 \u00a0This is a smaple website\r\n  \u00a0 \u00a0 \u00a0 \u00a0&lt;\/title&gt;\r\n&lt;\/head&gt;\r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0&lt;body&gt;\r\n  \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0  Hello World! \r\n\u00a0 \u00a0 \u00a0 \u00a0 \u00a0&lt;\/body&gt;\r\n&lt;\/html&gt;<\/pre>\n<\/div>\n<div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">Change ownership of the website directory by running these two commands in your terminal:<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>3.1. <em>sudo chown -R nginx:nginx \/var\/www\/example.com<\/em><\/strong><\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>3.2<\/strong>. <strong><em>sudo chmod -R +x \/var\/www<\/em><\/strong><\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>4.<\/strong> Set the <strong>SELinux security context<\/strong> for the website directory to<strong><em> httpd_sys_content_t<\/em><\/strong> and <strong><em>httpd_sys_rw_content_t <\/em><\/strong>to enable serving web content. To do this, open the terminal and run these commands:<\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>4.1<\/strong>. <strong><em>sudo chcon -t httpd_sys_content_t \/var\/www\/example.com -R<\/em><\/strong><\/p>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\"><strong>4.2. <em>sudo chcon -t httpd_sys_rw_content_t \/var\/www\/example.com -R<\/em><\/strong><\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"\">\n<h2 id=\"h-nginx-web-server-management\" class=\"Heading__SHeading-sc-o0nhd6-0\">NGINX web server management<\/h2>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">After successfully installing NGINX on your AlmaLinux, you need a couple of commands to configure or manage NGINXs functionality and features. It is important to note that NGINX runs on <strong><em>systemd,<\/em><\/strong> which essentially means you can manage it using <strong><em>systemctl<\/em><\/strong> commands. In this section, we will explore the common <strong><em>systemctl<\/em><\/strong> commands that you will use to run NGINX as you prefer.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-enable-the-nginx-service-at-startup\" class=\"Heading__SHeading-sc-o0nhd6-0\">Enable the NGINX service at startup<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To enable the NGINX service at startup, use the below cmd<\/p>\n<pre>sudo systemctl enable nginx<\/pre>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">This command ensures NGINX automatically starts when the system boots, making your websites or services readily accessible.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-start-the-nginx-service\" class=\"Heading__SHeading-sc-o0nhd6-0\">Start the NGINX service<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To start the NGINX service, use the below cmd<\/p>\n<pre>sudo systemctl start nginx<\/pre>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">If NGINX isn&#8217;t already running, this command starts the service, bringing your websites online.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-view-the-nginx-status\" class=\"Heading__SHeading-sc-o0nhd6-0\">View the NGINX status<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To view the NGINX status, use the below cmd<\/p>\n<pre>sudo systemctl status nginx<\/pre>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">The current status of the NGINX service is checked using this command, confirming its activity and identifying any potential issues.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-reload-the-nginx-configuration\" class=\"Heading__SHeading-sc-o0nhd6-0\">Reload the NGINX configuration<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To reload the the NGINX configuration, use the below cmd<\/p>\n<pre>sudo systemctl reload nginx<\/pre>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">If change NGINX&#8217;s configuration files, use this command to update the service without interrupting website access.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-restart-the-nginx-service\" class=\"Heading__SHeading-sc-o0nhd6-0\">Restart the NGINX service<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To restart the NGINX service, use the below cmd<\/p>\n<pre>sudo systemctl restart nginx<\/pre>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">This command fully restarts the NGINX service, applying any configuration changes and potentially resolving minor service issues.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-stop-the-nginx-service\" class=\"Heading__SHeading-sc-o0nhd6-0\">Stop the NGINX service<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To stop the NGINX service, use the below cmd<\/p>\n<pre>sudo systemctl stop nginx<\/pre>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">This command stops the NGINX service, making your websites unavailable. Use it for maintenance or troubleshooting purposes.<\/p>\n<\/div>\n<div data-lw-block-type=\"heading\" data-lw-block-attributes=\"{&quot;level&quot;:3}\">\n<h3 id=\"h-disable-the-nginx-service-startup\" class=\"Heading__SHeading-sc-o0nhd6-0\">Disable the NGINX service startup<\/h3>\n<\/div>\n<div data-lw-block-type=\"paragraph\" data-lw-block-attributes=\"\">\n<p class=\"Paragraph__SParagraph-sc-1p2ggqg-0\">To disable the NGINX service startup, use the below cmd<\/p>\n<pre>sudo systemctl disable nginx<\/pre>\n<p>This command prevents NGINX from automatically starting on system boot. One of the scenarios in which this command might be useful for is if you only need NGINX occasionally.<\/p>\n<p>I believe above article will provides information about NGINX Install on AlmaLinux server. To know about raid controller and its types <a href=\"https:\/\/249host.com\/tutorials\/how-to-choose-the-raid-controller-web-server\/\">click here.<\/a><\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>About NGINX NGINX install on AlmaLinux is a simple process to do it b yourself. NGINX is popular open-source web server and reverse proxy server. It is an open-source software program initially designed to solve the challenge of handling lots of connections to servers simultaneously. It was originally designed to make it the fastest web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,1],"tags":[],"class_list":["post-181","post","type-post","status-publish","format-standard","hentry","category-general","category-linux"],"_links":{"self":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts\/181","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/comments?post=181"}],"version-history":[{"count":22,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts\/181\/revisions"}],"predecessor-version":[{"id":204,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/posts\/181\/revisions\/204"}],"wp:attachment":[{"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/media?parent=181"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/categories?post=181"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/249host.com\/tutorials\/wp-json\/wp\/v2\/tags?post=181"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}