{"id":2312,"date":"2013-08-21T16:00:22","date_gmt":"2013-08-21T07:00:22","guid":{"rendered":"http:\/\/uraneko.tcorps.info\/?p=2312"},"modified":"2013-08-21T16:00:22","modified_gmt":"2013-08-21T07:00:22","slug":"vm%e3%81%a8%e3%81%8bcent6%e3%81%a8%e3%81%8b%e3%83%a1%e3%83%a2","status":"publish","type":"post","link":"http:\/\/uraneko.tcorps.info\/?p=2312","title":{"rendered":"VM\u3068\u304bCent6\u3068\u304b\u30e1\u30e2"},"content":{"rendered":"<p>\u691c\u8a3c\u74b0\u5883\u3092\u5feb\u9069\u306b\u4f5c\u308b\u305f\u3081VMware\u3068\u304b\u30b5\u30fc\u30d0\u3068\u304b\u3044\u3058\u3063\u3066\u308b\u306e\u3067\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u30e1\u30e2\u3002\u3042\u304f\u307e\u3067\u30e1\u30e2\u306a\u306e\u3067\u6ce8\u610f\u3002<\/p>\n<p><!--more--><\/p>\n<h1>VMware\u3000vSphere 5<\/h1>\n<p>vSphere client\u3000\u3057\u304b\u4f7f\u3048\u306a\u3044\u6761\u4ef6\u4e0b\u3067\u306e\u6a21\u7d22\u3002<\/p>\n<h2>\u30c6\u30ad\u30b9\u30c8\u3092\u30b3\u30d4\u30da<\/h2>\n<p>\u8a2d\u5b9a\u3067\u7121\u52b9\u5316\u3055\u308c\u3066\u308b\u306e\u3067\u6709\u52b9\u5316\u3059\u308b\u3002<\/p>\n<ol>\n<li><span style=\"line-height: 12px;\">\u4eee\u60f3\u30de\u30b7\u30f3\u843d\u3068\u3059<\/span><\/li>\n<li>\u8a2d\u5b9a\u306e\u7de8\u96c6 &gt; \u30aa\u30d7\u30b7\u30e7\u30f3\u30bf\u30d6 &gt; \u8a73\u7d30\u5168\u822c\u3000&gt;\u3000\u69cb\u6210\u30d1\u30e9\u30e1\u30fc\u30bf<\/li>\n<li>\u884c\u306e\u8ffd\u52a0\u3067\u30d1\u30e9\u30e1\u30fc\u30bf\u8ffd\u52a0\n<ol>\n<li>isolation.tools.copy.disable : false<\/li>\n<li>isolation.tools.paste.disable : false<\/li>\n<\/ol>\n<\/li>\n<li>\u4eee\u60f3\u30de\u30b7\u30f3\u8d77\u52d5\u3067\u30b3\u30d4\u30da\u3067\u304d\u308b<\/li>\n<\/ol>\n<h2>\u30d5\u30a1\u30a4\u30eb\u3092\u30b3\u30d4\u30da<\/h2>\n<p>\u306a\u304b\u306a\u304b\u3084\u3063\u304b\u3044\u3002<\/p>\n<ul>\n<li><span style=\"line-height: 1.6;\">\u00a0vSphere \u7528\u306eRDP plugin\u3092\u4f7f\u3046 -&gt; \u5165\u308c\u3066\u307f\u305f\u304c\u8a2d\u5b9a\u3059\u3089\u3067\u304d\u305a\u3002\u6a29\u9650\u306e\u554f\u984c\u304b\u3002<\/span><\/li>\n<li>CIFS\u3067\u5171\u6709\u3000\u76ee\u7684\u306f\u3042\u304f\u307e\u3067\u30d5\u30a1\u30a4\u30eb\u306e\u3084\u308a\u3068\u308a\u306a\u306e\u3067\u3001\u304b\u3063\u3053\u3044\u304f\u306f\u306a\u3044\u304c\u73fe\u5b9f\u306f\u3053\u308c\u304b\u3002\u30b2\u30b9\u30c8\u306e\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u304c\u72ec\u7acb\u3057\u3066\u308b\u5834\u5408\uff2e\uff29\uff23\u5897\u3084\u3057\u3066\u3054\u305d\u3054\u305d\u3084\u308b\u5fc5\u8981\u304c\u3042\u308b\u306e\u3067\u3081\u3093\u3069\u3044\u3002<\/li>\n<\/ul>\n<h2>\u4eee\u60f3\u30de\u30b7\u30f3\u3092\u8907\u88fd\u3059\u308b<\/h2>\n<p>\u3044\u308d\u3044\u308d\u5236\u9650\u3042\u308b\u72b6\u614b\u306a\u306e\u3067\u3001\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u5185\u3067\u76f4\u30b3\u30d4\u30fc\u3002<\/p>\n<ol>\n<li>\u30b3\u30d4\u30fc\u5143\u306e\u4eee\u60f3\u30de\u30b7\u30f3\u843d\u3068\u3057\u3001\u69cb\u6210\u30d5\u30a1\u30a4\u30eb\u306e\u5834\u6240\u3092\u30e1\u30e2<\/li>\n<li>\u30c7\u30fc\u30bf\u30b9\u30c8\u30a2\u30d6\u30e9\u30a6\u30b6\u3067\u30e1\u30e2\u3057\u305f\u30d5\u30a9\u30eb\u30c0\u306e\u4e2d\u8eab\u3092\u30b3\u30d4\u30fc<\/li>\n<li>\u65b0\u3057\u3044\u30d5\u30a9\u30eb\u30c0\u4f5c\u3063\u3066\u8cbc\u308a\u4ed8\u3051\n<ol>\n<li>\u3053\u306e\u3068\u304d\u30ed\u30b0\u30d5\u30a1\u30a4\u30eb .log \u306f\u6d88\u3059<\/li>\n<\/ol>\n<\/li>\n<li>vmf\u30d5\u30a1\u30a4\u30eb\u53f3\u30af\u30ea\u304b\u3089\u30a4\u30d9\u30f3\u30c8\u30ea\u3078\u8ffd\u52a0<\/li>\n<li>\u8a2d\u5b9a\u3057\u3066\u8d77\u52d5\n<ol>\n<li>\u30c0\u30a4\u30a2\u30ed\u30b0\u3067\u308b\u306e\u3067 I_copied it<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<h1>CentOS6<\/h1>\n<h2>ntpd<\/h2>\n<p>-&gt;\u30a4\u30f3\u30bf\u30fc\u30cd\u30c3\u30c8\u304b\u3089\u5207\u308a\u96e2\u3055\u308c\u305f\u30b9\u30bf\u30f3\u30c9\u30a2\u30ed\u30f3\u3092\u60f3\u5b9a\u3002<\/p>\n<p>\/etc\/ntpd.conf<\/p>\n<blockquote><p>restrict 10.0.0.0 mask 255.0.0.0 nomodify notrap<\/p>\n<p>#server 0.centos.pool.ntp.org<br \/>\n#server 1.centos.pool.ntp.org<br \/>\n#server 2.centos.pool.ntp.org<\/p>\n<p>server 127.127.1.0 # local clock<br \/>\nfudge 127.127.1.0 stratum 6<\/p><\/blockquote>\n<h2><\/h2>\n<h2>vsftpd<\/h2>\n<h3>\u30ed\u30b0\u30a4\u30f3\u3067\u304d\u306a\u3044\u3000<span style=\"line-height: 1.6;\">\u00a0<\/span><\/h3>\n<p><span style=\"line-height: 1.6;\">OOPS: cannot change directory:\/home\/****<\/span><\/p>\n<p>-&gt;\u3000user_list\u3000\u3084\u3000ftpusers\u3000\u306a\u3069\u3001\u8a2d\u5b9a\u65b9\u6cd5\u304c\u307e\u3042\u307e\u3042\u3084\u3084\u3053\u3057\u3044\u3000<a href=\"http:\/\/www.nina.jp\/server\/redhat\/vsftpd\/vsftpd.conf.html#local-user\">http:\/\/www.nina.jp\/server\/redhat\/vsftpd\/vsftpd.conf.html#local-user<\/a><\/p>\n<p>-&gt;\u3000SELinux\u3000\u6709\u52b9\u304b\u3082<\/p>\n<blockquote><p>getenforce \u00a0 \u00a0#\u78ba\u8a8d<br \/>\nsetenforce 0 #\u7121\u52b9<\/p><\/blockquote>\n<h3>\u30ed\u30b0\u304c\u3067\u306a\u3044<\/h3>\n<p>-&gt;\u3000\u30ed\u30b0\u8a2d\u5b9a\u306e\u7d44\u5408\u305b\u304c\u8907\u96d1\u306a\u306e\u3067\u3000<a href=\"http:\/\/www.nina.jp\/server\/redhat\/vsftpd\/vsftpd.conf.html#log\">http:\/\/www.nina.jp\/server\/redhat\/vsftpd\/vsftpd.conf.html#log<\/a><\/p>\n<p>\/etc\/vsftpd.conf<\/p>\n<blockquote><p>xferlog_enable=YES<br \/>\nvsftpd_log_file=\/var\/log\/vsftpd.log<br \/>\nsyslog_enable=NO<br \/>\nlog_ftp_protocol=YES<br \/>\nxferlog_file=\/var\/log\/xferlog<br \/>\nxferlog_std_format=NO<\/p><\/blockquote>\n<h2><\/h2>\n<h2>rsyslog<\/h2>\n<p>\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u6a5f\u5668\u304b\u3089log\u53d7\u3051\u53d6\u308b\u3088\u3046\u306b\u3059\u308b\u3002debug\u3068\u304b\u306e\u7cbe\u67fb\u304c\u5e7e\u5206\u304b\u697d\u3002\u305f\u3076\u3093\u3002<\/p>\n<p><a href=\"http:\/\/www.programming-knowledge.com\/wiki\/rsyslog%E3%81%AE%E5%B0%8E%E5%85%A5\">http:\/\/www.programming-knowledge.com\/wiki\/rsyslog%E3%81%AE%E5%B0%8E%E5%85%A5<\/a><\/p>\n<p>-&gt;\u3000rsyslog.conf<\/p>\n<blockquote><p>#### MODULES ####<\/p>\n<p>$ModLoad imuxsock # provides support for local system logging (e.g. via logger command)<br \/>\n$ModLoad imklog # provides kernel logging support (previously done by rklogd)<br \/>\n#$ModLoad immark # provides &#8211;MARK&#8211; message capability<\/p>\n<p># Provides UDP syslog reception<br \/>\n$ModLoad imudp<br \/>\n$UDPServerRun 514<\/p>\n<p># Provides TCP syslog reception<br \/>\n$ModLoad imtcp<br \/>\n$InputTCPServerRun 514<\/p>\n<p>&#8212; \u7701\u7565 &#8212;<\/p>\n<p>## Template for separete each device<br \/>\n$template MessageLog4NetDev,&#8221;\/var\/log\/%hostname%\/%$year%-%$month%-%$day%.log&#8221;<\/p>\n<p>&#8212; \u7701\u7565 &#8212;<br \/>\n# Log anything (except mail) of level info or higher.<br \/>\n# Don&#8217;t log private authentication messages!<br \/>\n*.info;mail.none;authpriv.none;cron.none;local4.none \/var\/log\/messages<\/p>\n<p>&#8212; \u7701\u7565 &#8212;<br \/>\n## Make log file for network device(cisco default facility 20=local4)<br \/>\nlocal4.* ?MessageLog4NetDev<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u691c\u8a3c\u74b0\u5883\u3092\u5feb\u9069\u306b\u4f5c\u308b\u305f\u3081VMware\u3068\u304b\u30b5\u30fc\u30d0\u3068\u304b\u3044\u3058\u3063\u3066\u308b\u306e\u3067\u5fd8\u308c\u306a\u3044\u3046\u3061\u306b\u30e1\u30e2\u3002\u3042\u304f\u307e\u3067\u30e1\u30e2\u306a\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[10,14,6,5],"tags":[],"class_list":["post-2312","post","type-post","status-publish","format-standard","hentry","category-pc","category-14","category-6","category-5"],"_links":{"self":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts\/2312","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2312"}],"version-history":[{"count":7,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts\/2312\/revisions"}],"predecessor-version":[{"id":2319,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=\/wp\/v2\/posts\/2312\/revisions\/2319"}],"wp:attachment":[{"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2312"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2312"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/uraneko.tcorps.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2312"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}