{"id":1386,"date":"2022-05-15T10:37:41","date_gmt":"2022-05-15T01:37:41","guid":{"rendered":"https:\/\/k-i.page\/wordpress\/?p=1386"},"modified":"2025-01-03T13:54:19","modified_gmt":"2025-01-03T04:54:19","slug":"wordpress%e3%81%ae%e6%9b%b4%e6%96%b0%e5%a4%b1%e6%95%97%e3%81%a8selinux%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/k-i.page\/wordpress\/2022\/05\/15\/wordpress%e3%81%ae%e6%9b%b4%e6%96%b0%e5%a4%b1%e6%95%97%e3%81%a8selinux%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/","title":{"rendered":"WordPress\u306e\u66f4\u65b0\u5931\u6557\u3068SELinux\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066"},"content":{"rendered":"<p>RHEL8\u306b\u5165\u308c\u66ff\u3048\u3066\u304b\u3089\u3001CGI\u306e\u8868\u793a\u3084WordPress\u306e\u81ea\u52d5\u66f4\u65b0\u3001Akismet\u306e\u63a5\u7d9a\u304c\u4e0a\u624b\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u3069\u3046\u3084\u3089\u539f\u56e0\u306f SELinux\u306e\u3088\u3046\u3067\u3057\u305f\u3002<\/p>\n<p>SELinux\u7121\u52b9\u5316<\/p>\n<p>#vi \/etc\/selinux\/config<br \/>\nSELINUX=<span style=\"color: #000000;\"><mark>enforcing<\/mark>\u00a0 \u21d2 <mark>disabled<\/mark><\/span><\/p>\n<p>\u3053\u3053\u3067\u8aa4\u3063\u3066<br \/>\n<span style=\"color: #ff0000;\">SELINUXTYPE<\/span>=<mark>targeted<\/mark><span style=\"color: #000000;\"> \u21d2 <mark>disabled<\/mark><\/span><br \/>\n\u306b\u3059\u308b\u3068OS\u304c\u8d77\u52d5\u3057\u306a\u304f\u306a\u308b\u306e\u3067\u6ce8\u610f\u304c\u5fc5\u8981\u3067\u3059\u3002\u8d77\u52d5\u3057\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306f\u3001GRUB\u30e1\u30cb\u30e5\u30fc\u306e\u7de8\u96c6\uff08\u30ab\u30fc\u30cd\u30eb\u9078\u629e\u306e\u753b\u9762\u3067e\u3092\u5165\u529b\uff09\u3067linux16 \/vmlinuz-\u25cb.\u25cb\u25cb\u306e\u884c\u306e\u6700\u5f8c\u306bselinux=0\u3092\u8ffd\u8a18\u3057\u3001Ctrl+X\u3092\u62bc\u3057\u3066\u8d77\u52d5\u3057\u3001\u300c\/etc\/selinux\/config\u300d\u3092\u4fee\u6b63\u3057\u307e\u3059\u3002\u306a\u304a\u4e00\u6642\u7684\u306bUS\u30ad\u30fc\u30dc\u30fc\u30c9\u3068\u3057\u3066\u8a8d\u8b58\u3055\u308c\u308b\u306e\u3067\u3001\u3053\u306e\u6642\u300c\uff1d\u300d\u306f\u300c\u301c\u300d\u306e\u30ad\u30fc\u3067\u5165\u529b\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3053\u3061\u3089\u306e\u65b9\u306e\u8a18\u4e8b\u304c\u53c2\u8003\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"q3RDJEf64y\"><p><a href=\"https:\/\/sys-guard.com\/post-16764\/\">CentOS\u8d77\u52d5\u3067\u30d0\u30fc\u304c100\uff05\u304b\u3089\u8d77\u52d5\u3057\u306a\u3044\u5834\u5408\uff1aSELinux\u5931\u6557\u3057\u305f\u6642<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;CentOS\u8d77\u52d5\u3067\u30d0\u30fc\u304c100\uff05\u304b\u3089\u8d77\u52d5\u3057\u306a\u3044\u5834\u5408\uff1aSELinux\u5931\u6557\u3057\u305f\u6642&#8221; &#8212; \u30b7\u30b9\u30c6\u30e0\u30ac\u30fc\u30c7\u30a3\u30a2\u30f3\u682a\u5f0f\u4f1a\u793e\" src=\"https:\/\/sys-guard.com\/post-16764\/embed\/#?secret=1U1N6eTP8e#?secret=q3RDJEf64y\" data-secret=\"q3RDJEf64y\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>SELinux\u3092\u7121\u52b9\u5316\u3057\u305f\u3068\u3053\u308d\u5404\u7a2e\u30a8\u30e9\u30fc\u304c\u306a\u304f\u306a\u308a\u307e\u3057\u305f\u3002\u307e\u305fAWStats\u306e\u30a2\u30af\u30bb\u30b9\u7d71\u8a08\u30da\u30fc\u30b8\u306eHTML\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u81ea\u52d5\u8d77\u52d5\u304c\u4e0a\u624b\u304f\u3044\u304b\u306a\u304b\u3063\u305f\u70b9\u306b\u3064\u3044\u3066\u3082\u4fee\u6b63\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u30e1\u30fc\u30eb\u30d5\u30a9\u30fc\u30e0\u3001\u63b2\u793a\u677f\u304cWordPress\u306b\u79fb\u884c\u3057\u305f\u4eca\u3068\u306a\u3063\u3066\u306f\u6b8b\u308bCGI\u306f\u30a2\u30af\u30bb\u30b9\u30ab\u30a6\u30f3\u30bf\u30fc\u306e\u307f\u3068\u306a\u308a\u307e\u3057\u305f\u304c\u3001\u3084\u306f\u308a\u52d5\u304f\u306e\u306f\u3044\u3044\u3067\u3059\u306d\u3002Adobe Flash Player\u304c\u30b5\u30dd\u30fc\u30c8\u7d42\u4e86\u3057\u3001\u898b\u6804\u3048\u304c\u5bc2\u3057\u3044\u30da\u30fc\u30b8\u306b\u306a\u3063\u3066\u3044\u308b\u306e\u3067\u8cd1\u3084\u304b\u3057\u306f\u8cb4\u91cd\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>RHEL8\u306b\u5165\u308c\u66ff\u3048\u3066\u304b\u3089\u3001CGI\u306e\u8868\u793a\u3084WordPress\u306e\u81ea\u52d5\u66f4\u65b0\u3001Akismet\u306e\u63a5\u7d9a\u304c\u4e0a\u624b\u304f\u3044\u304d\u307e\u305b\u3093\u3067\u3057\u305f\u304c\u3001\u3069\u3046\u3084\u3089\u539f\u56e0\u306f SELinux\u306e\u3088\u3046\u3067\u3057\u305f\u3002 SELinux\u7121\u52b9\u5316 #vi \/etc\/selinux &hellip; <a href=\"https:\/\/k-i.page\/wordpress\/2022\/05\/15\/wordpress%e3%81%ae%e6%9b%b4%e6%96%b0%e5%a4%b1%e6%95%97%e3%81%a8selinux%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">WordPress\u306e\u66f4\u65b0\u5931\u6557\u3068SELinux\u306e\u8a2d\u5b9a\u306b\u3064\u3044\u3066<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7],"tags":[],"class_list":["post-1386","post","type-post","status-publish","format-standard","hentry","category-pc"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/posts\/1386","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/comments?post=1386"}],"version-history":[{"count":5,"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/posts\/1386\/revisions"}],"predecessor-version":[{"id":1393,"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/posts\/1386\/revisions\/1393"}],"wp:attachment":[{"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/media?parent=1386"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/categories?post=1386"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/k-i.page\/wordpress\/wp-json\/wp\/v2\/tags?post=1386"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}