{"id":2538,"date":"2023-01-20T20:56:06","date_gmt":"2023-01-20T20:56:06","guid":{"rendered":"https:\/\/orfeolibre.org\/inicio\/?post_type=knowledgebase&#038;p=2538"},"modified":"2023-01-20T20:57:34","modified_gmt":"2023-01-20T20:57:34","slug":"orfeo-4-0-debian-7-wheezy","status":"publish","type":"knowledgebase","link":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/","title":{"rendered":"Orfeo 4.0 &#8211; Debian 7 Wheezy"},"content":{"rendered":"<h2>Descripci\u00f3n<\/h2>\n<p>Esto es un howto .. montando el ulitmo orfeo .. como 4.4 en Debian 7<\/p>\n<h2>Prerequistos<\/h2>\n<p>Un Debian andando .. quiza mejor un Kuine<\/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<\/p>\n<h3>2. Downgrade php<\/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 \/>\ndeb 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>This will list your PHP packages<\/p>\n<p>PHP=$(dpkg -l|grep php|grep 5.4.4|awk &#8216;{print $2}&#8217;)<\/p>\n<ul>\n<li>Finally, reinstall:<\/li>\n<\/ul>\n<p># apt-get update<\/p>\n<p># apt-get install &#8211;reinstall $PHP<br \/>\nReading package lists&#8230; Done<br \/>\nBuilding dependency tree<br \/>\nReading state information&#8230; Done<br \/>\nThe following extra packages will be installed:<br \/>\nlibicu44 libjpeg62 libmagickcore3 libmagickwand3 libmysqlclient16 libt1-5 php5-suhosin<br \/>\nSuggested packages:<br \/>\nlibmagickcore3-extra php5-dev<br \/>\nThe following NEW packages will be installed:<br \/>\nlibicu44 libjpeg62 libmagickcore3 libmagickwand3 libmysqlclient16 libt1-5 php5-suhosin<br \/>\nThe following packages will be DOWNGRADED:<br \/>\nlibapache2-mod-php5 php-apc php-pear php5 php5-cgi php5-cli php5-common php5-curl php5-gd php5-imagick php5-imap php5-intl php5-mcrypt php5-mysql<br \/>\n0 upgraded, 7 newly installed, 4 reinstalled, 14 downgraded, 0 to remove and 0 not upgraded.<br \/>\nNeed to get 30.5 MB of archives.<br \/>\nAfter this operation, 30.9 MB of additional disk space will be used.<br \/>\nDo you want to continue [Y\/n]?<\/p>\n<h2><\/h2>\n<h3>3. Copie los fuentes en \/var\/www\/<\/h3>\n<p>tar xvjf orfeo.tbz2<\/p>\n<p>OJO con los permisos de la bodega<\/p>\n<p>chown -R www-data:www-data\u00a0 bodega<\/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<h2>\n<p>Trucos<\/h2>\n<h2>Problemas<\/h2>\n<h3>1. Si el instale_mrtg.sh no le funciona<\/h3>\n<p>&#8211;<\/p>\n<h2>Referencias<\/h2>\n<p>&#8211;<\/p>\n<p>FIN<\/p>\n<hr \/>\n<div><u><strong>Advertencia<\/strong><\/u><\/div>\n<p>Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorizaci\u00f3n escrita es contra la ley de derechos de autor y de propiedad intelectual, y ser\u00e1 motivo de una acci\u00f3n legal.<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>==============================================================<\/p>\n<p>15-Marzo-2006 J.E.Gomez v1.0 Primera version<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Descripci\u00f3n Esto es un howto .. montando el ulitmo orfeo .. como 4.4 en Debian 7 Prerequistos Un Debian andando .. quiza mejor un Kuine Instalaci\u00f3n Un Debian base Configuraci\u00f3n 1. Instale dependencias Como solemos [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[35],"class_list":["post-2538","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 4.0 - Debian 7 Wheezy - 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-4-0-debian-7-wheezy\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Orfeo 4.0 - Debian 7 Wheezy - Orfeo SGDEA - Gesti\u00f3n Documental\" \/>\n<meta property=\"og:description\" content=\"Descripci\u00f3n Esto es un howto .. montando el ulitmo orfeo .. como 4.4 en Debian 7 Prerequistos Un Debian andando .. quiza mejor un Kuine Instalaci\u00f3n Un Debian base Configuraci\u00f3n 1. Instale dependencias Como solemos [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/\" \/>\n<meta property=\"og:site_name\" content=\"Orfeo SGDEA - Gesti\u00f3n Documental\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T20:57:34+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-4-0-debian-7-wheezy\/\",\"url\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/\",\"name\":\"Orfeo 4.0 - Debian 7 Wheezy - Orfeo SGDEA - Gesti\u00f3n Documental\",\"isPartOf\":{\"@id\":\"https:\/\/orfeolibre.org\/inicio\/#website\"},\"datePublished\":\"2023-01-20T20:56:06+00:00\",\"dateModified\":\"2023-01-20T20:57:34+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\/\/orfeolibre.org\/inicio\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orfeo 4.0 &#8211; Debian 7 Wheezy\"}]},{\"@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 4.0 - Debian 7 Wheezy - 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-4-0-debian-7-wheezy\/","og_locale":"es_ES","og_type":"article","og_title":"Orfeo 4.0 - Debian 7 Wheezy - Orfeo SGDEA - Gesti\u00f3n Documental","og_description":"Descripci\u00f3n Esto es un howto .. montando el ulitmo orfeo .. como 4.4 en Debian 7 Prerequistos Un Debian andando .. quiza mejor un Kuine Instalaci\u00f3n Un Debian base Configuraci\u00f3n 1. Instale dependencias Como solemos [&hellip;]","og_url":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/","og_site_name":"Orfeo SGDEA - Gesti\u00f3n Documental","article_modified_time":"2023-01-20T20:57:34+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-4-0-debian-7-wheezy\/","url":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/","name":"Orfeo 4.0 - Debian 7 Wheezy - Orfeo SGDEA - Gesti\u00f3n Documental","isPartOf":{"@id":"https:\/\/orfeolibre.org\/inicio\/#website"},"datePublished":"2023-01-20T20:56:06+00:00","dateModified":"2023-01-20T20:57:34+00:00","breadcrumb":{"@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-4-0-debian-7-wheezy\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/orfeolibre.org\/inicio\/"},{"@type":"ListItem","position":2,"name":"Orfeo 4.0 &#8211; Debian 7 Wheezy"}]},{"@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\/2538","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=2538"}],"version-history":[{"count":3,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2538\/revisions"}],"predecessor-version":[{"id":2541,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2538\/revisions\/2541"}],"wp:attachment":[{"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/media?parent=2538"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase_cat?post=2538"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}