{"id":205,"date":"2020-06-12T00:34:46","date_gmt":"2020-06-12T00:34:46","guid":{"rendered":"http:\/\/oinformata.eti.br\/wp\/?p=205"},"modified":"2023-07-01T17:53:33","modified_gmt":"2023-07-01T17:53:33","slug":"fazendo-update-do-xoce","status":"publish","type":"post","link":"http:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/","title":{"rendered":"Fazendo Update do XOCE"},"content":{"rendered":"\n<p>Neste artigo veremos como proceder para manter o seu XOCE atualizado com a \u00faltima vers\u00e3o dispon\u00edvel.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>Primeiramente precisamos considerar algumas coisas:<\/p>\n\n\n\n<p>-A VM na qual o XOCE est\u00e1 instalada possui acesso\u00e0 internet<\/p>\n\n\n\n<p>-A VM na qual o XOCE est\u00e1 instalado possui no m\u00ednimo 3GB de RAM, recomendado 4GB<\/p>\n\n\n\n<p>&#8211; Voc\u00eas fez um snapshot desta VM<\/p>\n\n\n\n<p>&#8211; Voc\u00ea est\u00e1 logado como root no terminal da VM<\/p>\n\n\n\n<p>Caso precise configurar proxy http e https temos uma explica\u00e7\u00e3o <a rel=\"noreferrer noopener\" href=\"http:\/\/oinformata.eti.br\/wp\/xcp-ng-8-0-debian10-docker\/\" target=\"_blank\">AQUI<\/a> neste outro post.<\/p>\n\n\n\n<p>Isso posto, vamos executar o seguinte comando:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> curl https:\/\/raw.githubusercontent.com\/Jarli01\/xenorchestra_updater\/master\/xo-update.sh | bash<\/code><\/pre>\n\n\n\n<p>Ser\u00e1 feito o download do script update e executado no bash, se n\u00e3o houver nenhum problema o pr\u00f3prio script se encarrega do resto bastando reiniciar a VM para aplicar o upgrade.<\/p>\n\n\n\n<p><strong>Itera\u00e7\u00f5es que script pode solicitar<\/strong><\/p>\n\n\n\n<p>Repare que todas as a\u00e7\u00f5es das quais o script depende s\u00e3o sugeridas na pr\u00f3pria resposta ao comando de execu\u00e7\u00e3o do script, como por exemplo, a execu\u00e7\u00e3o de algum comando anterior \u00e0 execu\u00e7\u00e3o.<\/p>\n\n\n\n<p>PS: Ap\u00f3s a execu\u00e7\u00e3o de cada comando abaixo repita o primeiro comando para executar novamente o script<\/p>\n\n\n\n<p><strong>Solicita\u00e7\u00e3o de email: <\/strong><\/p>\n\n\n\n<p>Git email required to run XOCE updater<br>enter your credentials with the following commands and then rerun this update script<br>git config &#8211;global user.email &#8220;you@example.com&#8221;<\/p>\n\n\n\n<p>Bastando executar o comando:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git config --global user.email \"you@example.com\"<\/code><\/pre>\n\n\n\n<p><strong>Solicita\u00e7\u00e3o de username:<\/strong><\/p>\n\n\n\n<p>enter your credentials with the following commands and then rerun this update script<br>git config &#8211;global user.name &#8220;Your Name&#8221;<br>:&#8211;:&#8211; 38406<br>(23) Failed writing body<\/p>\n\n\n\n<p>Bastando executar o comando:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>git config --global user.name \"Your Name\"<\/code><\/pre>\n\n\n\n<p><strong>Node desatualizado<\/strong><\/p>\n\n\n\n<p>Incorrect version of Node detected<br>Update node with the following command and then rerun this script<br>n lts<\/p>\n\n\n\n<p>Bastando executar o comando:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>n lts<\/code><\/pre>\n\n\n\n<p>Ao final da execu\u00e7\u00e3o do script ser\u00e1 informada a nova vers\u00e3o do update e ser\u00e1 solicitado um reboot.<\/p>\n\n\n\n<p>Done!<\/p>\n\n\n\n<p>Telegram: <a href=\"https:\/\/t.me\/xcpng\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/t.me\/xcpng<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Neste artigo veremos como proceder para manter o seu XOCE atualizado com a \u00faltima vers\u00e3o dispon\u00edvel<\/p>\n","protected":false},"author":2,"featured_media":77,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[15,4,3],"tags":[17,8,16],"class_list":["post-205","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","category-xcp-ng","category-xoce","tag-howto","tag-xcp-ng","tag-xoce"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fazendo Update do XOCE - O Informata<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\" \/>\n<meta property=\"og:locale\" content=\"pt_BR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fazendo Update do XOCE - O Informata\" \/>\n<meta property=\"og:description\" content=\"Neste artigo veremos como proceder para manter o seu XOCE atualizado com a \u00faltima vers\u00e3o dispon\u00edvel\" \/>\n<meta property=\"og:url\" content=\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\" \/>\n<meta property=\"og:site_name\" content=\"O Informata\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-12T00:34:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-07-01T17:53:33+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png\" \/>\n\t<meta property=\"og:image:width\" content=\"240\" \/>\n\t<meta property=\"og:image:height\" content=\"240\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Felipe Pedrosa\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"Felipe Pedrosa\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. tempo de leitura\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\"},\"author\":{\"name\":\"Felipe Pedrosa\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/#\/schema\/person\/9fec8059323543ef045963e57120f371\"},\"headline\":\"Fazendo Update do XOCE\",\"datePublished\":\"2020-06-12T00:34:46+00:00\",\"dateModified\":\"2023-07-01T17:53:33+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\"},\"wordCount\":304,\"image\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png\",\"keywords\":[\"howto\",\"XCP-ng\",\"xoce\"],\"articleSection\":[\"How-to\",\"XCP-ng\",\"XOCE\"],\"inLanguage\":\"pt-BR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\",\"url\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\",\"name\":\"Fazendo Update do XOCE - O Informata\",\"isPartOf\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage\"},\"thumbnailUrl\":\"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png\",\"datePublished\":\"2020-06-12T00:34:46+00:00\",\"dateModified\":\"2023-07-01T17:53:33+00:00\",\"author\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/#\/schema\/person\/9fec8059323543ef045963e57120f371\"},\"breadcrumb\":{\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#breadcrumb\"},\"inLanguage\":\"pt-BR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage\",\"url\":\"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png\",\"contentUrl\":\"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png\",\"width\":240,\"height\":240},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"In\u00edcio\",\"item\":\"https:\/\/oinformata.eti.br\/wp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fazendo Update do XOCE\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/#website\",\"url\":\"https:\/\/oinformata.eti.br\/wp\/\",\"name\":\"O Informata\",\"description\":\"Tecnologia e Informa&ccedil;&atilde;o\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/oinformata.eti.br\/wp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"pt-BR\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/oinformata.eti.br\/wp\/#\/schema\/person\/9fec8059323543ef045963e57120f371\",\"name\":\"Felipe Pedrosa\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"pt-BR\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/79c0387c09d1e67f2231a9d61c0c68ff6dfc9d2ada1c3c4c5cfb1e7eee72013f?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/79c0387c09d1e67f2231a9d61c0c68ff6dfc9d2ada1c3c4c5cfb1e7eee72013f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/79c0387c09d1e67f2231a9d61c0c68ff6dfc9d2ada1c3c4c5cfb1e7eee72013f?s=96&d=mm&r=g\",\"caption\":\"Felipe Pedrosa\"},\"description\":\"Graduado em TI pela FATEC, P\u00f3s Graduado em Seguran\u00e7a da Informa\u00e7\u00e3o pela UNISUL, CISCO CCNA4, Gerente de TI, Atuo na \u00e1rea Governamental desde 2009\",\"sameAs\":[\"http:\/\/oinformata.eti.br\"],\"url\":\"http:\/\/oinformata.eti.br\/wp\/author\/felipe-pedrosa\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fazendo Update do XOCE - O Informata","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/","og_locale":"pt_BR","og_type":"article","og_title":"Fazendo Update do XOCE - O Informata","og_description":"Neste artigo veremos como proceder para manter o seu XOCE atualizado com a \u00faltima vers\u00e3o dispon\u00edvel","og_url":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/","og_site_name":"O Informata","article_published_time":"2020-06-12T00:34:46+00:00","article_modified_time":"2023-07-01T17:53:33+00:00","og_image":[{"width":240,"height":240,"url":"https:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png","type":"image\/png"}],"author":"Felipe Pedrosa","twitter_card":"summary_large_image","twitter_misc":{"Escrito por":"Felipe Pedrosa","Est. tempo de leitura":"2 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#article","isPartOf":{"@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/"},"author":{"name":"Felipe Pedrosa","@id":"https:\/\/oinformata.eti.br\/wp\/#\/schema\/person\/9fec8059323543ef045963e57120f371"},"headline":"Fazendo Update do XOCE","datePublished":"2020-06-12T00:34:46+00:00","dateModified":"2023-07-01T17:53:33+00:00","mainEntityOfPage":{"@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/"},"wordCount":304,"image":{"@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage"},"thumbnailUrl":"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png","keywords":["howto","XCP-ng","xoce"],"articleSection":["How-to","XCP-ng","XOCE"],"inLanguage":"pt-BR"},{"@type":"WebPage","@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/","url":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/","name":"Fazendo Update do XOCE - O Informata","isPartOf":{"@id":"https:\/\/oinformata.eti.br\/wp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage"},"image":{"@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage"},"thumbnailUrl":"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png","datePublished":"2020-06-12T00:34:46+00:00","dateModified":"2023-07-01T17:53:33+00:00","author":{"@id":"https:\/\/oinformata.eti.br\/wp\/#\/schema\/person\/9fec8059323543ef045963e57120f371"},"breadcrumb":{"@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#breadcrumb"},"inLanguage":"pt-BR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/"]}]},{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#primaryimage","url":"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png","contentUrl":"http:\/\/oinformata.eti.br\/wp\/wp-content\/uploads\/2019\/11\/xoa.png","width":240,"height":240},{"@type":"BreadcrumbList","@id":"https:\/\/oinformata.eti.br\/wp\/fazendo-update-do-xoce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"In\u00edcio","item":"https:\/\/oinformata.eti.br\/wp\/"},{"@type":"ListItem","position":2,"name":"Fazendo Update do XOCE"}]},{"@type":"WebSite","@id":"https:\/\/oinformata.eti.br\/wp\/#website","url":"https:\/\/oinformata.eti.br\/wp\/","name":"O Informata","description":"Tecnologia e Informa&ccedil;&atilde;o","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/oinformata.eti.br\/wp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"pt-BR"},{"@type":"Person","@id":"https:\/\/oinformata.eti.br\/wp\/#\/schema\/person\/9fec8059323543ef045963e57120f371","name":"Felipe Pedrosa","image":{"@type":"ImageObject","inLanguage":"pt-BR","@id":"https:\/\/secure.gravatar.com\/avatar\/79c0387c09d1e67f2231a9d61c0c68ff6dfc9d2ada1c3c4c5cfb1e7eee72013f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/79c0387c09d1e67f2231a9d61c0c68ff6dfc9d2ada1c3c4c5cfb1e7eee72013f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/79c0387c09d1e67f2231a9d61c0c68ff6dfc9d2ada1c3c4c5cfb1e7eee72013f?s=96&d=mm&r=g","caption":"Felipe Pedrosa"},"description":"Graduado em TI pela FATEC, P\u00f3s Graduado em Seguran\u00e7a da Informa\u00e7\u00e3o pela UNISUL, CISCO CCNA4, Gerente de TI, Atuo na \u00e1rea Governamental desde 2009","sameAs":["http:\/\/oinformata.eti.br"],"url":"http:\/\/oinformata.eti.br\/wp\/author\/felipe-pedrosa\/"}]}},"_links":{"self":[{"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/posts\/205","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/comments?post=205"}],"version-history":[{"count":4,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/posts\/205\/revisions"}],"predecessor-version":[{"id":236,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/posts\/205\/revisions\/236"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/media\/77"}],"wp:attachment":[{"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/media?parent=205"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/categories?post=205"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/oinformata.eti.br\/wp\/wp-json\/wp\/v2\/tags?post=205"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}