{"id":8250,"date":"2024-08-05T18:56:00","date_gmt":"2024-08-05T09:56:00","guid":{"rendered":"https:\/\/east19-mikas.com\/mpat\/?page_id=8250"},"modified":"2024-08-05T20:53:00","modified_gmt":"2024-08-05T11:53:00","slug":"lamp%e7%92%b0%e5%a2%83%e3%81%ae%e4%bd%9c%e6%88%90","status":"publish","type":"page","link":"https:\/\/east19-mikas.com\/mpat\/?page_id=8250","title":{"rendered":"LAMP\u74b0\u5883\u306e\u4f5c\u6210"},"content":{"rendered":"\n<p class=\"has-medium-font-size\"><em>LinuxOS \u306e AlmaLinux\u4e0a\u306bLAMP\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059<\/em><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u9023\u8a2d\u5b9a\">\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u9023\u8a2d\u5b9a<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"nic\u306e\u8a2d\u5b9a\">NIC\u306e\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u30b3\u30de\u30f3\u30c9\u3067 nmtui \u3092\u6253\u3064\u3068\u4e0b\u56f3\u5de6\u304c\u8868\u793a\u3055\u308c\u308b<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">nmtui<\/mark><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" data-id=\"8537\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-1-2.png\" alt=\"\" class=\"wp-image-8537\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" data-id=\"8538\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-2-2.png\" alt=\"\" class=\"wp-image-8538\"\/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">\u5de6\u56f3\u3067\u63a5\u7d9a\u306e\u7de8\u96c6\u304b\u3089\u5165\u308a\u3001\u7aef\u672b\u3092\u6307\u5b9a\u3057\u3001\u7de8\u96c6\u3092\u9078\u629e<\/figcaption><\/figure>\n\n\n\n<div style=\"height:24px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-group is-layout-flow wp-block-group-is-layout-flow\">\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" data-id=\"8535\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-3-1.png\" alt=\"\" class=\"wp-image-8535\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" data-id=\"8536\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-4.png\" alt=\"\" class=\"wp-image-8536\"\/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">\u7aef\u672b\u3067IP\u3001GW\u3001DNS\u3092\u5165\u529b\u3057\u305f\u3089\u3001\u53f3\u4e0b\u306eOK\u3067\u7d42\u4e86<\/figcaption><\/figure>\n<\/div>\n\n\n\n<div style=\"height:38px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-3 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" data-id=\"8530\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-5.png\" alt=\"\" class=\"wp-image-8530\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img decoding=\"async\" data-id=\"8531\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-6.png\" alt=\"\" class=\"wp-image-8531\"\/><\/figure>\n<figcaption class=\"blocks-gallery-caption wp-element-caption\">\u6700\u521d\u306e\u753b\u9762\u306b\u623b\u308a\u3001\u63a5\u7d9a\u3092\u30a2\u30af\u30c6\u30a3\u30d9\u30fc\u30c8\u3059\u308b\u3092\u9078\u629e\uff08\u63a5\u7d9a\u3055\u308c\u3066\u3044\u308c\u3070OK\uff09<\/figcaption><\/figure>\n\n\n\n<div style=\"height:43px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide is-stacked-on-mobile is-vertically-aligned-top\" style=\"grid-template-columns:47% auto\"><figure class=\"wp-block-media-text__media\"><img decoding=\"async\" src=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/nmtui-7-1.png\" alt=\"\" class=\"wp-image-8539 size-full\"\/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-medium-font-size\">\u6700\u521d\u306e\u753b\u9762\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u30db\u30b9\u30c8\u540d\u3092\u8a2d\u5b9a\u3059\u308b\u304b\u3089\u5de6\u56f3\u306e\u753b\u9762\u3092\u51fa\u3057\u3001\u30db\u30b9\u30c8\u540d\u3092\u5165\u529b\u3057\u305f\u3089&lt;OK&gt;\u3092\u9078\u629e\u3057\u3001\u30af\u30ea\u30c3\u30af\u3059\u308b\u3002<\/p>\n\n\n\n<p>\u6700\u521d\u306e\u753b\u9762\u306b\u623b\u3063\u305f\u3089\u3001&lt;OK&gt;\u3092\u62bc\u3057\u3066\u7d42\u4e86\u3059\u308b\u3002<\/p>\n<\/div><\/div>\n\n\n\n<div style=\"height:57px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>\u4ee5\u4e0a\u3067 ssh \u30ed\u30b0\u30a4\u30f3\u304c\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 <\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">ssh root@192.168.12.202<\/mark><\/code><\/pre>\n\n\n\n<div style=\"height:70px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u57fa\u672c\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\">\u57fa\u672c\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u958b\u767a\u30c4\u30fc\u30eb\u306a\u3069\u3001\u57fa\u672c\u7684\u306a\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y groupinstall base<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y groupinstall development<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y groupinstall network-tools<\/mark><\/code><\/pre>\n\n\n\n<br>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\">\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/h2>\n\n\n\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u3001\u6700\u65b0\u7248\u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y update<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u4e0d\u8981\u30b5\u30fc\u30d3\u30b9\u306e\u505c\u6b62\">\u4e0d\u8981\u30b5\u30fc\u30d3\u30b9\u306e\u505c\u6b62<\/h2>\n\n\n\n<p>\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl disable atd<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\"># <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl disable kdump<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl disable mdmonitor<\/mark><\/code><\/pre>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"selinux\u306e\u8a2d\u5b9a\">SELINUX\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<p>SELINUX\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a2d\u5b9a\u304b\u3089\u3001\u3044\u304f\u3064\u304b\u306e\u8a2d\u5b9a\u3092\u5909\u66f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">setools-console\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install setools-console<\/mark><\/code><\/pre>\n\n\n\n<p><br>\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u304c\u30d6\u30e9\u30a6\u30b6\u306e\u3001\u300c\u304a\u554f\u3044\u5408\u308f\u305b\u300d\u304b\u3089\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30e1\u30fc\u30eb\u304c\u9001\u4fe1\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u305f\u3081\u3001\u6b21\u306e\u64cd\u4f5c\u3092\u884c\u3044\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">setsebool -P httpd_can_sendmail=1<\/mark><\/code><\/pre>\n\n\n\n<p class=\"has-medium-font-size\"><br><strong><em>\u6ce8\u610f\uff01\u3000\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\/var\u306e\u4e0b\u306e\/www\/html \u306fApache\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5f8c\u306b\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u8a2d\u7f6e\u3092\u884c\u3044\u307e\u3059\u3002Apache\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u524d\u306b\u306f\u3053\u306e\u30d5\u30a9\u30eb\u30c0\u306f\u6709\u308a\u307e\u305b\u3093\uff01<\/em><\/strong><\/p>\n\n\n\n<p>Web\u30eb\u30fc\u30c8\u3001\/var\/www\/html\/\u3000\u306b\u6b21\u306e\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">semanage fcontext -a -t httpd_sys_rw_content_t \"\/var\/www\/html(\/.*)?\"<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30b3\u30f3\u30c6\u30ad\u30b9\u30c8\u306e\u8a2d\u5b9a\u3092\u30d5\u30a1\u30a4\u30eb\u306b\u53cd\u6620\u3055\u305b\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">restorecon -R -v \/var\/www\/html\/<\/mark><\/code><\/pre>\n\n\n\n<p>WordPress\u3067\u3001\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u66f4\u65b0\u3084\u30c6\u30fc\u30de\u306e\u66f4\u65b0\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">setsebool -P domain_can_mmap_files=1<\/mark> \n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">setsebool -P httpd_graceful_shutdown=1<\/mark><\/code><\/pre>\n\n\n\n<div style=\"height:53px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"firewalld\u8a2d\u5b9a\">firewalld\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u73fe\u5728\u306e\u8a2d\u5b9a\u306e\u78ba\u8a8d\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">firewall-cmd --list-all<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-base-3-color\">public(active)<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">target: default\nicmp-block-inversion: no\ninterfaces: enpp0s3 enp0s8\nsources:\nservices: cockpit ddhcpv6-client ssh\nports:\n\uff08\u7565\uff09<\/mark><\/code><\/pre>\n\n\n\n<p>\u521d\u671f\u8a2d\u5b9a\u3067\u306f public\u30be\u30fc\u30f3\u306e cockpit\u3001dhcpv6-client\u3001ssh \u30b5\u30fc\u30d3\u30b9\u304c\u8a31\u53ef\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>cockpit \u3068 dhcpv6-client \u3092\u4f7f\u308f\u306a\u3044\u5834\u5408\u306f\u3001\u524a\u9664\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">firewall-cmd --remove-service=cockpit --permanent<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">firewall-cmd --remove-service=dhcpv6-client --permanent<\/mark><\/code><\/pre>\n\n\n\n<p>\u8ffd\u52a0\u3067 HTTP(80\/tcp) \u3068 HTTPS(443\/tcp) \u3092\u8a31\u53ef\u3057\u3066\u304a\u304d\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code has-white-color has-text-color has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">firewall-cmd --add-port=80\/tcp --permanent<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\n# <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">firewall-cmd --add-port=443\/tcp --permanent<\/mark><\/code><\/pre>\n\n\n\n<p>\u8a2d\u5b9a\u3092\u8aad\u8fbc\u307f\u307e\u3059<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#  <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcff00\" class=\"has-inline-color\">firewall-cmd --reload<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u8a2d\u5b9a\u3092\u78ba\u8a8d\u3057\u307e\u3059\n# <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#fcff00\" class=\"has-inline-color\">firewall-cmd --list-all<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\n-----(\u4ee5\u4e0b\u306e\u8868\u793a\u3067\u3042\u308c\u3070OK)----- public (active)\ntarget: default\nicmp-block-inversion: no\ninterfaces: enp2s0\nsources:\nservices: ssh\nports: 80\/tcp 443\/tcp\n\uff08\u7565\uff09<\/mark><\/code><\/pre>\n\n\n\n<br>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"chrony\u8a2d\u5b9a-ntp\">Chrony\u8a2d\u5b9a\uff08NTP\uff09<\/h2>\n\n\n\n<p>\u30bf\u30a4\u30e0\u30be\u30fc\u30f3\u3092\u65e5\u672c\u306b\u5909\u66f4<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">timedatectl set-timezone Asia\/Tokyo<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fbNTP\u30b5\u30fc\u30d0\u30fc\u3092\u5909\u66f4\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/chrony.conf<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">pool 2.cloudlinux.pool.ntp.org iburst\n\u3000\u2193\npool ntp.nict.jp<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">chronyd \u3092\u518d\u8d77\u52d5\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl restart chronyd<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl enable chronyd<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb10\u5206\u307b\u3069\u7d4c\u904e\u3057\u305f\u3089\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">chronyc sources -v<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">-----(\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u3042\u308c\u3070OK)----- \n^+ ntp-a3.nict.go.jp 1 6 77 59 +972us&#91; +972us] +\/- 5667us\n^- ntp-b2.nict.go.jp 1 6 77 61 +1423us&#91;+1423us] +\/- 3830us\n^* ntp-a2.nict.go.jp 1 6 77 62 +269us&#91; +547us] +\/- 4458us<\/mark><\/code><\/pre>\n\n\n\n<p>chronyd \u306f\u3086\u3063\u304f\u308a\u6642\u523b\u3092\u540c\u671f\u3057\u307e\u3059\u3002\u6642\u523b\u304c\u3042\u307e\u308a\u306b\u3082\u30ba\u30ec\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4e0b\u8a18\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u5373\u6642\u540c\u671f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff08ntpdate\u30b3\u30de\u30f3\u30c9\u306f\u5ec3\u6b62\u3055\u308c\u307e\u3057\u305f\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">chronyc makestep<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8postfix\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\">\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8Postfix\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc9\u3059\u308b\u5834\u5408\u3001\u9001\u4fe1\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc(SMTP\u30b5\u30fc\u30d0\u30fc)\u3068\u53d7\u4fe1\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc(POP\/IMAP\u30b5\u30fc\u30d0\u30fc)\u306e\u69cb\u7bc9\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u3053\u3053\u3067\u306f\u3001\u9001\u4fe1\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306b\u306fPostfix\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304c\u3001\u304a\u554f\u3044\u5408\u308f\u305b\u306e\u9001\u4fe1\u306e\u307f\u306b\u9650\u5b9a\u3059\u308b\u306e\u3067\u3001\u53d7\u4fe1\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u306f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u305b\u3093\u3002\u3053\u306e\u305f\u3081\u3001\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u3092\u4e0d\u6b63\u306a\u4e2d\u7d99\u30b5\u30fc\u30d0\u30fc\u306b\u3055\u305b\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u8a2d\u5b9a\u306f\u4e0d\u8981\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install postfix<\/mark>\u3000  <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u2190\u3000Postfix\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install mailx<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"postfix\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059\">PostFix\u306e\u8a2d\u5b9a\u3092\u884c\u3044\u307e\u3059<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"main-cf\u306e\u7de8\u96c6\">main.cf\u306e\u7de8\u96c6<\/h4>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/postfix\/main.cf<\/mark>\u3000<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u2190\u3000Postfix\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">94\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">myhostname = east19-mikas.com\u3000       \u2190\u3000\u8ffd\u52a0(\u81eaFQDN\u540d\u3092\u6307\u5b9a)\n\u3000\u3000\u3000\u6ce8\u610f\uff01\u3053\u306e\u90e8\u5206\u3067\u3001hostname\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u6709\u52b9\u3067\u3042\u308b\u5fc5\u8981\u304c\u6709\u308a\u307e\u3059\uff01<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">102\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">mydomain = east19-mikas.com         \u2190\u3000\u8ffd\u52a0(\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u6307\u5b9a)\n\u3000\u3000\u3000\u6ce8\u610f\uff01\u3053\u306e\u90e8\u5206\u3067\u3001hostname\u306f\u3001\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u4e0a\u3067\u6709\u52b9\u3067\u3042\u308b\u5fc5\u8981\u304c\u6709\u308a\u307e\u3059\uff01<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">118\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">myorigin = $mydomain            \u2190\u3000\u8ffd\u52a0(\u30ed\u30fc\u30ab\u30eb\u304b\u3089\u306e\u30e1\u30fc\u30eb\u9001\u4fe1\u6642\u306e\u9001\u4fe1\u5143\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9@\u4ee5\u964d\u306b\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u4ed8\u52a0)<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">135\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">inet_interfaces = localhost       \u2190\u5916\u90e8\u304b\u3089\u306e\u30e1\u30fc\u30eb\u53d7\u4fe1\u306f\u8a31\u53ef\u3057\u306a\u3044\uff08\u9001\u4fe1\u5c02\u7528\u30b5\u30fc\u30d0\u30fc\u3068\u3059\u308b\uff09<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">183\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">mydestination = $myhostname, localhost.$mydomain, localhost\u3000\u3000\u3000 \u2190\u5909\u66f4\u3057\u306a\u3044\uff08\u81ea\u30c9\u30e1\u30a4\u30f3\u5b9b\u30e1\u30fc\u30eb\u306f\u53d7\u8a3a\u3057\u306a\u3044\uff09<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">591\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">smtpd_banner = $myhostname ESMTP unknown\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000 \u2190\u3000\u8ffd\u52a0(\u30e1\u30fc\u30eb\u30b5\u30fc\u30d0\u30fc\u30bd\u30d5\u30c8\u540d\u306e\u96a0\u853d\u5316)\n\u4ee5\u4e0a\u306f\u3001main.cf\u306e\u8a2d\u5b9a\u5185\u5bb9<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"master-cf\u306e\u7de8\u96c6\">master.cf\u306e\u7de8\u96c6<\/h4>\n\n\n\n<p>\u6b21\u306fmaster.cf\u30d5\u30a1\u30a4\u30eb\u306e\u7de8\u96c6\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/postfix\/master.cf<\/mark>\u3000       <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u2190\u3000master.cf\u7de8\u96c6<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">17\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">submission inet n   -    n    -   -  smtpd\u3000\u2190\u3000\u884c\u982d\u306e#\u3092\u524a\u9664(SUBMISSION\u30dd\u30fc\u30c8\u6709\u52b9\u5316)<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0);color:#eeaa55\" class=\"has-inline-color\">21\u884c\u76ee<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">-o smtpd_sasl_auth_enable=yes\u3000\u2190\u3000\u884c\u982d\u306e#\u3092\u524a\u9664(SUBMISSION\u30dd\u30fc\u30c8\u3067SMTP\u8a8d\u8a3c\u6709\u52b9\u5316)<\/mark><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"postfix\u306e\u518d\u8d77\u52d5\">PostFix\u306e\u518d\u8d77\u52d5<\/h3>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl restart postfix<\/mark>\u3000     <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u2190\u3000Postfix\u518d\u8d77\u52d5\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl enable postfix<\/mark>\u3000      <mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u2190\u3000Postfix\u81ea\u52d5\u8d77\u52d5\u8a2d\u5b9a<\/mark><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"root\u5b9b\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u5148\u3092\u5909\u66f4\u3057\u307e\u3059\">root\u5b9b\u30e1\u30fc\u30eb\u306e\u9001\u4fe1\u5148\u3092\u5909\u66f4\u3057\u307e\u3059<\/h3>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/aliases<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">-----(\u4e0b\u8a18\u3092\u6700\u7d42\u884c\u306b\u8ffd\u52a0)-----\n\n root: \uff1c\u81ea\u5206\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\uff1e<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30e1\u30fc\u30eb\u30a8\u30a4\u30ea\u30a2\u30b9\u306eDB\u30d5\u30a1\u30a4\u30eb\u3092\u66f4\u65b0\u3057\u307e\u3059\n\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">newaliases<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">root\u5b9b\u306e\u30e1\u30fc\u30eb\u304c\u3001\u81ea\u5206\u306e\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u5b9b\u306b\u5c4a\u304f\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\n\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">echo test | mail -s \"test mail\" root<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0\">\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">EPEL\n#<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\"> dnf config-manager --set-enabled powertools<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install epel-release<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y update<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">Remi\n#<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\"> rpm -ivh http:\/\/rpms.remirepo.net\/enterprise\/remi-release-8.rpm<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">rpm --import http:\/\/rpms.remirepo.net\/RPM-GPG-KEY-remi<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">Remi \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u6709\u52b9\u5316\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf config-manager --set-enabled remi<\/mark><\/code><\/pre>\n\n\n\n<p>Remi \u30ea\u30dd\u30b8\u30c8\u30ea\u304b\u3089 PHP7.4 \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u308b\u3088\u3046\u306b php:remi-7.4 \u30e2\u30b8\u30e5\u30fc\u30eb\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y module reset php<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y module install php:remi-7.4<\/mark><\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<p>\u3010\u88dc\u8db3\u3011<br>AlmaLinux OS 8 \u306b\u306f\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u306b Application Streams \u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308a\u3001\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u7c21\u5358\u306b\u5909\u66f4\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u7279\u5b9a\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\uff08\u4f8b\u3048\u3070\u3001PHP7.4\uff09\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3092\u300c\u30e2\u30b8\u30e5\u30fc\u30eb\uff08module\uff09\u300d\u3068\u547c\u3073\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u306e\u4e00\u89a7\u306f\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3067\u78ba\u8a8d\u3067\u304d\u307e\u3059\u3002 dnf module list<\/p>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u5404\u7a2e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\">\u5404\u7a2e\u30df\u30c9\u30eb\u30a6\u30a7\u30a2\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>\u203b\u30d0\u30fc\u30b8\u30e7\u30f3\u306f2021\u5e749\u67081\u65e5\u6642\u70b9\u306e\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">Apache httpd\uff082.4.37-39\uff09\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install httpd-devel<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install mod_ssl<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">PHP\uff087.4.23-1\uff09\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php-devel<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php-pdo<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php-mysqlnd<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\"> dnf -y install php-mbstring<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php-gd<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php-pear<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install composer<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install php-pecl-apc-devel<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install zlib-devel<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">MySQL\uff088.0.21-1\uff09\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install mysql-devel<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">dnf -y install mysql-server<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"php\u306e\u8a2d\u5b9a\">PHP\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fbPHP\u306e\u8a2d\u5b9a\n# <\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/php.ini<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\"> \n<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">expose_php = On\n\u3000\u2193\nexpose_php = Off\n\n;date.timezone =\n\u3000\u2193\ndate.timezone = 'Asia\/Tokyo'\n\nerror_reporting = E_ALL &amp; ~E_DEPRECATED &amp; ~E_STRICT\n\u3000\u2193\nerror_reporting = E_ALL &amp; ~E_NOTICE<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">php-fpm \u3092\u81ea\u52d5\u8d77\u52d5\u3092\u8a2d\u5b9a\u3057\u8d77\u52d5\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl enable --now php-fpm<\/mark><\/code><\/pre>\n\n\n\n<p>\u30e2\u30b8\u30e5\u30fc\u30eb\u7248\u306e PHP \u3068\u306f\u9055\u3044 php-fpm \u306b\u306f\u3044\u304f\u3064\u304b\u6ce8\u610f\u70b9\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u3092\u78ba\u8a8d\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>PHP \u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067 FastCGI Process Manager (FPM) \u3092\u4f7f\u7528\u3057\u307e\u3059 (\u30b9\u30ec\u30c3\u30c9\u5316\u3055\u308c\u305f httpd \u3067\u5b89\u5168\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059)\u3002<\/li>\n\n\n\n<li>php_value \u5909\u6570\u304a\u3088\u3073 php-flag \u5909\u6570\u306f httpd \u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u4f7f\u7528\u3055\u308c\u306a\u304f\u306a\u308a\u3001\u4ee3\u308f\u308a\u306b \u30d7\u30fc\u30eb\u8a2d\u5b9a\u306e \/etc\/php-fpm.d\/*.conf \u3067\u8a2d\u5b9a\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>PHP \u30b9\u30af\u30ea\u30d7\u30c8\u306e\u30a8\u30e9\u30fc\u3068\u8b66\u544a\u306e\u30ed\u30b0\u306f\u3001\/var\/log\/httpd\/error.log \u3067\u306f\u306a\u304f \/var\/log\/php- fpm\/www-error.log \u30d5\u30a1\u30a4\u30eb\u306b\u8a18\u9332\u3055\u308c\u307e\u3059\u3002<\/li>\n\n\n\n<li>PHP \u306e max_execution_time \u8a2d\u5b9a\u5909\u6570\u3092\u5909\u66f4\u3059\u308b\u3068\u304d\u306f\u3001\u5909\u66f4\u3057\u305f\u5024\u306b\u5408\u308f\u305b\u3066 httpd ProxyTimeout \u8a2d\u5b9a\u3092\u5897\u3084\u3059\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n\n\n\n<li>PHP \u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u304c\u3001FPM \u30d7\u30fc\u30eb\u8a2d\u5b9a (\/etc\/php-fpm\/d\/www.conf \u30d5\u30a1\u30a4 \u30eb\u3001apache \u30e6\u30fc\u30b6\u30fc\u304c\u30c7\u30d5\u30a9\u30eb\u30c8) \u306b\u8a2d\u5b9a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/li>\n\n\n\n<li>\u8a2d\u5b9a\u3092\u5909\u66f4\u3057\u305f\u5834\u5408\u3001\u307e\u305f\u306f\u65b0\u3057\u3044\u62e1\u5f35\u6a5f\u80fd\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u5834\u5408\u306f\u3001php-fpm \u30b5\u30fc\u30d3\u30b9\u3092 \u518d\u8d77\u52d5\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/li>\n<\/ul>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/access.redhat.com\/documentation\/ja-jp\/red_hat_enterprise_linux\/8\/html\/considerations_in_adopting_rhel_8\/dynamic-programming-languages-web-servers-database-servers_considerations-in-adopting-rhel-8#php_dynamic-programming-languages-web-servers-database-servers\" target=\"_blank\">15.1.2. PHP \u3078\u306e\u4e3b\u306a\u5909\u66f4\u70b9 | RHEL 8 \u306e\u5c0e\u5165\u306b\u304a\u3051\u308b\u691c\u8a0e\u4e8b\u9805<\/a>\u3000\u3088\u308a\u5f15\u7528<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"apache-httpd-\u306e\u8a2d\u5b9a\">Apache httpd \u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u4e0d\u8981\u306a\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u8aad\u8fbc\u307e\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/httpd\/conf.d\/autoindex.conf \/etc\/httpd\/conf.d\/autoindex.conf.org<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/httpd\/conf.d\/userdir.conf \/etc\/httpd\/conf.d\/userdir.conf.org<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/httpd\/conf.d\/welcome.conf \/etc\/httpd\/conf.d\/welcome.conf.org<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/httpd\/conf\/httpd.conf \/etc\/httpd\/conf\/httpd.conf.org<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u30b3\u30f3\u30d5\u30a3\u30b0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/httpd\/conf\/httpd.conf<\/mark><\/code><\/pre>\n\n\n\n<p>httpd.conf\u306e\u5185\u5bb9\u306f\u4e0b\u8a18\u306e\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u30fb\u8cbc\u308a\u4ed8\u3051\u3057\u307e\u3059<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-0affdb75-2348-478d-aece-e1360f034d7d\" href=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/httpd.conf_.txt\" target=\"_blank\" rel=\"noreferrer noopener\">httpd.conf_<\/a><\/div>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">Apache httpd \u306e\u81ea\u52d5\u8d77\u52d5\u3092\u8a2d\u5b9a\u3057\u8d77\u52d5\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl enable --now httpd<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u4f5c\u6210\">\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306f\u3001My\u8a8d\u8a3c\u5c40\u3068\u3057\u3066\u30d6\u30e9\u30a6\u30b6\u306b\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u305f\u30b5\u30fc\u30d0\u30fc\u3067\u4f5c\u6210\u3057\u307e\u3059\u3002\u4f5c\u6210\u6642\u3001\u30c9\u30e1\u30a4\u30f3\u540d\u3092\u30b5\u30fc\u30d0\u30fc\u306e\u30c9\u30e1\u30a4\u30f3\u540d\u3068\u3059\u308b\u5fc5\u8981\u304c\u6709\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u4ef6\u306f\u5225\u9805\u3067\u8aac\u660e\u3057\u307e\u3059<\/p>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"apache-https-ssl-tls-\u306e\u8a2d\u5b9a\">Apache HTTPS\uff08SSL\/TLS\uff09\u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">SSL\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30c3\u30d7\u3057\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/httpd\/conf.d\/ssl.conf \/etc\/httpd\/conf.d\/ssl.conf.org<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">SSL\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/httpd\/conf.d\/ssl.conf<\/mark><\/code><\/pre>\n\n\n\n<p class=\"has-black-color has-text-color\">ssl.conf\u306e\u5185\u5bb9\u306f\u4e0b\u8a18\u306e\u30ea\u30f3\u30af\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u8868\u793a\u3055\u308c\u308b\u5185\u5bb9\u3092\u30b3\u30d4\u30fc\u30fb\u8cbc\u308a\u4ed8\u3051\u3057\u307e\u3059<\/p>\n\n\n\n<div class=\"wp-block-file\"><a id=\"wp-block-file--media-0f66fb47-006d-43eb-8fd4-012ac1d7488d\" href=\"https:\/\/east19-mikas1.com\/wrxt\/wp-content\/uploads\/2022\/03\/ssl.conf_.txt\" target=\"_blank\" rel=\"noreferrer noopener\">ssl.conf_<\/a><\/div>\n\n\n\n<p>\u95a2\u9023\u8a18\u4e8b\uff1a<a rel=\"noreferrer noopener\" href=\"https:\/\/blog.apar.jp\/linux\/8041\/\" target=\"_blank\">\u5b89\u5168\u306a SSL\/TLS \u8a2d\u5b9a\u306b\u3059\u308b\u305f\u3081\u306e10\u306e\u30dd\u30a4\u30f3\u30c8\uff08Apache httpd 2.4\uff09<\/a><br>&nbsp;<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">Apache httpd \u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl restart httpd<\/mark><\/code><\/pre>\n\n\n\n<p>WEB\u30d6\u30e9\u30a6\u30b6\u3067 HTTPS\u3067\u63a5\u7d9a\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3010\u88dc\u8db3\u3011<br>\u81ea\u5df1\u7f72\u540d\u306e\u30b5\u30fc\u30d0\u30fc\u8a3c\u660e\u66f8\u306e\u5834\u5408\u306f\u8b66\u544a\u304c\u8868\u793a\u3055\u308c\u3001\u63a5\u7d9a\u3067\u304d\u306a\u3044\u5834\u5408\u304c\u3042\u308a\u307e\u3059\u3002FireFox \u3067\u300c\u5371\u967a\u6027\u3092\u627f\u77e5\u3067\u7d9a\u884c\u300d\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u63a5\u7d9a\u3059\u308b\u304b\u3001Google Chrome \u306e\u5834\u5408\u306f\u300cthisisunsafe\u300d\u3068\u30bf\u30a4\u30d7\u3059\u308b\u3068\u63a5\u7d9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"mysql-8-0-\u306e\u8a2d\u5b9a\">MySQL 8.0 \u306e\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fbMySQL\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/my.cnf.d\/mysql-server.cnf<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">slow_query_log=ON\nslow_query_log_file=\/var\/log\/mysql\/slow_query.log\nlong_query_time=1.0\n\nlog_timestamps=SYSTEM\nskip-character-set-client-handshake<\/mark><\/code><\/pre>\n\n\n\n<p>\u3010\u88dc\u8db3\u3011<br>MySQL 8.0 \u3067\u306f\u30bb\u30ad\u30e5\u30ea\u30c6\u30a3\u5f37\u5316\u306e\u305f\u3081\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8a8d\u8a3c\u30d7\u30e9\u30b0\u30a4\u30f3\u304c\u300ccaching_sha2_password\u300d\u306b\u5909\u66f4\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u3057\u304b\u3057\u3001\u73fe\u72b6\u3067\u306f\u307b\u3068\u3093\u3069\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\uff08WordPress\u3084Zabbix\u306a\u3069\uff09\u304c caching_sha2_password \u306b\u5bfe\u5fdc\u3057\u3066\u3044\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081 AlmaLinux \u306e MySQL 8.0 \u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u306f\u4ee5\u4e0b\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3001\u8a8d\u8a3c\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u300cmysql_native_password\u300d\u306b\u5909\u66f4\u3057\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">cat \/etc\/my.cnf.d\/mysql-default-authentication-plugin.cnf<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\uff08\u7565\uff09\ndefault_authentication_plugin=mysql_native_password<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">MySQL \u306e\u81ea\u52d5\u8d77\u52d5\u3092\u8a2d\u5b9a\u3057\u8d77\u52d5\u3057\u307e\u3059\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl enable --now mysqld<\/mark><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mysql-secure-installation-\u306e\u5b9f\u884c\">mysql_secure_installation \u306e\u5b9f\u884c<\/h3>\n\n\n\n<p>\u521d\u671f\u72b6\u614b\u3067\u306f\u3001root\u30e6\u30fc\u30b6\u30fc\u304c\u30d1\u30b9\u30ef\u30fc\u30c9\u306a\u3057\u3067 MySQL\u306b\u63a5\u7d9a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u8a2d\u5b9a\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">mysql_secure_installation \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001root \u30e6\u30fc\u30b6\u30fc\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u5909\u66f4\u3057\u3001\u4e0d\u8981\u306a\u30e6\u30fc\u30b6\u30fc\u3084DB\u3082\u524a\u9664\u3057\u3066\u304f\u308c\u307e\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u306f\u30018\u6587\u5b57\u4ee5\u4e0a\u3067\u82f1\u6570\u5927\u6587\u5b57\u5c0f\u6587\u5b57\u3068\u8a18\u53f7\u304c\u542b\u307e\u308c\u3066\u3044\u306a\u3044\u3068\u30dd\u30ea\u30b7\u30fc\u9055\u53cd\u3067\u5f3e\u304b\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u306e\u3067\u6ce8\u610f\u3067\u3059\u3002\u30d1\u30b9\u30ef\u30fc\u30c9\u30dd\u30ea\u30b7\u30fc\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306f\u300c--use-default\u300d\u30aa\u30d7\u30b7\u30e7\u30f3\u306a\u3057\u3067\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mysql_secure_installation --use-default<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\uff08\u7565\uff09\nPlease set the password for root here.\n\nNew password: \uff1c\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\uff1e\n\nRe-enter new password: \uff1c\u65b0\u3057\u3044\u30d1\u30b9\u30ef\u30fc\u30c9\uff1e\n\uff08\u7565\uff09\nDo you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y\n\uff08\u4e0d\u8981\u306a\u30e6\u30fc\u30b6\u30fc\u3084DB\u3092\u524a\u9664\uff09\nAll done!<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\">\u30ed\u30b0\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u7528\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3066\u304a\u304d\u307e\u3059\u3002\n#<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\"> mkdir \/etc\/logrotate.off<\/mark><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"apache\u30ed\u30b0\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\">Apache\u30ed\u30b0\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/h3>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059\n#<\/mark> <kbd><mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/logrotate.d\/httpd \/etc\/logrotate.off\/<\/mark><\/kbd><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/logrotate.d\/httpd<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\/var\/log\/httpd\/*log {<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      daily<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      missingok<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      dateext<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      rotate 60<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      create 644 apache apache<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      sharedscripts<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">      postrotate<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">          \/bin\/systemctl reload httpd.service &gt; \/dev\/null 2&gt;\/dev\/null || true<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">     endscript<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">} <\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u78ba\u8a8d\u3057\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">logrotate -v \/etc\/logrotate.d\/httpd<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">-----(\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u3042\u308c\u3070OK\u3067\u3059)----- \uff08\u7565\uff09\nrotating pattern: \/var\/log\/httpd\/*log after 1 days (60 rotations)\nempty log files are rotated, old logs are removed\nconsidering log \/var\/log\/httpd\/access_log\n\uff08\u7565\uff09<\/mark><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"mysql\u30ed\u30b0\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a\">MySQL\u30ed\u30b0\u306e\u30ed\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059 mv -i \/etc\/logrotate.d\/mysqld \/etc\/logrotate.off\/<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">mv -i \/etc\/logrotate.d\/mysqld \/etc\/logrotate.off\/<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/etc\/logrotate.d\/mysqld<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\/var\/log\/mysql\/*log {<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">  daily<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">  missingok<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">  dateext<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">  rotate 60<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">  sharedscripts<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">  postrotate<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">     if test -x \/usr\/bin\/mysqladmin &amp;&amp; \\    \/usr\/bin\/mysqladmin --defaults-extra-file=\/root\/.my.cnf ping &amp;&gt;\/dev\/null<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">     then<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">     \/usr\/bin\/mysqladmin --defaults-extra-file=\/root\/.my.cnf flush-logs<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">   fi<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">   endscript<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">} <\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fbMySQL \u306e root \u30e6\u30fc\u30b6\u306e\u30d1\u30b9\u30ef\u30fc\u30c9\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">vi \/root\/.my.cnf<\/mark>\n\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">&#91;mysqladmin]<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">user=root\npassword=\"\uff1c\u30d1\u30b9\u30ef\u30fc\u30c9\uff1e\"<\/mark><\/code><\/pre>\n\n\n\n<p>\u30d1\u30b9\u30ef\u30fc\u30c9\u3092\u66f8\u3044\u3066\u3044\u308b\u306e\u3067\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u3092\u5909\u66f4<\/p>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">chown root:root \/root\/.my.cnf<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">chmod 600 \/root\/.my.cnf<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u30fb\u78ba\u8a8d\u3057\u307e\u3059\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">logrotate -v \/etc\/logrotate.d\/mysqld<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">-----(\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8868\u793a\u304c\u3042\u308c\u3070OK\u3067\u3059)----- \uff08\u7565\uff09\nrotating pattern: \/var\/log\/mysql\/*log after 1 days (60 rotations)\nempty log files are rotated, old logs are removed\nconsidering log \/var\/log\/mysql\/mysqld.log\n\uff08\u7565\uff09<\/mark><\/code><\/pre>\n\n\n\n<div class=\"yohak\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a\u78ba\u8a8d\">\u81ea\u52d5\u8d77\u52d5\u306e\u8a2d\u5b9a\u78ba\u8a8d<\/h2>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">systemctl list-unit-files | grep -e httpd.service -e php-fpm.service -e mysqld.service -e chronyd.service<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">-----(\u4e0b\u8a18\u306e\u3088\u3046\u306a\u8868\u793a\u3067\u3042\u308c\u3070OK\u3067\u3059)----- \n\n<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f3623f\" class=\"has-inline-color\">chronyd.service<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">                enabled\n<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f3623f\" class=\"has-inline-color\">httpd.service<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">                  enabled\n<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f3623f\" class=\"has-inline-color\">mysqld.service<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">                enabled\n<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0);color:#f3623f\" class=\"has-inline-color\">php-fpm.service<\/mark><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">               enabled<\/mark><\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code has-background\" style=\"background-color:#3f3f3f\"><code><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\u4e00\u5ea6OS\u3092\u518d\u8d77\u52d5\u3057\u3066\u3001\u5404\u7a2e\u30b5\u30fc\u30d3\u30b9\u304c\u8d77\u52d5\u3057\u3066\u3044\u308b\u4e8b\u3092\u78ba\u8a8d\u3057\u307e\u3057\u3087\u3046\u3002\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">shutdown -r now<\/mark>\n<mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-white-color\">\uff08\u518d\u8d77\u52d5\u5f8c\u306b\u4ee5\u4e0b\u3092\u5b9f\u884c\uff09\n#<\/mark> <mark style=\"background-color:rgba(0, 0, 0, 0);color:#ffff00\" class=\"has-inline-color\">ps aux | grep -e httpd -e php-fpm -e mysqld -e chronyd<\/mark><\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>LinuxOS \u306e AlmaLinux\u4e0a\u306bLAMP\u74b0\u5883\u3092\u4f5c\u6210\u3057\u307e\u3059 \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u95a2\u9023\u8a2d\u5b9a NIC\u306e\u8a2d\u5b9a \u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30c7\u30d0\u30a4\u30b9\u306e\u8a2d\u5b9a\u3067\u306f\u3001\u30b3\u30de\u30f3\u30c9\u3067 nmtui \u3092\u6253\u3064\u3068\u4e0b\u56f3\u5de6\u304c\u8868\u793a\u3055\u308c\u308b \u6700\u521d\u306e\u753b\u9762\u3067\u3001\u30b7\u30b9\u30c6\u30e0\u306e\u30db\u30b9\u30c8\u540d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7892,"parent":8244,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"class_list":["post-8250","page","type-page","status-publish","has-post-thumbnail","hentry"],"_links":{"self":[{"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/pages\/8250","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8250"}],"version-history":[{"count":1,"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/pages\/8250\/revisions"}],"predecessor-version":[{"id":8251,"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/pages\/8250\/revisions\/8251"}],"up":[{"embeddable":true,"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/pages\/8244"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=\/wp\/v2\/media\/7892"}],"wp:attachment":[{"href":"https:\/\/east19-mikas.com\/mpat\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8250"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}