{"id":177,"date":"2020-12-18T06:19:04","date_gmt":"2020-12-18T03:19:04","guid":{"rendered":"https:\/\/ckp.icgen.ru\/sccbio\/?page_id=177"},"modified":"2021-04-28T12:56:29","modified_gmt":"2021-04-28T09:56:29","slug":"xo-update-upgrade","status":"publish","type":"page","link":"https:\/\/ckp.icgen.ru\/sccbio\/?page_id=177","title":{"rendered":"XO update\/upgrade"},"content":{"rendered":"<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u043f\u0430\u043a\u0435\u0442\u0430 XOA \u0447\u0435\u0440\u0435\u0437 github.<\/p>\n<pre><code>sudo apt-get update &amp;&amp; upgrade\ncd \/opt\/xen-orchestra\/packages\/xo-server\nstop yarn\ncd \/opt\/xen-orchestra\/\ngit pull --ff-only\nyarn\nyarn install\nyarn build\nreboot\n<\/code><\/pre>\n<p>\u0415\u0441\u043b\u0438 \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 nodejs, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PPA \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f ubuntu\/debian \u0438 \u0438\u0445 \u0434\u0435\u0440\u0435\u0432\u0430\u0442\u0438\u0432\u043e\u0432:<\/p>\n<pre><code>https:\/\/github.com\/nodesource\/distributions\/blob\/master\/README.md#debinstall\n<\/code><\/pre>\n<p>\u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 \u0432\u0435\u0440\u0441\u0438\u0438 nodejs (15):<\/p>\n<pre><code>curl -fsSL https:\/\/deb.nodesource.com\/setup_15.x | bash -\napt-get install -y nodejs\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u0438 \u043f\u0430\u043a\u0435\u0442\u0430 XOA \u0447\u0435\u0440\u0435\u0437 github. sudo apt-get update &amp;&amp; upgrade cd \/opt\/xen-orchestra\/packages\/xo-server stop yarn cd \/opt\/xen-orchestra\/ git pull &#8212;ff-only yarn yarn install yarn build reboot \u0415\u0441\u043b\u0438 \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 \u0438\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0435 \u0432\u043e\u0437\u043d\u0438\u043a\u0430\u044e\u0442 \u043e\u0448\u0438\u0431\u043a\u0438 \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u044b\u0435 \u0441 \u0432\u0435\u0440\u0441\u0438\u0435\u0439 nodejs, \u043c\u043e\u0436\u043d\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c PPA \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0434\u043b\u044f ubuntu\/debian \u0438 \u0438\u0445 \u0434\u0435\u0440\u0435\u0432\u0430\u0442\u0438\u0432\u043e\u0432: https:\/\/github.com\/nodesource\/distributions\/blob\/master\/README.md#debinstall \u041d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043d\u0430 \u0442\u0435\u043a\u0443\u0449\u0435\u0439 \u043c\u043e\u043c\u0435\u043d\u0442 [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=\/wp\/v2\/pages\/177"}],"collection":[{"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=177"}],"version-history":[{"count":10,"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=\/wp\/v2\/pages\/177\/revisions"}],"predecessor-version":[{"id":275,"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=\/wp\/v2\/pages\/177\/revisions\/275"}],"wp:attachment":[{"href":"https:\/\/ckp.icgen.ru\/sccbio\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}