{"id":2542,"date":"2023-01-20T20:59:17","date_gmt":"2023-01-20T20:59:17","guid":{"rendered":"https:\/\/orfeolibre.org\/inicio\/?post_type=knowledgebase&#038;p=2542"},"modified":"2023-01-20T21:00:08","modified_gmt":"2023-01-20T21:00:08","slug":"orfeo-5-0-debian-8-jessie","status":"publish","type":"knowledgebase","link":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/","title":{"rendered":"Orfeo 5.0 &#8211; Debian 8 Jessie"},"content":{"rendered":"<h2>Descripci\u00f3n<\/h2>\n<p>NO\u00a0SE\u00a0PUEDE .. toca PHP 5.3<\/p>\n<p>Orfreo version 5 montado sobre Debian 8 Jessie\u00a0 .. .. aun con PHP 5.3<\/p>\n<h2>Prerequistos<\/h2>\n<p>Un Debian andando .. quiza mejor un Kuine -pgsql o un Kuine-lapp<\/p>\n<h2>Instalaci\u00f3n<\/h2>\n<p>Un Debian base<\/p>\n<h2>Configuraci\u00f3n<\/h2>\n<h3>1. Instale dependencias<\/h3>\n<p>Como solemos usar postgresql .. yo instalo phppgadmin .. y eso al menos pone las dependencias primarias como apache y php<\/p>\n<p>apt-get install php5-gd php5-ldap zip unzip postgresql postgresql-contrib, ptop\u00a0 (esto lo monta kuine-lapp)<\/p>\n<h3>2. Install php 5.3<\/h3>\n<ul>\n<li>First, add these two lines to \/etc\/apt\/sources.list. In short, it adds Debian Squeeze repositories as an additional source of packages:<\/li>\n<\/ul>\n<p>deb http:\/\/archive.debian.org\/debian\/ squeeze main contrib non-free<br \/>\n# deb http:\/\/security.debian.org\/ squeeze\/updates main contrib non-free<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>Then, add these to pin your old PHP 5.3 packages, to \/etc\/apt\/preferences.d\/preferences. If you don\u2019t have this file, create an empty one.<\/li>\n<\/ul>\n<p>Package: php5*<br \/>\nPin: release a=oldoldstable<br \/>\nPin-Priority: 700<\/p>\n<p>Package: libapache2-mod-php5<br \/>\nPin: release a=oldoldstable<br \/>\nPin-Priority: 700<\/p>\n<p>Package: php-pear<br \/>\nPin: release a=oldoldstable<br \/>\nPin-Priority: 700<\/p>\n<p>Package: php-apc<br \/>\nPin: release a=oldoldstable<br \/>\nPin-Priority: 700<\/p>\n<p>Package: *<br \/>\nPin: release a=stable<br \/>\nPin-Priority: 600<\/p>\n<p>El esquema de downgrade no me ha funcionado .. toca hacerlo de cero y ahi si funciona<\/p>\n<h3>3. Copie los fuentes en \/var\/www\/\u00a0 o \/var\/www\/html<\/h3>\n<p>Descargue y descomprima<br \/>\n&gt;&gt;\u00a0tar xvjf orfeo.tbz2<\/p>\n<p>Directorios alternos\u00a0 de servicio<\/p>\n<p>&gt;&gt; mkdir \/etc\/orfeo\u00a0 \/var\/lib\/orfeo<\/p>\n<p>Cree la configuracion adecuada<\/p>\n<p>&gt;&gt; cp config.php-dist\u00a0 \/etc\/orfeo\/config.php<\/p>\n<p>Vinculelos<br \/>\n&gt;&gt; ln -s \/etc\/orfeo\/config.php\u00a0 \/var\/www\/html\/orfeo<br \/>\n&gt;&gt; ln -s \/var\/lib\/orfeo\u00a0 \/var\/www\/html\/orfeo\/bodega<\/p>\n<p>Construya los subdirectorios de la bodega .. ejm:<\/p>\n<p>Corrija los permisos de la bodega<\/p>\n<p>&gt;&gt; chown -R www-data:www-data\u00a0 \/var\/lib\/orfeo<\/p>\n<h3>4. Configure BD<\/h3>\n<p>Creo Admin<\/p>\n<p>su -c \u00abecho CREATE USER admin WITH SUPERUSER CREATEDB CREATEROLE PASSWORD \\&#8217;admin\\&#8217; | psql \u00bb postgres<br \/>\nsu -c \u00abecho ALTER USER admin WITH PASSWORD \\&#8217;aCh7thoi\\&#8217; | psql \u00bb postgres<\/p>\n<p>Ahora creo lo de orfeo<br \/>\nsu -c \u00abecho CREATE USER orfeousr WITH PASSWORD \\&#8217;yaeph8Ai\\&#8217; | \/usr\/bin\/psql \u00bb postgres<br \/>\nsu -c \u00abecho CREATE DATABASE orfeodb | \/usr\/bin\/psql \u00bb postgres<br \/>\nsu -c \u00abecho GRANT ALL PRIVILEGES ON DATABASE orfeodb to orfeousr | \/usr\/bin\/psql \u00bb postgres<br \/>\nsu -c \u00ab\/usr\/bin\/psql -q orfeodb &lt; orfeoRIO.dump \u00bb postgres<\/p>\n<p>Como usuario postgresql .. corrija los permisos de la BD<\/p>\n<p>for tbl in `psql -qAt -c \u00abselect tablename from pg_tables where schemaname = &#8216;public&#8217;;\u00bb orfeodb` ; do<br \/>\necho \u00abpsql -c alter table $tbl owner to orfeousr orfeodb\u00bb<br \/>\npsql -c \u00abalter table $tbl owner to orfeousr\u00bb orfeodb<br \/>\ndone<\/p>\n<p>for tbl in `psql -qAt -c \u00abselect sequence_name from information_schema.sequences where sequence_schema = &#8216;public&#8217;;\u00bb orfeodb` ; do<br \/>\necho \u00abpsql -c alter table $tbl owner to orfeousr orfeodb \u00bb<br \/>\npsql -c \u00abalter table $tbl owner to orfeousr\u00bb orfeodb<br \/>\ndone<\/p>\n<p>for tbl in `psql -qAt -c \u00abselect table_name from information_schema.views where table_schema = &#8216;public&#8217;;\u00bb orfeodb` ; do<br \/>\necho\u00a0 \u00abpsql -c alter table $tbl owner to orfeousr orfeodb\u00bb<br \/>\npsql -c \u00abalter table $tbl owner to orfeousr\u00bb orfeodb<br \/>\ndone<\/p>\n<h3>5. Quixplorer<\/h3>\n<p>Ya esta incluido en la raiz ..nada que hacer<\/p>\n<h3>5. Cron<\/h3>\n<p>Copie orfeo.crontab a \/etc\/cron.d\/orfeo<\/p>\n<h3>7. Apache2 configuracion<\/h3>\n<p>Copie orfeo.apache a \/etc\/apache2\/conf.d\/orfeo<\/p>\n<h3>8.\u00a0 Monte el servidor FTP<\/h3>\n<p>Si esta en un server, el servidor FTP forma parte del IIS .. si no<\/p>\n<h2>Trucos<\/h2>\n<h2>Problemas<\/h2>\n<h3>1. Installar php5-gd NO\u00a0ANDA<\/h3>\n<p>El problema era causado porque libjpeg62 ahora se llama libjpeg62-turbo y no se reporta con el nombre anterior y rompe dependencias.<\/p>\n<p>&nbsp;<\/p>\n<h2>Referencias<\/h2>\n<p>&#8211; https:\/\/serverfault.com\/questions\/367885\/downgrade-php-5-4-to-5-3-in-debian<br \/>\n&#8211; https:\/\/stackoverflow.com\/questions\/31272367\/downgrade-php-from-5-6-9-to-5-3-3-debian-jessie<br \/>\nFIN<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Descripci\u00f3n NO\u00a0SE\u00a0PUEDE .. toca PHP 5.3 Orfreo version 5 montado sobre Debian 8 Jessie\u00a0 .. .. aun con PHP 5.3 Prerequistos Un Debian andando .. quiza mejor un Kuine -pgsql o un Kuine-lapp Instalaci\u00f3n Un [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[35],"class_list":["post-2542","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-guias-instalacion-orfeo6"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Orfeo 5.0 - Debian 8 Jessie - Orfeo SGDEA - Gesti\u00f3n Documental<\/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:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Orfeo 5.0 - Debian 8 Jessie - Orfeo SGDEA - Gesti\u00f3n Documental\" \/>\n<meta property=\"og:description\" content=\"Descripci\u00f3n NO\u00a0SE\u00a0PUEDE .. toca PHP 5.3 Orfreo version 5 montado sobre Debian 8 Jessie\u00a0 .. .. aun con PHP 5.3 Prerequistos Un Debian andando .. quiza mejor un Kuine -pgsql o un Kuine-lapp Instalaci\u00f3n Un [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/\" \/>\n<meta property=\"og:site_name\" content=\"Orfeo SGDEA - Gesti\u00f3n Documental\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T21:00:08+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/\",\"url\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/\",\"name\":\"Orfeo 5.0 - Debian 8 Jessie - Orfeo SGDEA - Gesti\u00f3n Documental\",\"isPartOf\":{\"@id\":\"https:\/\/orfeolibre.org\/inicio\/#website\"},\"datePublished\":\"2023-01-20T20:59:17+00:00\",\"dateModified\":\"2023-01-20T21:00:08+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/orfeolibre.org\/inicio\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orfeo 5.0 &#8211; Debian 8 Jessie\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/orfeolibre.org\/inicio\/#website\",\"url\":\"https:\/\/orfeolibre.org\/inicio\/\",\"name\":\"Orfeo SGDEA - Gesti\u00f3n Documental\",\"description\":\"Sistema de Gesti\u00f3n Documental de Archivo Electr\u00f3nico\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/orfeolibre.org\/inicio\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Orfeo 5.0 - Debian 8 Jessie - Orfeo SGDEA - Gesti\u00f3n Documental","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:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/","og_locale":"es_ES","og_type":"article","og_title":"Orfeo 5.0 - Debian 8 Jessie - Orfeo SGDEA - Gesti\u00f3n Documental","og_description":"Descripci\u00f3n NO\u00a0SE\u00a0PUEDE .. toca PHP 5.3 Orfreo version 5 montado sobre Debian 8 Jessie\u00a0 .. .. aun con PHP 5.3 Prerequistos Un Debian andando .. quiza mejor un Kuine -pgsql o un Kuine-lapp Instalaci\u00f3n Un [&hellip;]","og_url":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/","og_site_name":"Orfeo SGDEA - Gesti\u00f3n Documental","article_modified_time":"2023-01-20T21:00:08+00:00","twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"3 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/","url":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/","name":"Orfeo 5.0 - Debian 8 Jessie - Orfeo SGDEA - Gesti\u00f3n Documental","isPartOf":{"@id":"https:\/\/orfeolibre.org\/inicio\/#website"},"datePublished":"2023-01-20T20:59:17+00:00","dateModified":"2023-01-20T21:00:08+00:00","breadcrumb":{"@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-0-debian-8-jessie\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/orfeolibre.org\/inicio\/"},{"@type":"ListItem","position":2,"name":"Orfeo 5.0 &#8211; Debian 8 Jessie"}]},{"@type":"WebSite","@id":"https:\/\/orfeolibre.org\/inicio\/#website","url":"https:\/\/orfeolibre.org\/inicio\/","name":"Orfeo SGDEA - Gesti\u00f3n Documental","description":"Sistema de Gesti\u00f3n Documental de Archivo Electr\u00f3nico","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/orfeolibre.org\/inicio\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"}]}},"_links":{"self":[{"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/types\/knowledgebase"}],"author":[{"embeddable":true,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/comments?post=2542"}],"version-history":[{"count":2,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2542\/revisions"}],"predecessor-version":[{"id":2544,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2542\/revisions\/2544"}],"wp:attachment":[{"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/media?parent=2542"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase_cat?post=2542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}