{"id":640,"date":"2020-02-28T20:22:25","date_gmt":"2020-02-29T01:22:25","guid":{"rendered":"https:\/\/increasec.com\/?p=640"},"modified":"2022-08-30T09:23:46","modified_gmt":"2022-08-30T13:23:46","slug":"linux-commands","status":"publish","type":"post","link":"https:\/\/increasec.com\/?p=640","title":{"rendered":"Ubuntu Linux commands"},"content":{"rendered":"\n<p>Mostly for my own benefit<\/p>\n\n\n\n<p>Make Add-Apt-repository available:<br> apt-get install software-properties-common<\/p>\n\n\n\n<p>1<br>\n2<br>\n3<\/p>\n\n\n\n<p>Change Hostname:<br><strong>sudo nano \/etc\/hostname<\/strong><br><kbd><strong>sudo nano \/etc\/hosts<\/strong><\/kbd><\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Turn off IPv6<br>sudo nano \/etc\/sysctl.conf<br>Add: <br>net.ipv6.conf.all.disable_ipv6 = 1 <br>net.ipv6.conf.default.disable_ipv6 = 1<br>save<br>sudo reboot<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>Bring an interface up\/down new method:<br>ip link set dev up<br>ip link set dev down<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mostly for my own benefit Make Add-Apt-repository available: apt-get install software-properties-common 1 2 3 Change Hostname:sudo nano \/etc\/hostnamesudo nano \/etc\/hosts Turn off IPv6sudo nano \/etc\/sysctl.confAdd: net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.default.disable_ipv6 =&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[10],"class_list":["post-640","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-linux"],"_links":{"self":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/640","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=640"}],"version-history":[{"count":4,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/640\/revisions"}],"predecessor-version":[{"id":2170,"href":"https:\/\/increasec.com\/index.php?rest_route=\/wp\/v2\/posts\/640\/revisions\/2170"}],"wp:attachment":[{"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=640"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=640"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/increasec.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=640"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}