{"id":1213,"date":"2011-07-12T00:18:52","date_gmt":"2011-07-11T17:18:52","guid":{"rendered":"http:\/\/www.icez.net\/blog\/?p=1213"},"modified":"2011-07-12T00:18:52","modified_gmt":"2011-07-11T17:18:52","slug":"install-openvz-on-centos-6-0","status":"publish","type":"post","link":"https:\/\/www.icez.net\/blog\/1213\/install-openvz-on-centos-6-0","title":{"rendered":"0123 | \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 OpenVZ \u0e1a\u0e19 CentOS 6.0 64bit"},"content":{"rendered":"<p>\u0e04\u0e39\u0e48\u0e21\u0e37\u0e2d\u0e01\u0e4a\u0e2d\u0e1b\u0e27\u0e32\u0e07\u0e2d\u0e35\u0e01\u0e41\u0e25\u0e49\u0e27\u0e04\u0e23\u0e31\u0e1a\u0e17\u0e48\u0e32\u0e19 \u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07\u0e08\u0e32\u0e01 CentOS 5.0 \u0e19\u0e34\u0e14\u0e2b\u0e19\u0e48\u0e2d\u0e22 \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e0a\u0e37\u0e48\u0e2d package \u0e21\u0e31\u0e19\u0e44\u0e21\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e19<br \/>\n\u0e27\u0e34\u0e18\u0e35\u0e25\u0e07\u0e44\u0e21\u0e48\u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e01\u0e32\u0e23 optimize \u0e23\u0e30\u0e1a\u0e1a \u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 vps \u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a<\/p>\n<pre lang=\"bash\">\r\nwget -O \/etc\/yum.repos.d\/openvz.repo http:\/\/icez.net\/files\/openvz-el6.repo\r\nrpm --import http:\/\/download.openvz.org\/RPM-GPG-Key-OpenVZ\r\nyum -y install vzkernel.x86_64 vzkernel-devel.x86_64 vzkernel-headers.x86_64 perl.x86_64\r\nperl -pi -e \"s\/net.ipv4.ip_forward = 0\/net.ipv4.ip_forward = 1\/g\" \/etc\/sysctl.conf\r\necho \"net.ipv4.conf.default.proxy_arp = 0\" >> \/etc\/sysctl.conf\r\necho \"net.ipv4.conf.default.send_redirects = 1\" >> \/etc\/sysctl.conf\r\necho \"net.ipv4.conf.all.send_redirects = 0\" >> \/etc\/sysctl.conf\r\nchkconfig vz on\r\ninit 6\r\n<\/pre>\n<p>\u0e17\u0e35\u0e48\u0e40\u0e2b\u0e25\u0e37\u0e2d\u0e01\u0e47&#8230; download template \u0e21\u0e32\u0e25\u0e07 \u0e40\u0e2d\u0e32\u0e44\u0e27\u0e49\u0e43\u0e19 folder \/vz\/template\/cache<br \/>\n<a href=\"http:\/\/wiki.openvz.org\/Download\/template\/precreated\">http:\/\/wiki.openvz.org\/Download\/template\/precreated<\/a><br \/>\n<a href=\"http:\/\/download.openvz.org\/template\/precreated\/\">http:\/\/download.openvz.org\/template\/precreated\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0e04\u0e39\u0e48\u0e21\u0e37\u0e2d\u0e01\u0e4a\u0e2d\u0e1b\u0e27\u0e32\u0e07\u0e2d\u0e35\u0e01\u0e41\u0e25\u0e49\u0e27\u0e04\u0e23\u0e31\u0e1a\u0e17\u0e48\u0e32\u0e19 \u0e1b\u0e23\u0e31\u0e1a\u0e1b\u0e23\u0e38\u0e07\u0e08\u0e32\u0e01 CentOS 5.0 \u0e19\u0e34\u0e14\u0e2b\u0e19\u0e48\u0e2d\u0e22 \u0e40\u0e19\u0e37\u0e48\u0e2d\u0e07\u0e08\u0e32\u0e01\u0e0a\u0e37\u0e48\u0e2d package \u0e21\u0e31\u0e19\u0e44\u0e21\u0e48\u0e15\u0e23\u0e07\u0e01\u0e31\u0e19 \u0e27\u0e34\u0e18\u0e35\u0e25\u0e07\u0e44\u0e21\u0e48\u0e23\u0e27\u0e21\u0e16\u0e36\u0e07\u0e01\u0e32\u0e23 optimize \u0e23\u0e30\u0e1a\u0e1a \u0e41\u0e25\u0e30\u0e01\u0e32\u0e23\u0e15\u0e31\u0e49\u0e07\u0e04\u0e48\u0e32 vps \u0e19\u0e30\u0e04\u0e23\u0e31\u0e1a wget -O \/etc\/yum.repos.d\/openvz.repo http:\/\/icez.net\/files\/openvz-el6.repo rpm &#8211;import http:\/\/download.openvz.org\/RPM-GPG-Key-OpenVZ yum -y install vzkernel.x86_64 vzkernel-devel.x86_64 vzkernel-headers.x86_64 perl.x86_64 perl -pi -e &#8220;s\/net.ipv4.ip_forward = 0\/net.ipv4.ip_forward = 1\/g&#8221; \/etc\/sysctl.conf echo &#8220;net.ipv4.conf.default.proxy_arp = 0&#8221; >> \/etc\/sysctl.conf echo &#8220;net.ipv4.conf.default.send_redirects = 1&#8221; >> \/etc\/sysctl.conf echo &#8220;net.ipv4.conf.all.send_redirects = 0&#8221; >> \/etc\/sysctl.conf [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[50],"tags":[144,48,146,145],"class_list":["post-1213","post","type-post","status-publish","format-standard","hentry","category-linux","tag-centos","tag-install","tag-openvz","tag-virtualization"],"_links":{"self":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/1213","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/comments?post=1213"}],"version-history":[{"count":1,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/1213\/revisions"}],"predecessor-version":[{"id":1215,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/1213\/revisions\/1215"}],"wp:attachment":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/media?parent=1213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/categories?post=1213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/tags?post=1213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}