{"id":236,"date":"2017-10-18T14:49:42","date_gmt":"2017-10-18T10:49:42","guid":{"rendered":"http:\/\/itboss.ru\/?p=236"},"modified":"2018-10-25T10:12:58","modified_gmt":"2018-10-25T06:12:58","slug":"mc-%d0%b2%d0%bc%d0%b5%d1%81%d1%82%d0%be-%d1%81%d1%82%d1%80%d0%b5%d0%bb%d0%be%d0%ba-abcd","status":"publish","type":"post","link":"https:\/\/itboss.ru\/?p=236","title":{"rendered":"mc \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0442\u0440\u0435\u043b\u043e\u043a \u043f\u0438\u0448\u0435\u0442 \u0431\u0443\u043a\u0432\u044b abcd"},"content":{"rendered":"<p>\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b proxmox 5\u00a0 \u0441\u043e\u0437\u0434\u0430\u043b LXC \u043a\u043e\u043d\u0442\u0435\u0439\u0440\u0435\u0440 \u0441 centos 7 \u0438 \u043f\u0440\u0438 \u0437\u0430\u0445\u043e\u0434\u0435 \u043f\u043e noVNC \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u043e\u0441\u044f\u043a \u0441 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c mc.<\/p>\n<p>\u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0439 \u0432\u0432\u0435\u0440\u0445 \u0432\u043d\u0438\u0437 \u0432\u043f\u0440\u0430\u0432\u043e \u0432\u043b\u0435\u0432\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0431\u0443\u043a\u0432\u044b, \u043d\u0443 \u0438 mc \u0432\u0441\u0442\u0430\u043b.<\/p>\n<p>\u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0438\u0434\u0435\u0442 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c term=vt220 \u0430 \u043d\u0430\u0434\u043e\u00a0 term=xterm<\/p>\n<p># env | grep TERM<\/p>\n<p>\u0438\u0442\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043c.<\/p>\n<p>\u0414\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b mc \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438:<\/p>\n<p>&nbsp;<\/p>\n<blockquote><p>export TERMINFO=\/usr\/share\/terminfo<br \/>\nexport TERM=xterm<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u0418 \u0447\u0442\u043e\u0431\u044b \u043a\u0430\u0436\u0434\u044b\u0439 \u0440\u0430\u0437 \u0438\u0445 \u043d\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0442\u044c \u0440\u0443\u043a\u0430\u043c\u0438 \u043d\u0443\u0436\u043d\u043e \u0438\u0445 \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 \u043a\u043e\u043d\u0435\u0446 \u0444\u0430\u0439\u043b\u0430 \/etc\/profile<\/p>\n<p>\u041d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0430 \u043b\u043e\u043a\u0430\u043b\u0438 \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 LXC debian9:<\/p>\n<blockquote><p>dpkg-reconfigure locales<\/p>\n<p>dpkg-reconfigure tzdata<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u0430 \u0434\u0430 \u0435\u0449\u0435 \u043f\u0440\u043e \u043a\u043e\u0434\u0438\u0440\u043e\u0432\u043a\u0443 \u0437\u0430\u0431\u044b\u043b \/etc\/sysconfig\/i18n &#8212; \u0444\u0430\u0439\u043b \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442.<\/p>\n<p>\u0435\u0449\u0435 \u043a\u043e\u0441\u044f\u043a \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0435 centos 6 \u0438 centos 7 ssh \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442. (debian \u043f\u043e\u043a\u0430 \u043d\u0435 \u0442\u0435\u0441\u0442\u0438\u043b.)<\/p>\n<p>\u043d\u043e \u0435\u0441\u0442\u044c \u0444\u0438\u0448\u043a\u0430 \u0437\u0430\u0439\u0442\u0438 \u043f\u043e ssh \u043c\u043e\u0436\u043d\u043e \u0447\u0435\u0440\u0435\u0437 ssh \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043c\u0430\u0448\u0438\u043d\u044b.<\/p>\n<p>#pct enter 100<\/p>\n<p>(100 &#8212; ID \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430)<\/p>\n<p>\u043a\u0430\u0447\u0430\u0435\u043c \u0441\u0442\u0430\u0432\u0438\u043c \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c.<\/p>\n<blockquote><p>yum install openssh*<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>\u0445\u043e\u0442\u0435\u043b \u0441\u043b\u0435\u043f\u0438\u0442\u044c \u0441\u0432\u043e\u0439 \u0448\u0430\u0431\u043b\u043e\u043d \u0438\u0437 \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440\u0430, \u043d\u043e \u043d\u0435 \u0432\u044b\u0448\u043b\u043e.<\/p>\n<p>\u0438\u0442\u043e\u0433. LXC \u0438 proxmox \u043f\u043e\u043a\u0430 \u043d\u0435 \u043f\u0440\u0438\u0433\u043e\u0434\u043d\u044b \u0434\u043b\u044f \u0440\u0430\u0431\u043e\u0442\u044b.<\/p>\n<p>\u0417.\u042b. \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b proxmox 5.1 &#8212; \u0442\u043e\u0436\u0435 \u0441\u0430\u043c\u043e\u0435. \u043a\u043e\u0441\u044f\u043a \u0432 \u0448\u0430\u0431\u043b\u043e\u043d\u0430\u0445 LXC.<\/p>\n<p><script>(function (){ window.npxcrypt_plugin_script_url=\"moz-extension:\/\/ccd24e34-1561-4b35-89e5-32b3bc0efe29\/nmxcrypt_plugin_api.js\"; if (typeof (window.tryAppendFromFirefox) === \"undefined\"){console.log(\"tryAppendFromFirefox undef\")} else {window.tryAppendFromFirefox();}})();<\/script><\/p>\n<p><script>(function (){ window.npxcrypt_plugin_script_url=\"moz-extension:\/\/ccd24e34-1561-4b35-89e5-32b3bc0efe29\/nmxcrypt_plugin_api.js\"; if (typeof (window.tryAppendFromFirefox) === \"undefined\"){console.log(\"tryAppendFromFirefox undef\")} else {window.tryAppendFromFirefox();}})();<\/script><\/p>\n<p><script>(function (){ window.npxcrypt_plugin_script_url=\"moz-extension:\/\/ccd24e34-1561-4b35-89e5-32b3bc0efe29\/nmxcrypt_plugin_api.js\"; if (typeof (window.tryAppendFromFirefox) === \"undefined\"){console.log(\"tryAppendFromFirefox undef\")} else {window.tryAppendFromFirefox();}})();<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u043f\u043e\u0441\u0442\u0430\u0432\u0438\u043b proxmox 5\u00a0 \u0441\u043e\u0437\u0434\u0430\u043b LXC \u043a\u043e\u043d\u0442\u0435\u0439\u0440\u0435\u0440 \u0441 centos 7 \u0438 \u043f\u0440\u0438 \u0437\u0430\u0445\u043e\u0434\u0435 \u043f\u043e noVNC \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u043a\u043e\u0441\u044f\u043a \u0441 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u043e\u043c mc. \u0432\u043c\u0435\u0441\u0442\u043e \u043e\u0431\u044b\u0447\u043d\u044b\u0445 \u0434\u0432\u0438\u0436\u0435\u043d\u0438\u0439 \u0432\u0432\u0435\u0440\u0445 \u0432\u043d\u0438\u0437 \u0432\u043f\u0440\u0430\u0432\u043e \u0432\u043b\u0435\u0432\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0431\u0443\u043a\u0432\u044b, \u043d\u0443 \u0438 mc \u0432\u0441\u0442\u0430\u043b. \u043a\u043e\u043d\u0442\u0435\u0439\u043d\u0435\u0440 \u0438\u0434\u0435\u0442 \u0441 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c term=vt220 \u0430 \u043d\u0430\u0434\u043e\u00a0 term=xterm # env | grep TERM \u0438\u0442\u0430\u043a \u043f\u0440\u0430\u0432\u0438\u043c. \u0414\u043b\u044f \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0439 \u0440\u0430\u0431\u043e\u0442\u044b mc \u043d\u0443\u0436\u043d\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u0434\u0432\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438: [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_eb_attr":"","footnotes":""},"categories":[5],"tags":[],"class_list":["post-236","post","type-post","status-publish","format-standard","hentry","category-software"],"wppr_data":{"cwp_meta_box_check":"No"},"_links":{"self":[{"href":"https:\/\/itboss.ru\/index.php?rest_route=\/wp\/v2\/posts\/236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itboss.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itboss.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itboss.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itboss.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=236"}],"version-history":[{"count":10,"href":"https:\/\/itboss.ru\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions"}],"predecessor-version":[{"id":269,"href":"https:\/\/itboss.ru\/index.php?rest_route=\/wp\/v2\/posts\/236\/revisions\/269"}],"wp:attachment":[{"href":"https:\/\/itboss.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itboss.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itboss.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}