{"id":5569,"date":"2016-01-13T09:43:50","date_gmt":"2016-01-13T01:43:50","guid":{"rendered":"http:\/\/rmohan.com\/?p=5569"},"modified":"2016-01-13T09:43:50","modified_gmt":"2016-01-13T01:43:50","slug":"disable-ipv6-in-centos-7","status":"publish","type":"post","link":"https:\/\/mohan.sg\/?p=5569","title":{"rendered":"Disable IPv6 In CentOS 7"},"content":{"rendered":"<p>entOS Linux release 7.0.1406 (Core)<\/p>\n<p>Verify Centos Version<br \/>\ncat \/etc\/centos-release<\/p>\n<p>I\u2019ve discovered bugs in some install packages. One such package is Zimbra. To work around these bugs, IPv6 and associated dependencies need to be disabled.<\/p>\n<p>To disable IPv6 in a CentOS 7 installation, perform the following tasks:<\/p>\n<p>Task 1<br \/>\nNavigate to and create a file inside\/etc\/modprobe.d\/.<br \/>\n(The name of the file can be anything, I chose \u201cdisable-ipv6\u201d)<br \/>\ncd \/etc\/modprobe.d\/<br \/>\nnano disable-ipv6<br \/>\nAdd this line<br \/>\ninstall ipv6 \/bin\/true<br \/>\nPress \u201cCtl+X\u201d to exit<br \/>\nSelect \u201cY\u201d to save changes<br \/>\nPress \u201cEnter\u201d to get back to CL<\/p>\n<p>Task 2<br \/>\nComment Out Hosts Entry<br \/>\nnano \/etc\/hosts<br \/>\nBy default, this is what\u2019s present:<br \/>\n127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4<br \/>\n::1 localhost localhost.localdomain localhost6 localhost6.localdomain6<br \/>\nComment out<br \/>\n#::1 localhost localhost.localdomain localhost6 localhost6.localdomain6<br \/>\nPress \u201cCtl+X\u201d to exit<br \/>\nSelect \u201cY\u201d to save changes<br \/>\nPress \u201cEnter\u201d to get back to CL<\/p>\n<p>Task 3<br \/>\nReboot the system to complete the process. It is required.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>entOS Linux release 7.0.1406 (Core)<\/p>\n<p>Verify Centos Version cat \/etc\/centos-release<\/p>\n<p>I\u2019ve discovered bugs in some install packages. One such package is Zimbra. To work around these bugs, IPv6 and associated dependencies need to be disabled.<\/p>\n<p>To disable IPv6 in a CentOS 7 installation, perform the following tasks:<\/p>\n<p>Task 1 Navigate to and create a file [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73],"tags":[],"_links":{"self":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5569"}],"collection":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5569"}],"version-history":[{"count":1,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5569\/revisions"}],"predecessor-version":[{"id":5570,"href":"https:\/\/mohan.sg\/index.php?rest_route=\/wp\/v2\/posts\/5569\/revisions\/5570"}],"wp:attachment":[{"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mohan.sg\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}