{"id":2553,"date":"2023-01-20T21:07:51","date_gmt":"2023-01-20T21:07:51","guid":{"rendered":"https:\/\/orfeolibre.org\/inicio\/?post_type=knowledgebase&#038;p=2553"},"modified":"2023-01-20T21:07:51","modified_gmt":"2023-01-20T21:07:51","slug":"orfeo-5-x-con-centos-7","status":"publish","type":"knowledgebase","link":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/","title":{"rendered":"Orfeo 5.x con CentOS 7"},"content":{"rendered":"<h2>Descripci\u00f3n<\/h2>\n<p>El proceso de instalacion de Orfeo 5.5 sobre un CentOS<a href=\"https:\/\/guadalupe.skinatech.com\/egroupware\/index.php?menuaction=wiki.wiki_ui.edit&amp;page=CentOS\">?<\/a> 7 (vale tambien para RedHat<a href=\"https:\/\/guadalupe.skinatech.com\/egroupware\/index.php?menuaction=wiki.wiki_ui.edit&amp;page=RedHat\">?<\/a>\u00a0 o Scientific Linux)<\/p>\n<h2>Prerequistos<\/h2>\n<p>PHP 5.4\u00a0\u00a0 y quite el selinux ..y pongalo en disabled o le va\u00a0 a fregar<\/p>\n<h2>Instalaci\u00f3n<\/h2>\n<h3>1.\u00a0 Preparo el sistema<\/h3>\n<p>Arrancamos con una configuracion MINIMA de Centos con acceso ssh y actualizado<br \/>\n$&gt;\u00a0yum -y update<br \/>\n$&gt;\u00a0yum -y install net-tools bzip2 nmap pwgen lynx<\/p>\n<p>&#8211; Agregamos el repositorio de EPEL y REMI que tiene miles de cosas que hace falta<\/p>\n<p>$&gt;\u00a0rpm -Uvh\u00a0 \u00a0 <a href=\"https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm\" target=\"_blank\" rel=\"noopener\">https:\/\/dl.fedoraproject.org\/pub\/epel\/epel-release-latest-7.noarch.rpm<\/a><br \/>\n$&gt; rpm -Uvh\u00a0\u00a0 <a href=\"http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm\" target=\"_blank\" rel=\"noopener\">http:\/\/rpms.famillecollet.com\/enterprise\/remi-release-7.rpm<\/a><\/p>\n<p>Edite el archivo \/etc\/yum.repos.d\/remi-php54.repo\u00a0 y ponga enable=1<\/p>\n<p>$&gt;\u00a0yum -y update<\/p>\n<h3>2. Configure el firewall antes que todo<\/h3>\n<p>Averigue las zonas<\/p>\n<p>$&gt; firewall-cmd &#8211;get-active-zones<\/p>\n<p>Averigue que servicios tiene<\/p>\n<p>$&gt; firewall-cmd &#8211;zone=public &#8211;list-all<\/p>\n<p>Agregue los que necesitamos<\/p>\n<p>$&gt; firewall-cmd &#8211;zone=public &#8211;permanent &#8211;add-service=http<br \/>\n$&gt; firewall-cmd &#8211;zone=public &#8211;permanent &#8211;add-service=https<br \/>\n$&gt; firewall-cmd &#8211;zone=public &#8211;permanent &#8211;add-port=2222\/tcp<br \/>\n$&gt; firewall-cmd &#8211;reload<\/p>\n<h3>3. Apache y PHP<\/h3>\n<p>$&gt;\u00a0yum install php httpd mod_ssl<br \/>\n$&gt; systemctl enable httpd<\/p>\n<p>Por defecto Centos 7 monta php5.4 . si quiere cambiar a otro . .siga este howto <a href=\"https:\/\/computingforgeeks.com\/how-to-install-php-7-3-on-centos-7-fedora\/\" target=\"_blank\" rel=\"noopener\">https:\/\/computingforgeeks.com\/how-to-install-php-7-3-on-centos-7-fedora\/<\/a><\/p>\n<p>Ahora siga<\/p>\n<p>$&gt;\u00a0yum -y install php-cgi php-gd php-imap php-ldap php-mcrypt php-ldap php-intl php-xmlrpc php-xsl php-pgsql php-mysql php-rrd php-soap php-http php-pear-XML-Parser php-pear-Auth-SASL\u00a0 php-pear-Net-SMTP<br \/>\n$&gt; yum -y install php-pear-Net-Socket php-pear-Date php-pear-File php-pear-Log php-pear-Mail php-pear-Mail-Mime\u00a0 php-mbstring php-pear-Net-LDAP2 php-pear-Text-CAPTCHA php-pear-Validate<br \/>\n$&gt; yum -y install\u00a0 php-pear-XML-RPC php-pear-XML-RPC2\u00a0 php-pear-HTTP-Request php-pear-XML-RSS php-mssql php-adodb php-pspell<br \/>\n$&gt; yum -y install\u00a0 zip unzip lynx<br \/>\n$&gt; yum -y install unoconv poppler-utils<\/p>\n<p>Solo de desparche ponga un phpinfo() en el \/var\/www\/html para que certifique que funciona<\/p>\n<h3>4. <a class=\"wiki\" href=\"https:\/\/guadalupe.skinatech.com\/egroupware\/index.php?menuaction=wiki.wiki_ui.view&amp;page=PostgreSQL\">PostgreSQL<\/a><\/h3>\n<p>El siguiente pedazo es instalar postgres .. en esencia no es mucho solo haga<\/p>\n<p>$&gt; yum -y install postgresql-server perl-DBD-Pg pg_top phpPgAdmin<br \/>\n$&gt; systemctl enable postgresql<br \/>\n$&gt; postgresql-setup initdb<br \/>\n$&gt; chmod 777 \/tmp<br \/>\n$&gt; chmod +t \/tmp<\/p>\n<p>Pero para poderlo ver debe cambiar la configuracion en \/etc\/httpd\/conf.d\/phpPgAdmin.conf y cambiar <em>Require local<\/em> por <em>Require all granted<\/em> y ya puede hacer <a href=\"http:\/\/direccion\/phpPgAdmin\" target=\"_blank\" rel=\"noopener\">http:\/\/direccion\/phpPgAdmin<\/a><\/p>\n<p>Ahora siga el howto de <a class=\"wiki\" href=\"https:\/\/guadalupe.skinatech.com\/egroupware\/index.php?menuaction=wiki.wiki_ui.view&amp;page=PostgreSQL\">PostgreSQL<\/a> para crear el usuario\u00a0 orfeo_usr\u00a0 y la base de datos orfeo_odb.\u00a0 No de acceso remoto, ya no es necesario<\/p>\n<p>En \/var\/lib\/pgsql\/data\/pg_hba.conf comente la linea de IPV6 y cambien el ident por md5 para que puede conectarse contrase\u00f1a<\/p>\n<h3>5. El servicio de unoconv<\/h3>\n<p>Se necesita este servicio corriendo para la conversion de documentos.\u00a0 Esto se puede hacer de varias formas pero la mas elegante es convertirlo en servicio siguiendo<br \/>\n<a href=\"https:\/\/docs.moodle.org\/all\/es\/Universal_Office_Converter_(unoconv)\"><br \/>\n<\/a><a href=\"https:\/\/docs.moodle.org\/all\/es\/Universal_Office_Converter_(unoconv\" target=\"_blank\" rel=\"noopener\">https:\/\/docs.moodle.org\/all\/es\/Universal_Office_Converter_(unoconv<\/a>)<\/p>\n<p>O a lo machaco .. ponerlo en el \/etc\/rc.local .<\/p>\n<p>$&gt; unoconv &#8211;listener &amp;<\/p>\n<h4>OJO unoconv necesta los fuentes.<\/h4>\n<p>Copiese el directorio de Skina de ftp\/pub\/linux\/downloads\/escritorio\/fonts\/skina a \/usr\/share\/fonts<\/p>\n<h3>6. El usuario ftporfeo para skinascan<\/h3>\n<p>OJO debe ser grupo primario apache<\/p>\n<h2>Configuraci\u00f3n<\/h2>\n<h3>1. Configure php<\/h3>\n<p>Asegure que en \/etc\/php.ini\u00a0 este<br \/>\nshort_open_tag = On<\/p>\n<p>Asegure que apache tiene \/etc\/httpd\/conf\/httpd.conf<br \/>\nReinicie apache\u00a0\u00a0 $&gt; service httpd restart<\/p>\n<h3>2. Montar Orfeo<\/h3>\n<p>Descomprima el tar.gz de la ultima version estable en en \/var\/ww\/html. En el ultimo estandar se esta colocando orfeo-5.8\u00a0 como directorio<\/p>\n<h4>2.1 Archivo de configuracion<\/h4>\n<p>Copie config.php-dist\u00a0\u00a0 config.php y editelo con los parametros adecuado (suele ser en principio la contrase\u00f1a del la BD ).<\/p>\n<h4>2.2 Cree la estructura del la BD\u00a0 ..<\/h4>\n<p>$&gt;\u00a0 su -c \u00ab\/usr\/bin\/psql -q orfeo_odb &lt; $dir_instala\/instalacion\/sql\/create_db_postgres.sql\u00bb\u00a0 postgres<\/p>\n<h4>2.3 Archivo de configuracion de Apache<\/h4>\n<p>cp orfeo\/instalacion\/orfeo.apache \/etc\/httpd\/conf.d\/orfeo.conf<\/p>\n<p>Corrijalo por si tiene algun cambio ..\u00a0 como orfeo-5.8<\/p>\n<h4>2.4 Archivo de cron (tareas recurrentes)<\/h4>\n<p>cp orfeo\/instalacion\/orfeo.crontab \/etc\/cron.d\/orfeo<\/p>\n<h4>2.5 Asegure los permisos de la bodega<\/h4>\n<p>chown apache:apache bodega include\/tcpdf\/cache tmp<\/p>\n<p><a href=\"http:\/\/direccion\/orfeo\/instalacion\/carpeta_bodega.php?anoCrear=2019\" target=\"_blank\" rel=\"noopener\">http:\/\/direccion\/orfeo\/instalacion\/carpeta_bodega.php?anoCrear=2019<\/a><\/p>\n<p>Y\u00a0LISTO ..de este lado<\/p>\n<h2>Trucos<\/h2>\n<h3>1. Asegure phpPgAdmin<\/h3>\n<p>No es bueno dejarlo al publico, toca limitarlo a algo como<\/p>\n<p>Require ip 192.168.8.0\/24<br \/>\nRequire host 10.11.11.1<\/p>\n<h2>Problemas<\/h2>\n<h3>1. No me conecta ni phpPgAdmin ni Orfeo<\/h3>\n<p>Seguro es SELINUX. Tiene que darle<\/p>\n<p>setsebool -P httpd_can_network_connect_db on<\/p>\n<p>Y ahi debe funcionar<\/p>\n<p>Ojo que phpPgAdmin sufre de lo mismo. El server debe ser 127.0.0.1 .. ..por socket nolo logra<\/p>\n<h3>2. no consigo php-pspell<\/h3>\n<p>En algunas instalaciones no se deja usar pspell ..\u00a0 .. entonces toca bajarlo de Centos ..<\/p>\n<p>$&gt;\u00a0wget <a href=\"ftp:\/\/ftp.pbone.net\/mirror\/ftp.centos.org\/7.5.1804\/os\/x86_64\/Packages\/aspell-0.60.6.1-9.el7.x86_64.rpm\" target=\"_blank\" rel=\"noopener\">ftp:\/\/ftp.pbone.net\/mirror\/ftp.centos.org\/7.5.1804\/os\/x86_64\/Packages\/aspell-0.60.6.1-9.el7.x86_64.rpm<\/a><\/p>\n<p>Si no esta ahi busquelo en <a href=\"http:\/\/rpm.pbone.net\/index.php3?stat=26&amp;dist=94&amp;size=701952&amp;name=aspell-0.60.6.1-9.el7.x86_64.rpm\" target=\"_blank\" rel=\"noopener\">http:\/\/rpm.pbone.net\/index.php3?stat=26&amp;dist=94&amp;size=701952&amp;name=aspell-0.60.6.1-9.el7.x86_64.rpm<\/a><\/p>\n<p>$&gt; yum -y install php-pspell<\/p>\n<p>Me falta conseguir<\/p>\n<p>php-net-nntp<\/p>\n<h3>3. Unoconv se me esta muriendo<\/h3>\n<p>He optado por poner en algunos caso monit para que lo mantenga arriba<\/p>\n<p>check process unoconv<br \/>\nmatching \u00abunoconv\u00bb<br \/>\nstart program = \u00ab\/bin\/systemctl start unoconv.service\u00bb<br \/>\nstop program = \u00ab\/bin\/systemctl stop unoconv.service\u00bb<\/p>\n<p>&#8211;<\/p>\n<h2>Referencias<\/h2>\n<p>&#8211;<\/p>\n<p>FIN<\/p>\n<hr \/>\n","protected":false},"excerpt":{"rendered":"<p>Descripci\u00f3n El proceso de instalacion de Orfeo 5.5 sobre un CentOS? 7 (vale tambien para RedHat?\u00a0 o Scientific Linux) Prerequistos PHP 5.4\u00a0\u00a0 y quite el selinux ..y pongalo en disabled o le va\u00a0 a fregar [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","template":"","knowledgebase_cat":[35],"class_list":["post-2553","knowledgebase","type-knowledgebase","status-publish","hentry","knowledgebase_cat-guias-instalacion-orfeo6"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Orfeo 5.x con CentOS 7 - 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-x-con-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Orfeo 5.x con CentOS 7 - Orfeo SGDEA - Gesti\u00f3n Documental\" \/>\n<meta property=\"og:description\" content=\"Descripci\u00f3n El proceso de instalacion de Orfeo 5.5 sobre un CentOS? 7 (vale tambien para RedHat?\u00a0 o Scientific Linux) Prerequistos PHP 5.4\u00a0\u00a0 y quite el selinux ..y pongalo en disabled o le va\u00a0 a fregar [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Orfeo SGDEA - Gesti\u00f3n Documental\" \/>\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=\"4 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-x-con-centos-7\\\/\",\"url\":\"https:\\\/\\\/orfeolibre.org\\\/inicio\\\/documentacion-orfeo\\\/documentacion-orfeo6\\\/guias-instalacion-orfeo6\\\/orfeo-5-x-con-centos-7\\\/\",\"name\":\"Orfeo 5.x con CentOS 7 - Orfeo SGDEA - Gesti\u00f3n Documental\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/orfeolibre.org\\\/inicio\\\/#website\"},\"datePublished\":\"2023-01-20T21:07:51+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/orfeolibre.org\\\/inicio\\\/documentacion-orfeo\\\/documentacion-orfeo6\\\/guias-instalacion-orfeo6\\\/orfeo-5-x-con-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/orfeolibre.org\\\/inicio\\\/documentacion-orfeo\\\/documentacion-orfeo6\\\/guias-instalacion-orfeo6\\\/orfeo-5-x-con-centos-7\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/orfeolibre.org\\\/inicio\\\/documentacion-orfeo\\\/documentacion-orfeo6\\\/guias-instalacion-orfeo6\\\/orfeo-5-x-con-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Portada\",\"item\":\"https:\\\/\\\/orfeolibre.org\\\/inicio\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Orfeo 5.x con CentOS 7\"}]},{\"@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.x con CentOS 7 - 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-x-con-centos-7\/","og_locale":"es_ES","og_type":"article","og_title":"Orfeo 5.x con CentOS 7 - Orfeo SGDEA - Gesti\u00f3n Documental","og_description":"Descripci\u00f3n El proceso de instalacion de Orfeo 5.5 sobre un CentOS? 7 (vale tambien para RedHat?\u00a0 o Scientific Linux) Prerequistos PHP 5.4\u00a0\u00a0 y quite el selinux ..y pongalo en disabled o le va\u00a0 a fregar [&hellip;]","og_url":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/","og_site_name":"Orfeo SGDEA - Gesti\u00f3n Documental","twitter_card":"summary_large_image","twitter_misc":{"Tiempo de lectura":"4 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/","url":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/","name":"Orfeo 5.x con CentOS 7 - Orfeo SGDEA - Gesti\u00f3n Documental","isPartOf":{"@id":"https:\/\/orfeolibre.org\/inicio\/#website"},"datePublished":"2023-01-20T21:07:51+00:00","breadcrumb":{"@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/orfeolibre.org\/inicio\/documentacion-orfeo\/documentacion-orfeo6\/guias-instalacion-orfeo6\/orfeo-5-x-con-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Portada","item":"https:\/\/orfeolibre.org\/inicio\/"},{"@type":"ListItem","position":2,"name":"Orfeo 5.x con CentOS 7"}]},{"@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\/2553","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=2553"}],"version-history":[{"count":1,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2553\/revisions"}],"predecessor-version":[{"id":2554,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase\/2553\/revisions\/2554"}],"wp:attachment":[{"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/media?parent=2553"}],"wp:term":[{"taxonomy":"knowledgebase_cat","embeddable":true,"href":"https:\/\/orfeolibre.org\/inicio\/wp-json\/wp\/v2\/knowledgebase_cat?post=2553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}