{"id":3783,"date":"2013-11-29T00:46:21","date_gmt":"2013-11-28T15:46:21","guid":{"rendered":"http:\/\/yonezo.biz\/?p=3783"},"modified":"2014-01-24T10:30:31","modified_gmt":"2014-01-24T01:30:31","slug":"%e3%80%90%e4%bb%8a%e6%9b%b4%e3%80%91vmware%ef%bc%8bcentos6%e3%80%90%e5%ae%9a%e7%95%aa%e3%80%91","status":"publish","type":"post","link":"https:\/\/yonezo.biz\/?p=3783","title":{"rendered":"\u3010\u4eca\u66f4\u3011VMWare\uff0bCentOS6\u3010\u5b9a\u756a\u3011"},"content":{"rendered":"<p>\u5148\u65e5\u3001\u8a33\u3042\u3063\u3066\u4f5c\u696d\u30ce\u30fc\u30c8PC\u306bVMWare\uff0bCentOS\uff16\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002<br \/>\nLAMP\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u6bce\u56de\u300c\u4e45\u3057\u3076\u308a\u300d\u306e\u4f5c\u696d\u3068\u306a\u308b\u306e\u3067\u3001\u6bce\u56de\u540c\u3058\u3088\u3046\u306a\u6240\u3067\u7acb\u3061\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u3002<br \/>\n\u5f53\u7136\u3060\u304c\u3001\u3044\u308d\u3044\u308d\u306a\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802\u304d\u306a\u304c\u3089\u5c0e\u5165\u3057\u305f\u3093\u3060\u3051\u3069\u3001 \u5f53\u305f\u308a\u524d\u306e\u3088\u3046\u306b\u7d20\u76f4\u306b\u306f\u884c\u304b\u305a\u3001\u4eca\u56de\u3082\u307e\u305f\u5099\u5fd8\u9332\u3092\u6b8b\u3057\u3066\u304a\u304f\u3002<\/p>\n<p>\u3010\u4e3b\u306a\u8e93\u304dpoint\u3011<\/p>\n<ol>\n<li><strong>CentOS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3088\u3046\u3068\u3057\u305f\u3089\u30a8\u30e9\u30fc\u3002<br \/>\n<\/strong> Intel VT-x \u62e1\u5f35\u3063\u3066\u3084\u3064\u306e\u305b\u3044\u3060\u3063\u305f\u3002<br \/>\n\u53c2\u8003\uff1a<a href=\"https:\/\/access.redhat.com\/site\/documentation\/ja-JP\/Red_Hat_Enterprise_Linux\/6\/html\/Virtualization_Administration_Guide\/sect-Virtualization-Troubleshooting-Enabling_Intel_VT_and_AMD_V_virtualization_hardware_extensions_in_BIOS.html\">19.7. BIOS \u3067 Intel VT-x \u3068 AMD-V \u306e\u4eee\u60f3\u5316\u30cf\u30fc\u30c9\u30a6\u30a7\u30a2\u62e1\u5f35\u3092\u6709\u52b9\u306b\u3059\u308b<br \/>\n<\/a>BIOS\u3067\u6709\u52b9\u306b\u3057\u3066\u3042\u3052\u3066\u3001\u518d\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3089\u6210\u529f\u3002<br \/>\n\u3064\u304b\u3001\u4eca\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3063\u3066\u5b8c\u5168\u81ea\u52d5\u5316\u3067\u3001\u307b\u307c\u4f55\u3082\u305b\u305a\u306b\u5b8c\u4e86\u3059\u308b\u3002\uff08\u30d1\u30b9\u30ef\u30fc\u30c9\u306e\u30bb\u30c3\u30c8\u304f\u3089\u3044\uff09<br \/>\nVMWare\u4e0a\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u308b\u304b\u3089\u306a\u306e\u304b\u306a\uff1f<\/li>\n<li><strong>CentOS\u65e5\u672c\u8a9e\u5316<\/strong><br \/>\n\u30d8\u30bf\u30ec\u306a\u306e\u3067GUI\u3082\u4f7f\u3044\u307e\u3059\u3002 \u304a\u307e\u3051\u306b\u65e5\u672c\u8a9e\u3067\u4f7f\u3044\u305f\u3044\u306e\u3067\u3059\u3002<br \/>\n\u53c2\u8003\uff1a<a href=\"http:\/\/www.linux-world.info\/query?os=CentOS_6&amp;p=advanced_settings&amp;f=2\">Linux PC World \u65e5\u672c\u8a9e\u74b0\u5883\u306b\u3059\u308b<\/a><\/li>\n<li><strong>Windo\uff57\uff53\u5074\uff08\u30db\u30b9\u30c8OS\uff09\u304b\u3089VMWare\u4e0a\u306eCentOS\u3078\u30d6\u30e9\u30a6\u30b6\u304b\u3089\u30a2\u30af\u30bb\u30b9\u3057\u3088\u3046\u3068\u3057\u3066\u3082\u3001\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u3044\u3002<\/strong><br \/>\nSSH\u306f\u7e4b\u304c\u308b\u3093\u3067\u3059\u3088\u3002\u30b2\u30b9\u30c8\u5074\u304b\u3089\u306eping\u3082\u901a\u308b\u3002 \u539f\u56e0\u306fiptables\u3067\u3057\u305f\u3002<br \/>\n<span style=\"color: #ff0000;\"><strong>\u30dd\u30fc\u30c8\uff18\uff10\u756a\u306f\u521d\u671f\u8a2d\u5b9a\u3067\u306f\u9589\u3058\u3066\u3044\u308b\u3089\u3057\u3044\u3002<\/strong><\/span><br \/>\n\u306a\u306e\u3067\u3001<br \/>\nvi \/etc\/sysconfig\/iptables<br \/>\n\u3067<br \/>\n-A INPUT -m state &#8211;state NEW -m tcp -p tcp &#8211;dport 80 -j ACCEPT<br \/>\n\u3092\u8ffd\u52a0\u3057\u3066<br \/>\n\/etc\/rc.d\/init.d\/iptables restart<br \/>\n\u3067<br \/>\n\/var\/www\/html\/index.html<br \/>\n\u304c\u898b\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br \/>\n\u53c2\u8003\uff1a<a href=\"http:\/\/freesoft.tvbok.com\/freesoft\/virtual\/vmware_centos4.html\">VMware Player\u306bCentOS\u5c0e\u5165\u3002\u7df4\u7fd2\u7528Web\u30b5\u30fc\u30d0\u30fc\u3092\u69cb\u7bc94<\/a><\/li>\n<li><strong>yum\u306e\u30ea\u30dd\u30b8\u30c8\u30ea\u8ffd\u52a0<\/strong><br \/>\n<a href=\"http:\/\/w.builwing.info\/2013\/08\/16\/centos6-4%E3%81%ABepelrepoforgeremi%E3%83%AA%E3%83%9D%E3%82%B8%E3%83%88%E3%83%AA%E3%81%AE%E8%BF%BD%E5%8A%A0\/\">CentOS6.4\u306bEPEL,RepoForge,Remi\u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8ffd\u52a0<\/a> \u304b\u3089\u306e\uff5ephpmyadmin\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002<br \/>\nyum &#8211;enablerepo=epel install -y phpMyAdmin php-mysql php-mcrypt<br \/>\n\u3067\u3082\u3063\u3066\u3001<br \/>\n\/etc\/httpd\/conf.d\/phpMyAdmin.conf<br \/>\n\u304c\u81ea\u52d5\u3067\u51fa\u6765\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3053\u306b<br \/>\nAllow from <span style=\"color: #3366ff;\"><strong>192.168.11.<\/strong><\/span><br \/>\n\u3068\u304b\u3092\u8ffd\u52a0\u3060\u3002<br \/>\n<span style=\"color: #ff0000;\"><strong>mysql\u5074\u306e\u8a2d\u5b9a\u3092\u5b8c\u4e86\u3059\u308c\u3070\u300chttp:\/\/hoge.com\/phpmyadmin\/\u300d\u3068\u304b\u3067\u898b\u308c\u308b\u3088\u3046\u306b\u306a\u308b\u3068\u601d\u3044\u304c\u3061\u306a\u306e\u3067\u6ce8\u610f\u3057\u306a\u304f\u3066\u306f<\/strong><\/span>\u3001\u3067\u3042\u308b\u3002<\/li>\n<li><strong>\u8af8\u3005yum\u3059\u308b<\/strong><br \/>\nyum -y install expect<br \/>\nmkpasswd -l 46\u304c\u3057\u305f\u3044\u306e\u3067\u3001\u7406\u7531\u306f\u8a00\u308f\u305a\u3082\u304c\u306a\u3002<\/li>\n<li>phpmyadmin\u3092\u958b\u304f\u3068<strong>4.0.9\u3078\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u65b9\u304c\u3044\u3044\u305c<\/strong>\u3068\u306e\u4e8b\u306a\u306e\u3067\u3001<br \/>\nyum &#8211;enablerepo=remi update phpmyadmin<br \/>\n\u3067\u76ee\u51fa\u5ea6\u304f\u6700\u65b0\u3078\u3002<\/li>\n<\/ol>\n<p>\u306a\u3093\u304b\u3001\u5f90\u3005\u306b\u5099\u5fd8\u9332\u3068\u3044\u3046\u304b\u624b\u9806\u66f8\u306b\u306a\u3063\u3066\u304d\u3066\u3057\u307e\u3063\u305f\u304c\u2026\u3002<\/p>\n<p>\u305d\u3057\u3066\u3053\u3046\u3044\u3046\u6280\u8853\u30cd\u30bf\u3092\u66f8\u3044\u3066\u6bce\u56de\u601d\u3046\u306e\u306f\u3001<\/p>\n<h2><span style=\"color: #ff0000;\"><strong>\u3053\u308c\u3067\u4ffa\u306e\u6280\u8853\u30ec\u30d9\u30eb\u304c\u4e38\u88f8\uff08\u75db<\/strong><\/span><\/h2>\n<p>\u3060\u304b\u3089\u3042\u3093\u307e\u308a\u3053\u3046\u3044\u3046\u30cd\u30bf\u306f\u66f8\u304d\u305f\u304f\u306a\u3044\u2192\u3044\u3064\u307e\u3067\u3082\u5411\u4e0a\u3057\u306a\u3044\u3002\u306e\u30eb\u30fc\u30d7\u306a\u3093\u3060\u3088\u306a\u3041\u2026\u3002<br \/>\n\u3055\u3066\u3001\u554f\u984c\u306f\u3053\u308c\u304b\u3089\u306a\u3093\u3060\u3002<\/p>\n<p>\u8ffd\u8a18\uff1a<\/p>\n<p>VMWare\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066CentOS\u5165\u308c\u3066\u3001Symfony\u3092\u5165\u308c\u305f\u6240\u307e\u3067\u306fOK\u3002<\/p>\n<p>\u305f\u3060\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u901a\u308a\u306bhttp:\/\/localhost\/Symfony\/web\/config.php\u3078\u30a2\u30af\u30bb\u30b9\u3057\u3066\u3082\u3001403\u306b\u306a\u3063\u3066\u3057\u307e\u3046\u3002<br \/>\n\u5f53\u7136\u3001\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u306b\u306f\u554f\u984c\u7121\u3044\u4e8b\u3092\u78ba\u8a8d\u6e08\u307f\u3002<br \/>\napache\u306e\u30ed\u30b0\u306b\u3082\u6b8b\u3063\u3066\u3044\u308b\u306e\u3067\u3001\u30a2\u30af\u30bb\u30b9\u306f\u51fa\u6765\u3066\u3044\u308b\u3002<br \/>\n\u306a\u3093\u3060\u308d\u3046\u306a\u3041\u3068\u601d\u3063\u305f\u3089SE-Linux\u3067\u3057\u305f\u3002<\/p>\n<p>vi \/etc\/selinux\/config<br \/>\n\u3067<\/p>\n<p>SELINUX=disabled<br \/>\n\u306b\u3057\u3066\u3001\u518d\u8d77\u52d5\u3002<br \/>\n\u76ee\u51fa\u5ea6\u304f\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u30fc\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u5148\u65e5\u3001\u8a33\u3042\u3063\u3066\u4f5c\u696d\u30ce\u30fc\u30c8PC\u306bVMWare\uff0bCentOS\uff16\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u3002 LAMP\u306e\u30bb\u30c3\u30c8\u30a2\u30c3\u30d7\u306f\u6bce\u56de\u300c\u4e45\u3057\u3076\u308a\u300d\u306e\u4f5c\u696d\u3068\u306a\u308b\u306e\u3067\u3001\u6bce\u56de\u540c\u3058\u3088\u3046\u306a\u6240\u3067\u7acb\u3061\u6b62\u307e\u3063\u3066\u3057\u307e\u3046\u3002 \u5f53\u7136\u3060\u304c\u3001\u3044\u308d\u3044\u308d\u306a\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u9802 &hellip; <a href=\"https:\/\/yonezo.biz\/?p=3783\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6,3],"tags":[],"class_list":["post-3783","post","type-post","status-publish","format-standard","hentry","category-6","category-3"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yonezo.biz\/index.php?rest_route=\/wp\/v2\/posts\/3783","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yonezo.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yonezo.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yonezo.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yonezo.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3783"}],"version-history":[{"count":9,"href":"https:\/\/yonezo.biz\/index.php?rest_route=\/wp\/v2\/posts\/3783\/revisions"}],"predecessor-version":[{"id":4026,"href":"https:\/\/yonezo.biz\/index.php?rest_route=\/wp\/v2\/posts\/3783\/revisions\/4026"}],"wp:attachment":[{"href":"https:\/\/yonezo.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3783"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yonezo.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3783"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yonezo.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3783"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}