{"id":4547,"date":"2021-02-26T15:48:28","date_gmt":"2021-02-26T21:48:28","guid":{"rendered":"https:\/\/ugit.siua.ac.cr\/?p=4547"},"modified":"2021-03-03T10:00:00","modified_gmt":"2021-03-03T16:00:00","slug":"zammad-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=4547","title":{"rendered":"Zammad: Ubuntu 20.04"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Instalar dependencias<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install gnupg\napt-get install apt-transport-https sudo wget<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Instalar ElasticSearch<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>Instalamos: <a href=\"https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/deb.html\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/deb.html<\/a><\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -qO - https:\/\/artifacts.elastic.co\/GPG-KEY-elasticsearch | sudo apt-key add -\nsudo apt-get install apt-transport-https\necho \"deb https:\/\/artifacts.elastic.co\/packages\/7.x\/apt stable main\" | sudo tee \/etc\/apt\/sources.list.d\/elastic-7.x.list\nsudo apt-get update &amp;&amp; sudo apt-get install elasticsearch<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Instalamos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Install the attachment plugin\nsudo \/usr\/share\/elasticsearch\/bin\/elasticsearch-plugin install ingest-attachment \n\n# Increase the virtual memory map limit\nsudo sysctl -w vm.max_map_count=262144\n\nsystemctl restart elasticsearch\nsystemctl enable elasticsearch<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Abrimos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/elasticsearch\/elasticsearch.yml<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Agregamos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>http.max_content_length: 400mb\nindices.query.bool.max_clause_count: 2000<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Instalar Zammad<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>verificamos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>locale<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Respuesta<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>LANG=C\nLANGUAGE=\nLC_CTYPE=\"C\"\nLC_NUMERIC=\"C\"\nLC_TIME=\"C\"\nLC_COLLATE=\"C\"\nLC_MONETARY=\"C\"\nLC_MESSAGES=\"C\"\nLC_PAPER=\"C\"\nLC_NAME=\"C\"\nLC_ADDRESS=\"C\"\nLC_TELEPHONE=\"C\"\nLC_MEASUREMENT=\"C\"\nLC_IDENTIFICATION=\"C\"\nLC_ALL=<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Ejecutamos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get install apt-transport-https locales sudo wget\nlocale-gen en_US.UTF-8\necho \"LANG=en_US.UTF-8\" &gt; \/etc\/default\/locale<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Agregamos el repositorio<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -qO- https:\/\/dl.packager.io\/srv\/zammad\/zammad\/key | sudo apt-key add -\nsudo wget -O \/etc\/apt\/sources.list.d\/zammad.list \\\n  https:&#47;&#47;dl.packager.io\/srv\/zammad\/zammad\/stable\/installer\/ubuntu\/20.04.repo<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Instalamos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install zammad\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>abrimos el archivo de configuraci\u00f3n <\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/nginx\/sites-available\/zammad.conf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Aqu\u00ed es donde podemos modificar el nombre del dominio<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>server_name 10.20.200.80;<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>O con estos comandos<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>zammad run rails r \"Setting.set('es_url', 'http:\/\/10.20.200.80:9200')\"\nzammad run rake searchindex:rebuild<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Ya podemos ingresar al dominio: <a rel=\"noreferrer noopener\" href=\"http:\/\/10.20.200.80\" target=\"_blank\">http:\/\/10.20.200.80<\/a><\/li><li>Nos abre la ventana<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"715\" height=\"676\" src=\"\/wp-content\/uploads\/2021\/03\/Seleccion_220.png\" alt=\"\" class=\"wp-image-4554\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_220.png 715w, https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_220-300x284.png 300w\" sizes=\"(max-width: 715px) 100vw, 715px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Completamos los datos AC2<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"660\" height=\"705\" src=\"\/wp-content\/uploads\/2021\/03\/Seleccion_221.png\" alt=\"\" class=\"wp-image-4555\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_221.png 660w, https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_221-281x300.png 281w\" sizes=\"(max-width: 660px) 100vw, 660px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Completamos<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"500\" height=\"759\" src=\"\/wp-content\/uploads\/2021\/03\/Seleccion_222.png\" alt=\"\" class=\"wp-image-4558\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_222.png 500w, https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_222-198x300.png 198w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Configuramos correo<\/li><\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"594\" height=\"405\" src=\"\/wp-content\/uploads\/2021\/03\/Seleccion_223.png\" alt=\"\" class=\"wp-image-4559\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_223.png 594w, https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_223-300x205.png 300w\" sizes=\"(max-width: 594px) 100vw, 594px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"488\" height=\"382\" src=\"\/wp-content\/uploads\/2021\/03\/Seleccion_224.png\" alt=\"\" class=\"wp-image-4560\" srcset=\"https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_224.png 488w, https:\/\/sada.services\/wp-content\/uploads\/2021\/03\/Seleccion_224-300x235.png 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\"><li>Si al ingresar los usuarios est\u00e1n vac\u00edos volver hacer<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># Set the Elasticsearch server address\n$ zammad run rails r \"Setting.set('es_url', 'http:\/\/localhost:9200')\"\n\n# Build the search index\n$ zammad run rake searchindex:rebuild<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Instalar dependencias Instalar ElasticSearch Instalamos: https:\/\/www.elastic.co\/guide\/en\/elasticsearch\/reference\/current\/deb.html Instalamos Abrimos Agregamos Instalar Zammad verificamos Respuesta Ejecutamos Agregamos el repositorio Instalamos abrimos el archivo de configuraci\u00f3n Aqu\u00ed es donde podemos modificar el nombre del dominio O con estos comandos Ya podemos ingresar al dominio: http:\/\/10.20.200.80 Nos abre la ventana Completamos los datos AC2 Completamos Configuramos correo Si al [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[273],"tags":[],"class_list":["post-4547","post","type-post","status-publish","format-standard","hentry","category-zammad"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/4547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4547"}],"version-history":[{"count":9,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/4547\/revisions"}],"predecessor-version":[{"id":4590,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/4547\/revisions\/4590"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}