{"id":811,"date":"2010-08-29T19:04:01","date_gmt":"2010-08-29T12:04:01","guid":{"rendered":"http:\/\/www.icez.net\/blog\/?p=811"},"modified":"2010-08-29T19:04:43","modified_gmt":"2010-08-29T12:04:43","slug":"%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-openvz-%e0%b8%9a%e0%b8%99-centos-5-64bit","status":"publish","type":"post","link":"https:\/\/www.icez.net\/blog\/811\/%e0%b8%95%e0%b8%b4%e0%b8%94%e0%b8%95%e0%b8%b1%e0%b9%89%e0%b8%87-openvz-%e0%b8%9a%e0%b8%99-centos-5-64bit","title":{"rendered":"0110 | \u0e15\u0e34\u0e14\u0e15\u0e31\u0e49\u0e07 openvz \u0e1a\u0e19 centos 5 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<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:\/\/download.openvz.org\/openvz.repo\r\nrpm --import http:\/\/download.openvz.org\/RPM-GPG-Key-OpenVZ\r\nyum -y install ovzkernel.x86_64\r\nperl -pi -e s\/default=1\/default=0\/g \/etc\/grub.conf\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\nyum install vzctl.x86_64 vzquota.x86_64\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 \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:\/\/download.openvz.org\/openvz.repo rpm &#8211;import http:\/\/download.openvz.org\/RPM-GPG-Key-OpenVZ yum -y install ovzkernel.x86_64 perl -pi -e s\/default=1\/default=0\/g \/etc\/grub.conf 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 yum install vzctl.x86_64 vzquota.x86_64 chkconfig [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[144,48,146,145],"class_list":["post-811","post","type-post","status-publish","format-standard","hentry","category-misc","tag-centos","tag-install","tag-openvz","tag-virtualization"],"_links":{"self":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/811","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=811"}],"version-history":[{"count":2,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/811\/revisions"}],"predecessor-version":[{"id":813,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/posts\/811\/revisions\/813"}],"wp:attachment":[{"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/media?parent=811"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/categories?post=811"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.icez.net\/blog\/wp-json\/wp\/v2\/tags?post=811"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}