{"id":49,"date":"2023-09-28T21:54:10","date_gmt":"2023-09-28T14:54:10","guid":{"rendered":"http:\/\/nitirat.ddns.net\/wordpress\/?p=49"},"modified":"2024-05-07T21:25:15","modified_gmt":"2024-05-07T14:25:15","slug":"how-to-install-cacti-on-ubuntu-20-04","status":"publish","type":"post","link":"http:\/\/nitirat.ddns.net\/wordpress\/?p=49","title":{"rendered":"How to Install Cacti on Ubuntu 20.04"},"content":{"rendered":"\n<p id=\"c699\">Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is also SNMP support for those used to creating traffic graphs with MRTG.<\/p>\n\n\n\n<p id=\"7f48\"><strong>Features<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An unlimited number of graph items can be defined for each graph optionally utilizing CDEFs or data sources from within cacti.<\/li>\n\n\n\n<li>Automatic grouping of GPRINT graph items to AREA, STACK, and LINE[1\u20133] to allow for quick re-sequencing of graph items.<\/li>\n\n\n\n<li>Data sources can be created that utilize RRDTool\u2019s \u201ccreate\u201d and \u201cupdate\u201d functions. Each data source can be used to gather local or remote data and placed on a graph.<\/li>\n\n\n\n<li>It contains a \u201cdata input\u201d mechanism that allows users to define custom scripts that can be used to gather data. Each script can contain arguments that must be entered for each data source created using the script (such as an IP address).<\/li>\n\n\n\n<li>Built-in SNMP support that can use php-snmp, ucd-snmp, or net-snmp.<\/li>\n\n\n\n<li>A PHP-based poller is provided to execute scripts, retrieve SNMP data, and update your RRD files.<\/li>\n\n\n\n<li>User-based management allows administrators to create users and assign different levels of permissions to the cacti interface.<\/li>\n\n\n\n<li>Permissions can be specified per-graph for each user, making cacti suitable for co-location situations.<\/li>\n\n\n\n<li>Each user can keep their graph settings for varying viewing preferences.&nbsp;<a href=\"https:\/\/www.cacti.net\/features.php\">[2]<\/a><\/li>\n<\/ul>\n\n\n\n<p id=\"ba2f\"><strong>How To Install Cacti on Ubuntu 20.04<\/strong><\/p>\n\n\n\n<p id=\"457c\">This guide is show step by step to install cacti latest version (1.2.12) on ubuntu 20.04 LTS.<\/p>\n\n\n\n<p id=\"bfff\">Cacti requires that the following software is installed on your system.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>RRDTool 1.0.49 or greater, 1.4+ recommended<\/li>\n\n\n\n<li>MySQL 5.x or greater<\/li>\n\n\n\n<li>PHP 5.1 or greater<\/li>\n\n\n\n<li>Web Server that supports PHP e.g. Apache or IIS<\/li>\n<\/ul>\n\n\n\n<p id=\"6b4c\"><strong>Step 1: Update all system packages<\/strong><\/p>\n\n\n\n<p id=\"a2b3\">Update all dependency before installing anything.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt update &amp;&amp; sudo apt upgrade<\/pre>\n\n\n\n<p id=\"8fe3\"><strong>Step 2: Install Apache Webserver<\/strong><\/p>\n\n\n\n<p id=\"23eb\">Install Apache2 as a web server for the cacti<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install -y apache2 libapache2-mod-php<\/pre>\n\n\n\n<p id=\"ce36\"><strong>Step 3: Install PHP and Required Extensions<\/strong><\/p>\n\n\n\n<p id=\"9628\">Install a PHP and Extension for the cacti faultless work.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install -y php php-mysql php-snmp php-curl php-xml php-gd php-ldap php-mbstring php-gmp php-json php-common<\/pre>\n\n\n\n<p id=\"5bf6\"><strong>Step 4: Install MariaDB (Database Server)<\/strong><\/p>\n\n\n\n<p id=\"8d9e\">Install a MariaDB as a database server. MariaDB is a community-developed, commercially supported fork of the MySQL relational database management system (RDBMS), intended to remain free and open-source software under the GNU General Public License.<a href=\"https:\/\/en.wikipedia.org\/wiki\/MariaDB\">[3]<\/a><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install -y mariadb-server mariadb-client<\/pre>\n\n\n\n<p id=\"4805\"><strong>Step 5: Install SNMP and rrdtool<\/strong><\/p>\n\n\n\n<p id=\"bc45\">Install an SNMP and rrdtool. Cacti use the SNMP protocol to collect data from the device or remote server. And rrdtool to generate a graph.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo apt install -y snmp snmpd snmp-mibs-downloader rrdtool librrds-perl<\/pre>\n\n\n\n<p id=\"d532\"><strong>Step 6: Configure the System timezone<\/strong><\/p>\n\n\n\n<p id=\"3b71\">Changing the Timezone Using the&nbsp;<code>timedatectl<\/code>&nbsp;Command. (Default is UTC)<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo timedatectl list-timezones<br>$ sudo timedatectl set-timezone Asia\/Bangkok<\/pre>\n\n\n\n<p id=\"042a\"><strong>Step 7: Configure a PHP<\/strong><\/p>\n\n\n\n<p id=\"fc03\">Change a memory_limit, max_execution_time, and timezone in two PHP configuration file (php.ini) and save it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/php\/7.4\/apache2\/php.ini<br>$ sudo nano \/etc\/php\/7.4\/cli\/php.ini<\/pre>\n\n\n\n<p id=\"76a3\">You can view the list of timezone&nbsp;<a href=\"https:\/\/www.php.net\/manual\/en\/timezones.asia.php\">here<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">date.timezone = \"Asia\/Bangkok\"<br>memory_limit = 512M<br>max_execution_time = 60<\/pre>\n\n\n\n<p id=\"67a5\">Save all files and then restart the apache2 service.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart apache2<\/pre>\n\n\n\n<p id=\"ea20\"><strong>Step 8: Configure a MariaDB (Database Server)<\/strong><\/p>\n\n\n\n<p id=\"5fe4\">Change the database configuration. The value of each parameter from the cacti suggestion. It depends on the cacti version.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/mysql\/mariadb.conf.d\/50-server.cnf<\/pre>\n\n\n\n<p id=\"d20a\">Insert or update the below settings in the [mysqld] section.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">collation-server = utf8mb4_unicode_ci<br>max_heap_table_size = 128M<br>tmp_table_size = 128M<br>join_buffer_size = 256M<br>innodb_file_format = Barracuda<br>innodb_large_prefix = 1<br>innodb_buffer_pool_size = 2048M<br>innodb_flush_log_at_timeout = 3<br>innodb_read_io_threads = 32<br>innodb_write_io_threads = 16<br>innodb_io_capacity = 5000<br>innodb_io_capacity_max = 10000<br>innodb_buffer_pool_instances = 21<\/pre>\n\n\n\n<p id=\"0f44\">And then restart the MariaDB.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart mysql<\/pre>\n\n\n\n<p id=\"213c\"><strong>Step 9: Create Cacti\u2019s database<\/strong><\/p>\n\n\n\n<p id=\"4bf0\">Enter to the MariaDB Server with this command without using MySQL password. When the prompt \u201cEnter password\u201d appeared press \u201center\u201d to login.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mysql -u root -p<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*L_FUFpbYWjn3nap5S1wVfw.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">MariaDB Console<\/figcaption><\/figure>\n\n\n\n<p id=\"e320\">Create the cacti\u2019s database with this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [(none)]&gt; create database cacti;<\/pre>\n\n\n\n<p id=\"3d3d\">Grant the permission to the cactiuser. Replace the \u2018password\u2019 with your password. Then Flush Privilege and exit from MariaDB console.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [(none)]&gt; GRANT ALL ON cacti.* TO cactiuser@localhost IDENTIFIED BY 'password';<br>MariaDB [(none)]&gt; flush privileges;<br>MariaDB [(none)]&gt; exit<\/pre>\n\n\n\n<p id=\"4260\">And Then, Import the mysql_test_data_timezone.sql to the MariaDB database.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo mysql -u root -p mysql &lt; \/usr\/share\/mysql\/mysql_test_data_timezone.sqlsudo mysql -u root -p<\/pre>\n\n\n\n<p id=\"de8d\">Grant the permission to the cactiuser to access the time_zone table.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">MariaDB [(none)]&gt; GRANT SELECT ON mysql.time_zone_name TO cactiuser@localhost;<br>MariaDB [(none)]&gt; flush privileges;<br>MariaDB [(none)]&gt; exit<\/pre>\n\n\n\n<p id=\"05ff\"><strong>Step 10: Download and Prepare a cacti setup<\/strong><\/p>\n\n\n\n<p id=\"2a3d\">Download the cacti installation file from the&nbsp;<a href=\"https:\/\/www.cacti.net\/download_cacti.php\">Cacti\u2019s website<\/a>. On the day I wrote the cacti version is 1.2.12.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*k82k7PCipQnLqh9-gHtjpg.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Cacti\u2019s Website<\/figcaption><\/figure>\n\n\n\n<p id=\"cf0d\">Download the cacti with this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ cd \/var\/www\/html<br>$ sudo rm index.html<br>$ sudo wget <a href=\"https:\/\/www.cacti.net\/downloads\/cacti-latest.tar.gz\">https:\/\/www.cacti.net\/downloads\/cacti-latest.tar.gz<\/a><\/pre>\n\n\n\n<p id=\"036b\">Extract the cacti-latest.tar.gz file and move to directory \/var\/www\/html.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo tar zxvf cacti-latest.tar.gz<br>$ cd cacti-1.2.12\/<br>$ sudo mv * \/var\/www\/html\/<\/pre>\n\n\n\n<p id=\"b0a4\">Import the Cacti\u2019s database with this command.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo mysql -u root -p cacti &lt; \/var\/www\/html\/cacti.sql<\/pre>\n\n\n\n<p id=\"0940\">Edit the MySQL in the Cacti config file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/var\/www\/html\/include\/config.php<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*0hXzYQvnHEBskyI140ZSGA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Change the password to your password in step 9<\/figcaption><\/figure>\n\n\n\n<p id=\"449c\">Change the Cacti Directory owner to the www-data and store the log file.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo touch \/var\/www\/html\/log\/cacti.log<br>$ sudo chown -R www-data:www-data \/var\/www\/html\/*<\/pre>\n\n\n\n<p id=\"9fb3\"><strong>Step 11: Add alias path to apache2<\/strong><\/p>\n\n\n\n<p id=\"67fe\">In this step, I want to access my cacti via the URL&nbsp;<a href=\"https:\/\/mycacti.xxx.xxx\/\">https:\/\/mycacti.mydomain.c<\/a>om without the \u201c\/cacti\u201d at the end of the path.<\/p>\n\n\n\n<p id=\"3bab\">So, I add the alias to the apache2 by create a new config file with the name cacti.conf in the \u201c\/etc\/apache2\/sites-enabled\u201d.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/apache2\/sites-enabled\/cacti.conf<\/pre>\n\n\n\n<p id=\"ecc4\">And Insert this,<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Alias \/cacti \/var\/www\/html&lt;Directory \/var\/www\/html&gt;Options +FollowSymLinksAllowOverride None&lt;IfVersion &gt;= 2.3&gt;Require all granted&lt;\/IfVersion&gt;&lt;IfVersion &lt; 2.3&gt;Order Allow,DenyAllow from all&lt;\/IfVersion&gt;AddType application\/x-httpd-php .php&lt;IfModule mod_php.c&gt;php_flag magic_quotes_gpc Offphp_flag short_open_tag Onphp_flag register_globals Offphp_flag register_argc_argv Onphp_flag track_vars On# this setting is necessary for some localesphp_value mbstring.func_overload 0php_value include_path .DirectoryIndex index.php&lt;\/Directory&gt;<\/pre>\n\n\n\n<p id=\"074c\">And Restart the apache2 again.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo systemctl restart apache2<\/pre>\n\n\n\n<p id=\"d6e2\"><strong>Step 12: Install cacti<\/strong><\/p>\n\n\n\n<p id=\"04ec\">Open the cacti installation by entering your URL \u201chttps:\/\/mycacti.mydomain.com\u201d on your web browser.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*-2h3I5xLDySKziToKjHsPA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">The Cacti first installation page<\/figcaption><\/figure>\n\n\n\n<p id=\"d962\">Login with username: admin and password: admin and cacti force you to change the default password.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*_pPJTeMYq96RGiV5jH7FTA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Change to your password<\/figcaption><\/figure>\n\n\n\n<p id=\"2f8f\">Accept and \u201cBegin\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*iIVDhiMCYGmWxOrDdWgDtQ.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">1. Read an Agreement and Begin<\/figcaption><\/figure>\n\n\n\n<p id=\"b926\">Checking the pre-installation check. You should get the result like this.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*dcRbkBF-V9faIkG2nckU5Q.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Good! Ready to install<\/figcaption><\/figure>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>Warning!!! If you get the result like this. You should to re-check your configuration in previous step<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*p8zTbF-T7Vsj-Qj0RS6dzA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Not Good! Try to check your configuration<\/figcaption><\/figure>\n\n\n\n<p id=\"89ed\">Select a New Primary Server and Next.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*aCsUWWEO3KzMkwJMU-2m_w.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">New Primary Server and Next<\/figcaption><\/figure>\n\n\n\n<p id=\"735c\">Directory Permission Check and Next.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*ZKsLGWcjunjovdShyD5nSg.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Directory permission check<\/figcaption><\/figure>\n\n\n\n<p id=\"f1a3\">Required Binary Check and Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*Y4dkFkZ8GyuhwqRk9WEWHA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">All Require Software Check<\/figcaption><\/figure>\n\n\n\n<p id=\"3ed1\">Input Validation Whitelist Protection. Checked the \u201cI have read this statement\u201d.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*_O3sAZ2BA49Z6RSoV1s1Iw.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Input Validation Whitelist Protection<\/figcaption><\/figure>\n\n\n\n<p id=\"ee00\">Setup the profile. I select a default cacti profile and disable \u201cScan Mode\u201d to stop the automation. (this option can be enabled after install)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*gj6GOaTIvdDKxphkPfb6FQ.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Setup the profile<\/figcaption><\/figure>\n\n\n\n<p id=\"b196\">Select all Template and Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*EJfQMR1_wOKlRgSUXo5B3A.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Template Setup<\/figcaption><\/figure>\n\n\n\n<p id=\"79fa\">Database Collation and Next ( In this step should not display a warning message, I forget to capture this step. So, I use an old picture.)<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*6eCCqmsf27coD7VRsK0UdA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Database Collation<\/figcaption><\/figure>\n\n\n\n<p id=\"510a\">Click confirm and Next<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*ymE3YzwVEj1a2KHnLqkI6Q.png\" alt=\"\"\/><\/figure>\n\n\n\n<p id=\"b530\">Your cacti server is now installing<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*QWwQR5aclCP84APiRzV69g.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Installing cacti server<\/figcaption><\/figure>\n\n\n\n<p id=\"8709\">Complete the install click \u201cGet Started\u201d<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*jgkpI7-QgEjJWS6n9PIBFQ.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Complete<\/figcaption><\/figure>\n\n\n\n<p id=\"890e\">Success!!!! Login to your cacti with the username: admin and your password.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*EwMlPiFjTq2lv0xUiiEekw.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">Your cacti is ready<\/figcaption><\/figure>\n\n\n\n<p id=\"7480\">Set up the poller to collect data every 5 minutes. Create file cactipoller in \/etc\/cron.d\/ and add this crontab and save it.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ sudo nano \/etc\/cron.d\/cactipoller<br>*\/5 * * * * php \/var\/www\/html\/poller.php &gt; \/dev\/null 2&gt;&amp;1<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" src=\"https:\/\/miro.medium.com\/max\/700\/1*gguPnn5MRaqahppk3HjgyA.png\" alt=\"\"\/><figcaption class=\"wp-element-caption\">An Example of cacti graph<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Cacti is a complete frontend to RRDTool, it stores all of the necessary information to create graphs and populate them with data in a MySQL database. The frontend is completely PHP driven. Along with being able to maintain Graphs, Data Sources, and Round Robin Archives in a database, cacti handles the data gathering. There is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":119,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-container-style":"default","site-container-layout":"default","site-sidebar-layout":"default","disable-article-header":"default","disable-site-header":"default","disable-site-footer":"default","disable-content-area-spacing":"default","footnotes":""},"categories":[6],"tags":[],"class_list":["post-49","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-ubuntu"],"_links":{"self":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":1,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":50,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/50"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=\/wp\/v2\/media\/119"}],"wp:attachment":[{"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nitirat.ddns.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}