{"id":417,"date":"2014-03-02T17:08:58","date_gmt":"2014-03-02T08:08:58","guid":{"rendered":"http:\/\/darkgray.homelinux.com\/modules\/xpress\/?p=417"},"modified":"2014-03-02T17:08:58","modified_gmt":"2014-03-02T08:08:58","slug":"xupdate%e3%81%ae%e8%a8%ad%e5%ae%9a%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"https:\/\/darkgray.homelinux.com\/blog\/?p=417","title":{"rendered":"Xupdate\u306e\u8a2d\u5b9a\u30e1\u30e2"},"content":{"rendered":"<p>SELinux\u3092\u6709\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3000xoops\u7b49\u3005\u306e\u8272\u3005\u306a\u30a2\u30d7\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u306f\u554f\u984c\u304c\u591a\u3044\u3002<br \/>\n\u4eca\u56de\u306f\u3000Xupdate\u3092\u6b63\u5e38\u306b\u7a3c\u52d5\u3055\u305b\u308b\u70ba\u306e\u30e1\u30e2\u3002<br \/>\n<!--more--><br \/>\n\u57fa\u672c\u7684\u306a\u74b0\u5883\u306f\u3000Centos6.5\u3001<a href=\"http:\/\/darkgray.homelinux.com\/modules\/xpress\/?p=201\" title=\"sftp\u3092chroot\u74b0\u5883\u3067\u8a2d\u5b9a\u3059\u308b\u3002\" target=\"_blank\" rel=\"noopener noreferrer\">chroot\u74b0\u5883\u306aSCP<\/a>\u3092\u5c0e\u5165\u6e08\u307f\u3001xoops\u3082\u4e00\u5fdc\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u3002<\/p>\n<p><strong>SFTP\u306e\u8a2d\u5b9a<\/strong><br \/>\nxoops\u306b\u30ed\u30b0\u30a4\u30f3\u3057\u3066\u3000\u5c0e\u5165\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u7ba1\u7406\/\u4e00\u822c\u8a2d\u5b9a\u3092\u958b\u3044\u3066SFTP\u306b\u5fc5\u8981\u306a\u60c5\u5831\u3092\u5165\u529b\u3059\u308b\u3002<br \/>\n\u4e0b\u306e\u30a4\u30e1\u30fc\u30b8\u306f\u3000\u5f53\u30b5\u30a4\u30c8\u306eSFTP\u306a\u74b0\u5883\u3067\u306e\u8a2d\u5b9a\u4f8b\u3002FTP\u306a\u74b0\u5883\u3067\u306e\u8a2d\u5b9a\u3068\u306f\u307e\u3063\u305f\u304f\u9055\u3046\u3002<br \/>\n<figure id=\"attachment_418\" aria-describedby=\"caption-attachment-418\" style=\"width: 300px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/darkgray.homelinux.com\/modules\/wpress\/wp-content\/uploads\/2014\/03\/XP1.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/darkgray.homelinux.com\/modules\/wpress\/wp-content\/uploads\/2014\/03\/XP1-300x205.jpg\" alt=\"SFTP\u8a2d\u5b9a\u753b\u9762\" width=\"300\" height=\"205\" class=\"size-medium wp-image-418\" \/><\/a><figcaption id=\"caption-attachment-418\" class=\"wp-caption-text\">SFTP\u8a2d\u5b9a\u753b\u9762<\/figcaption><\/figure><\/p>\n<p>FTP\u8a2d\u5b9a\u7d50\u679c\u30c1\u30a7\u30c3\u30af\u306fOK\u306b\u306a\u3063\u3063\u305f\u306e\u306b\u3000\u30c7\u30fc\u30bf\u306e\u66f4\u65b0\u306b\u5931\u6557\u3057\u3066\u3000\u201d\u4ed6\u306e\u30d7\u30ed\u30bb\u30b9\u304c\u5b9f\u884c\u4e2d\u4e91\u3005\u201d\u306e\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u3066\u3000\u306b\u3063\u3061\u3082\u3055\u3063\u3061\u3082\u884c\u304b\u306a\u304f\u306a\u3063\u305f\u5834\u5408\u306f\u3000xoops_trust_path\/uploads\/xupdate\/xupdate.lock\u3092\u524a\u9664\u3057\u3066\u307f\u308b\u3002\u3000FTP\u8a2d\u5b9a\u7d50\u679c\u30c1\u30a7\u30c3\u30af\u306fNG\u306e\u307e\u307e\u3067\u3082\u3000\u518d\u30c6\u30b9\u30c8\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308b\u3002<\/p>\n<p><strong>SELinux\u306e\u8a2d\u5b9a<\/strong><br \/>\n\u30d5\u30a1\u30a4\u30eb\u30a2\u30af\u30bb\u30b9\u6a29\u306e\u8a2d\u5b9a\u3061\u3083\u3093\u3068\u51fa\u6765\u3066\u308b\u306e\u306b\u3000\u30c7\u30fc\u30bf\u306e\u66f8\u304d\u8fbc\u307f\u30a8\u30e9\u30fc\u306b\u306a\u308b\u3002\u3000SELinux\u3092\u4e00\u6642\u7684\u306b\u7121\u52b9\u306b\u3057\u3066\u30c6\u30b9\u30c8\u3059\u308b\u3068\u66f4\u65b0\u306b\u6210\u529f\u3059\u308b\u3068\u3044\u3046\u5834\u5408\u306f\u3000SELinux\u3092\u6709\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3000\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u30c6\u30b9\u30c8\u3057\u3066\u307f\u3066\u6b32\u3057\u3044\u3002\u3000\u79c1\u306f\u3053\u306e\u8a2d\u5b9a\u3067\u4e0a\u624b\u304f\u884c\u3063\u305f\u3002<\/p>\n<p>[code]<br \/>\n[root@xxxxx ] setsebool -P httpd_can_network_connect on<br \/>\n[\/code]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SELinux\u3092\u6709\u52b9\u306b\u3057\u305f\u72b6\u614b\u3067\u3000xoops\u7b49\u3005\u306e\u8272\u3005\u306a\u30a2\u30d7\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u306e\u306f\u554f\u984c\u304c\u591a\u3044\u3002 \u4eca\u56de\u306f\u3000Xupdate\u3092\u6b63\u5e38\u306b\u7a3c\u52d5\u3055\u305b\u308b\u70ba\u306e\u30e1\u30e2\u3002<\/p>\n","protected":false},"author":2,"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,"footnotes":""},"categories":[3,5,21,27],"tags":[],"class_list":["post-417","post","type-post","status-publish","format-standard","hentry","category-centos-setup","category-darkgray-server","category-selinux","category-xoops"],"_links":{"self":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/417","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=417"}],"version-history":[{"count":0,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/417\/revisions"}],"wp:attachment":[{"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=417"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=417"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/darkgray.homelinux.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=417"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}