{"id":138,"date":"2017-03-16T00:47:09","date_gmt":"2017-03-15T15:47:09","guid":{"rendered":"http:\/\/shinke1987.net\/?p=138"},"modified":"2017-06-22T21:10:08","modified_gmt":"2017-06-22T12:10:08","slug":"centos-tips","status":"publish","type":"post","link":"https:\/\/shinke1987.net\/?p=138","title":{"rendered":"CentOS Tips"},"content":{"rendered":"<ul>\n<li><strong>firewalld\u3092\u505c\u6b62<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># systemctl stop firewalld<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>iptables\u3092\u8d77\u52d5\u505c\u6b62\u3059\u308b\u6e96\u5099<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum install iptables-services<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u60c5\u5831\u3092\u4e00\u89a7\u8868\u793a<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># nmcli device show<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u30db\u30b9\u30c8\u540d\u3092\u8868\u793a<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># hostnamectl status<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u306e\u8a2d\u5b9a\u3092\u3057\u3066\u53cd\u6620\u3055\u305b\u308b<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# nmtui\r\n# systemctl restart Networkmanager\r\n<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u30b5\u30fc\u30d3\u30b9\u306e\u81ea\u52d5\u8d77\u52d5ONOFF<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># systemctl enable \u30b5\u30fc\u30d3\u30b9\u540d<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u5168\u30b5\u30fc\u30d3\u30b9\u306e\u81ea\u52d5\u8d77\u52d5ONOFF\u3092\u78ba\u8a8d<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># systemctl list-unit-files<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u6709\u52b9\u306b\u306a\u3063\u3066\u3044\u308b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u78ba\u8a8d\u3059\u308b<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum repolist enabled<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>EPEL\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\"># yum install epel-release<\/pre>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>remi\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\uff08\u4e8b\u524d\u306bEPEL\u3092\u4f7f\u3048\u308b\u3088\u3046\u306b\u3059\u308b\u5fc5\u8981\u6709\u308a\uff09<\/strong>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\r\n# wget https:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm\r\n# sudo rpm -Uvh remi-release-7.rpm\r\n<\/pre>\n<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>firewalld\u3092\u505c\u6b62 # systemctl stop firewalld &nbsp; iptables\u3092\u8d77\u52d5\u505c\u6b62\u3059\u308b\u6e96\u5099 # yum install iptables-services &nbsp; \u30cd\u30c3\u30c8\u30ef\u30fc\u30af [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[34],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-centos","tag-centos"],"_links":{"self":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=138"}],"version-history":[{"count":4,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":333,"href":"https:\/\/shinke1987.net\/index.php?rest_route=\/wp\/v2\/posts\/138\/revisions\/333"}],"wp:attachment":[{"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shinke1987.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}