{"id":475,"date":"2022-07-14T16:38:05","date_gmt":"2022-07-14T16:38:05","guid":{"rendered":"https:\/\/www.webhi.com\/how-to\/?p=475"},"modified":"2022-07-20T16:27:15","modified_gmt":"2022-07-20T16:27:15","slug":"mysql-master-slave-replication-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/","title":{"rendered":"MySQL Master-Slave Replication on CentOS 7"},"content":{"rendered":"\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"576\" src=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-1024x576.jpg\" alt=\"MySQL Master-Slave Replication on CentOS 7\" class=\"wp-image-813\" srcset=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-1024x576.jpg 1024w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-300x169.jpg 300w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-768x432.jpg 768w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-150x84.jpg 150w, https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png.jpg 1200w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Introduction\">Introduction<\/h2>\n\n\n\n<p>MySQL replication is the process of automatically copying data from one database server to one or more servers.<\/p>\n\n\n\n<p>MySQL offers a variety of replication topologies, the most well-known of which is the Master\/Slave topology, in which one database server operates as the master and one or more servers function as slaves. By default, replication is asynchronous, with the master sending events to its binary log that describe database changes and slaves requesting the events when they are ready.<\/p>\n\n\n\n<p><br>In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.<br>This replication architecture is best suited for read replication.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Basic-requirements\">Basic requirements<\/h2>\n\n\n\n<p>In this example, we assume you have two servers running CentOS 7, and they can communicate with each other via a private network. If your hosting provider does not provide private IP addresses, you can use public IP addresses and configure the firewall to only allow traffic on port 3306 from trusted sources.<\/p>\n\n\n\n<p>The IP addresses of the servers in this example are as follows:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">Master IP: 10.10.0.44\nSlave IP:  10.10.0.20\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Install-MySQL\">Install MySQL<\/h2>\n\n\n\n<p>You can follow this article on <a href=\"https:\/\/www.webhi.com\/how-to\/installing-mysql-on-centos-rhel-7-6-fedora-31-30\/\" target=\"_blank\" rel=\"noreferrer noopener\">Installing MySQL on CentOS \/ Redhat 7\/6 &amp; Fedora 31\/30<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Configure-the-Master-Server\">Configure the Master Server<\/h2>\n\n\n\n<p>First, we will configure the master MySQL server with the following changes:<\/p>\n\n\n\n<ul><li>Configure the MySQL server to listen on its private IP address.<\/li><li>Create a distinct server ID.<\/li><li>Turn on binary logging.<\/li><\/ul>\n\n\n\n<p>To achieve this, edit the MySQL configuration file and insert the following lines in the <kbd>[mysqld]<\/kbd> section:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/my.cnf<\/code><\/pre>\n\n\n\n<h5 class=\"has-text-align-center wp-block-heading\">Master Server :\/etc\/my.cnf<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\">bind-address           = 10.10.0.44\nserver-id              = 44\nlog_bin                = mysql-bin\n<\/pre>\n\n\n\n<p>Once done, restart the MySQL service for changes to take effect.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart mysqld<\/code><\/pre>\n\n\n\n<p>The next step is to set up a new replication user. Log in as the root user to the MySQL server:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ mysql -uroot -p<\/code><\/pre>\n\n\n\n<p>Run the following SQL statements from within the MySQL prompt to create the slave1 user and grant the user the <kbd>REPLICATION SLAVE<\/kbd> privilege:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; CREATE USER 'slave1'@'10.10.0.20' IDENTIFIED BY 'secret_password';<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; GRANT REPLICATION SLAVE ON *.* TO 'slave1'@'10.10.0.20';<\/code><\/pre>\n\n\n\n<p>While you&#8217;re still in the MySQL prompt, use the following command to output the binary filename and position.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; SHOW MASTER STATUS\\G<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\">*************************** 1. row ***************************\n             File: mysql-bin.000001\n         Position: 1714\n     Binlog_Do_DB: \n Binlog_Ignore_DB: \nExecuted_Gtid_Set: \n1 row in set (0.00 sec)\n<\/pre>\n\n\n\n<p>Make note of the file name \u201cmysql-bin.000001\u201d and position \u201c1714\u201d. You will need these values when configuring the slave server. These values may be different on your server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"Configure-the-Slave-Server\">Configure the Slave Server<\/h2>\n\n\n\n<p>Like the Master server, we will make the following changes to the slave server:<\/p>\n\n\n\n<ul><li>Configure the MySQL server to listen on its private IP address.<\/li><li>Create a distinct server ID.<\/li><li>Turn on binary logging.<\/li><\/ul>\n\n\n\n<p>Open the MySQL configuration file and edit the following lines:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo nano \/etc\/my.cnf<\/code><\/pre>\n\n\n\n<h5 class=\"has-text-align-center wp-block-heading\">Slave Server:\/etc\/my.cnf<\/h5>\n\n\n\n<pre class=\"wp-block-preformatted\">bind-address           = 10.10.0.20\nserver-id              = 20\nlog_bin                = mysql-bin\n<\/pre>\n\n\n\n<p>Restart the MySQL service for changes to take effect.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ sudo systemctl restart mysqld<\/code><\/pre>\n\n\n\n<p>The next step is to set the parameters that will be used by the slave server to connect to the master server. Log in to the MySQL shell as follows:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ mysql -uroot -p<\/code><\/pre>\n\n\n\n<p>First, stop the slave threads:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; STOP SLAVE;<\/code><\/pre>\n\n\n\n<p>Execute the following query to configure the slave to duplicate the master:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; CHANGE MASTER TO\nmysql&gt; MASTER_HOST='10.10.0.44',\nmysql&gt; MASTER_USER='slave1',\nmysql&gt; MASTER_PASSWORD='secret_password',\nmysql&gt; MASTER_LOG_FILE='mysql-bin.000001',\nmysql&gt; MASTER_LOG_POS=1714;<\/code><\/pre>\n\n\n\n<p>Ensure that you are using the correct IP address, username, and password. The log file name and location must be the same values you got from the Master server.<\/p>\n\n\n\n<p>After that, start the slave threads.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; START SLAVE;<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Test the Configuration<\/h2>\n\n\n\n<p>You should now have a functional Master\/Slave replication configuration.<\/p>\n\n\n\n<p>On the master server, we&#8217;ll create a new database to ensure that everything works as expected:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ mysql -uroot -p<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; CREATE DATABASE test_db;<\/code><\/pre>\n\n\n\n<p>Log in to the slave MySQL shell with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"bash\" class=\"language-bash\">$ mysql -uroot -p<\/code><\/pre>\n\n\n\n<p>To list all databases, use the following command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\">mysql&gt; SHOW DATABASES;<\/code><\/pre>\n\n\n\n<p class=\"has-text-align-center\"><kbd>Output:<\/kbd><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">+--------------------+\n| Database           |\n+--------------------+\n| information_schema |\n| mysql              |\n| performance_schema |\n| test_db            |\n| sys                |\n+--------------------+\n5 rows in set (0.00 sec)\n<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In this article, we demonstrated how to set up a MySQL Master\/Slave replication on CentOS 7.<\/p>\n\n\n\n<p>If you have any questions, please leave a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction MySQL replication is the process of automatically copying data from one database server to one or more servers. MySQL offers a variety of replication topologies, the most well-known of which is the Master\/Slave topology, in which one database server operates as the master and one or more servers function as slaves. By default, replication ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[57,69],"tags":[],"yoast_head":"\n<title>MySQL Master-Slave Replication on CentOS 7 - WebHi Tutorials &amp; Documentations<\/title>\n<meta name=\"description\" content=\"In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.This replication architecture is best suited for read replication.\" \/>\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.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"MySQL Master-Slave Replication on CentOS 7 - WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"og:description\" content=\"In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.This replication architecture is best suited for read replication.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"WebHi Tutorials &amp; Documentations\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/webhi.technology\" \/>\n<meta property=\"article:published_time\" content=\"2022-07-14T16:38:05+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-07-20T16:27:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-1024x576.jpg\" \/>\n<meta name=\"author\" content=\"webhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:site\" content=\"@WebHiTechnology\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"webhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"TechArticle\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\"},\"author\":{\"name\":\"webhi\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\"},\"headline\":\"MySQL Master-Slave Replication on CentOS 7\",\"datePublished\":\"2022-07-14T16:38:05+00:00\",\"dateModified\":\"2022-07-20T16:27:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\"},\"wordCount\":582,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"articleSection\":[\"Databases\",\"Linux system administration\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\",\"name\":\"MySQL Master-Slave Replication on CentOS 7 - WebHi Tutorials &amp; Documentations\",\"isPartOf\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\"},\"datePublished\":\"2022-07-14T16:38:05+00:00\",\"dateModified\":\"2022-07-20T16:27:15+00:00\",\"description\":\"In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.This replication architecture is best suited for read replication.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.webhi.com\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"MySQL Master-Slave Replication on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#website\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"name\":\"WebHi Tutorials &amp; Documentations\",\"description\":\"System administration and knowledge base\",\"publisher\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#organization\",\"name\":\"WebHi Technology\",\"url\":\"https:\/\/www.webhi.com\/how-to\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png\",\"width\":288,\"height\":95,\"caption\":\"WebHi Technology\"},\"image\":{\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/webhi.technology\",\"https:\/\/twitter.com\/WebHiTechnology\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54\",\"name\":\"webhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435\",\"contentUrl\":\"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435\",\"caption\":\"webhi\"},\"sameAs\":[\"https:\/\/www.webhi.com\/how-to\"],\"url\":\"https:\/\/www.webhi.com\/how-to\/author\/webhi\/\"}]}<\/script>\n","yoast_head_json":{"title":"MySQL Master-Slave Replication on CentOS 7 - WebHi Tutorials &amp; Documentations","description":"In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.This replication architecture is best suited for read replication.","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.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"MySQL Master-Slave Replication on CentOS 7 - WebHi Tutorials &amp; Documentations","og_description":"In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.This replication architecture is best suited for read replication.","og_url":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/","og_site_name":"WebHi Tutorials &amp; Documentations","article_publisher":"https:\/\/www.facebook.com\/webhi.technology","article_published_time":"2022-07-14T16:38:05+00:00","article_modified_time":"2022-07-20T16:27:15+00:00","og_image":[{"url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/mysql_Master_slave_centos-en.png-1024x576.jpg"}],"author":"webhi","twitter_card":"summary_large_image","twitter_creator":"@WebHiTechnology","twitter_site":"@WebHiTechnology","twitter_misc":{"Written by":"webhi","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"TechArticle","@id":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/"},"author":{"name":"webhi","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54"},"headline":"MySQL Master-Slave Replication on CentOS 7","datePublished":"2022-07-14T16:38:05+00:00","dateModified":"2022-07-20T16:27:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/"},"wordCount":582,"commentCount":0,"publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"articleSection":["Databases","Linux system administration"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/","url":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/","name":"MySQL Master-Slave Replication on CentOS 7 - WebHi Tutorials &amp; Documentations","isPartOf":{"@id":"https:\/\/www.webhi.com\/how-to\/#website"},"datePublished":"2022-07-14T16:38:05+00:00","dateModified":"2022-07-20T16:27:15+00:00","description":"In this article, we will show you how to set up a MySQL Master\/Slave replication on CentOS 7 with one master and one slave server. The same procedures apply to MariaDB.This replication architecture is best suited for read replication.","breadcrumb":{"@id":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.webhi.com\/how-to\/mysql-master-slave-replication-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.webhi.com\/how-to\/"},{"@type":"ListItem","position":2,"name":"MySQL Master-Slave Replication on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.webhi.com\/how-to\/#website","url":"https:\/\/www.webhi.com\/how-to\/","name":"WebHi Tutorials &amp; Documentations","description":"System administration and knowledge base","publisher":{"@id":"https:\/\/www.webhi.com\/how-to\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.webhi.com\/how-to\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.webhi.com\/how-to\/#organization","name":"WebHi Technology","url":"https:\/\/www.webhi.com\/how-to\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/","url":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","contentUrl":"https:\/\/www.webhi.com\/how-to\/gilrogre\/2022\/07\/logo.png","width":288,"height":95,"caption":"WebHi Technology"},"image":{"@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/webhi.technology","https:\/\/twitter.com\/WebHiTechnology"]},{"@type":"Person","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/b31e76e2311cdc0bb90f5e2733059a54","name":"webhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.webhi.com\/how-to\/#\/schema\/person\/image\/","url":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435","contentUrl":"https:\/\/www.webhi.com\/how-to\/ahuphiph\/litespeed\/avatar\/e20da107d0f4c765ead2eef88ad019d8.jpg?ver=1783634435","caption":"webhi"},"sameAs":["https:\/\/www.webhi.com\/how-to"],"url":"https:\/\/www.webhi.com\/how-to\/author\/webhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/475"}],"collection":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/comments?post=475"}],"version-history":[{"count":66,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/475\/revisions"}],"predecessor-version":[{"id":1342,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/posts\/475\/revisions\/1342"}],"wp:attachment":[{"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/media?parent=475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/categories?post=475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.webhi.com\/how-to\/wp-json\/wp\/v2\/tags?post=475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}