{"id":2523,"date":"2016-08-18T15:36:38","date_gmt":"2016-08-18T19:36:38","guid":{"rendered":"https:\/\/www.globo.tech\/learning-center\/?p=2523"},"modified":"2017-04-19T15:57:05","modified_gmt":"2017-04-19T19:57:05","slug":"setup-lemp-centos-7","status":"publish","type":"post","link":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/","title":{"rendered":"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7"},"content":{"rendered":"<p>The Linux, Nginx, MySQL, PHP (LEMP) stack is a popular set of technologies for running commodity web applications and sites. This variation of the stack replaces Apache with Nginx, a lighter web server that is a better fit for smaller-footprint servers, or with anyone who needs more performance. Unlike the venerable LAMP stack, LEMP runs PHP scripts in a separate process, which has different implications for securing and scaling PHP-based web applications.<\/p>\n<h2>Getting Started<\/h2>\n<p>Confirm that you have the following before you follow this guide:<br \/>\n\u2022 1 Node (<a href=\"https:\/\/www.globo.tech\/cloud-server-pricing\" target=\"_blank\">Cloud Server<\/a> or <a href=\"http:\/\/www.globo.tech\/dedicated-server-hosting\" target=\"_blank\">Dedicated Server<\/a>) running CentOS 7.<br \/>\n\u2022 Root access to the node.<\/p>\n<h2>Tutorial<\/h2>\n<p>Start by applying all available updates. This critical step should be performed regularly. It will apply all outstanding security patches and bugfixes for everything installed on your server.<\/p>\n<p><code>yum update -y<br \/>\nreboot<\/code><\/p>\n<p>Now we&#8217;ll add the CentOS 7 EPEL repository. This grants access to some packages we&#8217;ll need to install later.<\/p>\n<p><code>yum install epel-release<\/code><\/p>\n<p>For this tutorial, we&#8217;ll use MariaDB instead of MySQL. MariaDB is a backwards-compatible community MySQL fork with various enhancements that make it a better fit for modern web applications. In general, MySQL and MariaDB are interchangeable, but MariaDB is a better choice if it is available to you.<\/p>\n<p><code>yum install mariadb-server mariadb<\/code><\/p>\n<p>Next we start the server so it will begin accepting connections.<\/p>\n<p><code>systemctl start mariadb<\/code><\/p>\n<p>MariaDB must now be secured. Here we set the root password, which is needed to create databases and grant permissions. Keep this password secure, and don&#8217;t use your server&#8217;s root password. Use something unique, memorable, and difficult to guess.<\/p>\n<p><code>mysql_secure_installation<\/code><\/p>\n<p><code class=\"gris\">Set root password? [Y\/n]<br \/>\nNew password:<br \/>\nRe-enter new password:<br \/>\nPassword updated successfully!<br \/>\nReloading privilege tables..<br \/>\n... Success!<\/code><\/p>\n<p>By default, a MariaDB installation has an anonymous user, allowing anyone to log into MariaDB without having to have a user account created for them. This is intended only for testing, and to make the installation go a bit smoother. You should remove them before moving into a production environment.<\/p>\n<p><code class=\"gris\">Remove anonymous users? [Y\/n] y<br \/>\n... Success!<\/code><\/p>\n<p>Normally, root should only be allowed to connect from &#8216;localhost&#8217;. This ensures that someone cannot guess at the root password from the network.<\/p>\n<p><code class=\"gris\">Disallow root login remotely? [Y\/n] y<br \/>\n... Success!<\/code><\/p>\n<p>By default, MariaDB comes with a database named &#8216;test&#8217; that anyone can access. This is also intended only for testing, and should be removed before moving into a production environment.<\/p>\n<p><code class=\"gris\">Remove test database and access to it? [Y\/n] y<br \/>\n- Dropping test database...<br \/>\n... Success!<br \/>\n- Removing privileges on test database...<br \/>\n... Success!<br \/>\nReloading the privilege tables will ensure that all changes made so far<br \/>\nwill take effect immediately.<br \/>\nReload privilege tables now? [Y\/n] y<br \/>\n... Success!<br \/>\nCleaning up...<br \/>\nAll done! If you've completed all of the above steps, your MariaDB<br \/>\ninstallation should now be secure.<br \/>\nThanks for using MariaDB!<\/code><\/p>\n<p>MariaDB is started, but it currently won&#8217;t start automatically when your server boots up. This next command tells CentOS to start MariaDB when your server comes up.<\/p>\n<p><code>systemctl enable mariadb.service<\/code><\/p>\n<p>It is now time to install the Nginx web server. Start by installing the package itself.<\/p>\n<p><code>yum install nginx -y<\/code><\/p>\n<p>As with MariaDB, we must now start the Nginx server so it accepts connections.<\/p>\n<p><code>systemctl start nginx.service<\/code><\/p>\n<p>Also, as with MariaDB, we need to configure the Nginx server to start on boot.<\/p>\n<p><code>systemctl enable nginx.service<\/code><\/p>\n<p>PHP runs in a separate process, managed and configured by the php-fpm package. Let&#8217;s install that now.<\/p>\n<p><code>yum install php php-mysql php-fpm<\/code><\/p>\n<p>Again, we start the PHP-FPM daemon.<\/p>\n<p><code>systemctl start php-fpm<\/code><\/p>\n<p>We also enable it to start on boot.<\/p>\n<p><code>systemctl enable php-fpm<\/code><\/p>\n<p>All necessary servers and processes are running. We need to tell Nginx where the PHP-FPM process expects to receive scripts that it will run. Do this by editing the default virtual host configuration.<\/p>\n<p><code>nano \/etc\/nginx\/nginx.conf<\/code><\/p>\n<p><code class=\"gris\">[...]<br \/>\n# Load modular configuration files from the \/etc\/nginx\/conf.d directory.<br \/>\n# See http:\/\/nginx.org\/en\/docs\/ngx_core_module.html#include<br \/>\n# for more information.<br \/>\ninclude \/etc\/nginx\/conf.d\/*.conf;<br \/>\nserver {<br \/>\nlisten 80 default_server;<br \/>\nlisten [::]:80 default_server;<br \/>\nserver_name 173.209.44.190;<br \/>\nroot \/usr\/share\/nginx\/html;<br \/>\nindex index.php index.html index.htm;<br \/>\n# Load configuration files for the default server block.<br \/>\ninclude \/etc\/nginx\/default.d\/*.conf;<br \/>\nlocation ~ \\.php$ {<br \/>\ntry_files $uri =404;<br \/>\nfastcgi_pass unix:\/var\/run\/php-fpm\/php-fpm.sock;<br \/>\nfastcgi_index index.php;<br \/>\nfastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br \/>\ninclude fastcgi_params;<br \/>\n}<br \/>\nerror_page 404 \/404.html;<br \/>\nlocation = \/40x.html {<br \/>\n}<br \/>\nerror_page 500 502 503 504 \/50x.html;<br \/>\nlocation = \/50x.html {<br \/>\nroot \/usr\/share\/nginx\/html;<br \/>\n}<br \/>\n[...]<\/code><\/p>\n<p>Save and exit. Reload Nginx so the new configuration takes effect.<\/p>\n<p><code>systemctl reload nginx.service<\/code><\/p>\n<p>We&#8217;ll next configure the PHP process, making changes to improve security.<\/p>\n<p><code>nano \/etc\/php.ini<\/code><\/p>\n<p>Find the &#8220;cgi.fix_pathinfo&#8221; line, and then remove the comment symbol &#8220;;&#8221;. Change &#8220;1&#8221; to &#8220;0&#8221;. After the modifications, it should look like this:<\/p>\n<p><code class=\"gris\">; cgi.fix_pathinfo provides *real* PATH_INFO\/PATH_TRANSLATED support for CGI. PHP's<br \/>\n; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok<br \/>\n; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting<br \/>\n; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting<br \/>\n; of zero causes PHP to behave as before. Default is 1. You should fix your scripts<br \/>\n; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.<br \/>\n; http:\/\/php.net\/cgi.fix-pathinfo<br \/>\n; cgi.fix_pathinfo=1<\/code><\/p>\n<p>Change the last line to:<\/p>\n<p><code class=\"gris\">; cgi.fix_pathinfo provides *real* PATH_INFO\/PATH_TRANSLATED support for CGI. PHP's<br \/>\n; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok<br \/>\n; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting<br \/>\n; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting<br \/>\n; of zero causes PHP to behave as before. Default is 1. You should fix your scripts<br \/>\n; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.<br \/>\n; http:\/\/php.net\/cgi.fix-pathinfo<br \/>\ncgi.fix_pathinfo=0<\/code><\/p>\n<p>Save and exit. Next we&#8217;ll edit the php-fpm configuration and make several changes there.<\/p>\n<p><code>nano \/etc\/php-fpm.d\/www.conf<\/code><\/p>\n<p>Find the following lines:<\/p>\n<p><code class=\"gris\">listen = 127.0.0.1<\/code><\/p>\n<p><code class=\"gris\">;listen.owner = nobody<br \/>\n;listen.group = nobody<\/code><\/p>\n<p><code class=\"gris\">; RPM: apache Choosed to be able to access some dir as httpd<br \/>\nuser = apache<br \/>\n; RPM: Keep a group allowed to write in log dir.<br \/>\ngroup = apache<\/code><\/p>\n<p>Change them to:<\/p>\n<p><code class=\"gris\">listen = \/var\/run\/php-fpm\/php-fpm.sock<\/code><\/p>\n<p><code class=\"gris\">listen.owner = nobody<br \/>\nlisten.group = nobody<\/code><\/p>\n<p><code class=\"gris\">; RPM: apache Choosed to be able to access some dir as httpd<br \/>\nuser = nginx<br \/>\n; RPM: Keep a group allowed to write in log dir.<br \/>\ngroup = nginx<\/code><\/p>\n<p>With these configuration changes in place, we need to restart php-fpm. We&#8217;ll do that here.<\/p>\n<p><code>systemctl restart php-fpm<\/code><\/p>\n<p>Let&#8217;s ensure that everything is working. We&#8217;ll create a phpinfo page, a simple page that calls a diagnostic function. If everything works, you&#8217;ll see lots of details about your newly-configured PHP environment.<\/p>\n<p>In your server&#8217;s document root directory, edit the file as shown:<\/p>\n<p><code>nano \/usr\/share\/nginx\/html\/info.php<\/code><\/p>\n<p><code>&lt;?php<br \/>\nphpinfo();<br \/>\n?&gt;<\/code><\/p>\n<p>Now access the newly-created page from your browser. Visit http:\/\/your_ip\/info.php. If everything works, you&#8217;ll see a report about the PHP installation you&#8217;ve just set up.<\/p>\n<h2>Conclusion<\/h2>\n<p>With this LEMP setup in place, your server can now run WordPress, MediaWiki, and any number of standardized PHP applications. Share this article with anyone who wants to get up and running quickly with PHP on CentOS 7.<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>The Linux, Nginx, MySQL, PHP (LEMP) stack is a popular set of technologies for running commodity web applications and sites. This variation of the stack replaces Apache with Nginx, a lighter web server that is a better fit for smaller-footprint servers, or with anyone who needs more performance. Unlike the venerable LAMP stack, LEMP runs<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-2523","post","type-post","status-publish","format-standard","hentry","category-web-hosting","operating_system-centos-7"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7 - Globo.Tech<\/title>\n<meta name=\"description\" content=\"This tutorial will show you how to setup the LEMP (Linux, Nginx, MySQL, PHP) stack on your CentOS 7 server. Read now &amp; Launch your own website !\" \/>\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.globo.tech\/learning-center\/setup-lemp-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7 - Globo.Tech\" \/>\n<meta property=\"og:description\" content=\"This tutorial will show you how to setup the LEMP (Linux, Nginx, MySQL, PHP) stack on your CentOS 7 server. Read now &amp; Launch your own website !\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Globo.Tech\" \/>\n<meta property=\"article:published_time\" content=\"2016-08-18T19:36:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-19T19:57:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1920\" \/>\n\t<meta property=\"og:image:height\" content=\"963\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"GloboTech Communications\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"GloboTech Communications\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/\"},\"author\":{\"name\":\"GloboTech Communications\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"headline\":\"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7\",\"datePublished\":\"2016-08-18T19:36:38+00:00\",\"dateModified\":\"2017-04-19T19:57:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/\"},\"wordCount\":703,\"commentCount\":0,\"articleSection\":[\"Web Hosting\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/\",\"name\":\"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7 - Globo.Tech\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\"},\"datePublished\":\"2016-08-18T19:36:38+00:00\",\"dateModified\":\"2017-04-19T19:57:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\"},\"description\":\"This tutorial will show you how to setup the LEMP (Linux, Nginx, MySQL, PHP) stack on your CentOS 7 server. Read now & Launch your own website !\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/setup-lemp-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#website\",\"url\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/\",\"name\":\"Globo.Tech\",\"description\":\"Welcome to the Official Globo.Tech Learning Center\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.globo.tech\\\/learning-center\\\/#\\\/schema\\\/person\\\/e17784b37f4a4f49b7bc611847912e87\",\"name\":\"GloboTech Communications\",\"sameAs\":[\"http:\\\/\\\/www.gtcomm.net\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7 - Globo.Tech","description":"This tutorial will show you how to setup the LEMP (Linux, Nginx, MySQL, PHP) stack on your CentOS 7 server. Read now & Launch your own website !","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.globo.tech\/learning-center\/setup-lemp-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7 - Globo.Tech","og_description":"This tutorial will show you how to setup the LEMP (Linux, Nginx, MySQL, PHP) stack on your CentOS 7 server. Read now & Launch your own website !","og_url":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/","og_site_name":"Globo.Tech","article_published_time":"2016-08-18T19:36:38+00:00","article_modified_time":"2017-04-19T19:57:05+00:00","og_image":[{"width":1920,"height":963,"url":"https:\/\/www.globo.tech\/learning-center\/wp-content\/uploads\/2016\/09\/GloboTech-Logo.png","type":"image\/png"}],"author":"GloboTech Communications","twitter_misc":{"Written by":"GloboTech Communications","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/"},"author":{"name":"GloboTech Communications","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"headline":"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7","datePublished":"2016-08-18T19:36:38+00:00","dateModified":"2017-04-19T19:57:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/"},"wordCount":703,"commentCount":0,"articleSection":["Web Hosting"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/","url":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/","name":"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7 - Globo.Tech","isPartOf":{"@id":"https:\/\/www.globo.tech\/learning-center\/#website"},"datePublished":"2016-08-18T19:36:38+00:00","dateModified":"2017-04-19T19:57:05+00:00","author":{"@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87"},"description":"This tutorial will show you how to setup the LEMP (Linux, Nginx, MySQL, PHP) stack on your CentOS 7 server. Read now & Launch your own website !","breadcrumb":{"@id":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.globo.tech\/learning-center\/setup-lemp-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.globo.tech\/learning-center\/"},{"@type":"ListItem","position":2,"name":"How to Setup LEMP (Linux NGINX MySQL PHP) on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.globo.tech\/learning-center\/#website","url":"https:\/\/www.globo.tech\/learning-center\/","name":"Globo.Tech","description":"Welcome to the Official Globo.Tech Learning Center","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.globo.tech\/learning-center\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.globo.tech\/learning-center\/#\/schema\/person\/e17784b37f4a4f49b7bc611847912e87","name":"GloboTech Communications","sameAs":["http:\/\/www.gtcomm.net"]}]}},"_links":{"self":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/comments?post=2523"}],"version-history":[{"count":6,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2523\/revisions"}],"predecessor-version":[{"id":2996,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/posts\/2523\/revisions\/2996"}],"wp:attachment":[{"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/media?parent=2523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/categories?post=2523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.globo.tech\/learning-center\/wp-json\/wp\/v2\/tags?post=2523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}