health-es
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Health-es] Resumen de Health-es, Vol 36, Envío 5


From: Luis González
Subject: Re: [Health-es] Resumen de Health-es, Vol 36, Envío 5
Date: Mon, 13 Apr 2015 08:50:26 -0430

Me faltó decir que he realizado varias instalaciones bajo CentOS 6.5 y
me ha ido mejor con Python sin virtualenv o parecidos.

Si te interesa, los comandos que ejecuto son los siguientes:
wget http://www.python.org/ftp/python/2.7.8/Python-2.7.8.tar.xz
tar xf Python-2.7*.tar.xz
cd Python-2.7*
./configure --prefix=/usr/local --enable-unicode=ucs4 --enable-shared
make
make altinstall
echo "/usr/local/lib" > /etc/ld.so.conf.d/python-alt.conf
ldconfig

# setuptools
wget https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
# Evita errores de certificados
sed -i "s:cmd = ['wget', url, '--quiet',:cmd = ['wget', url,
'--no-check-certificate', '--quiet',:g" ez_setup.py
python2.7 ez_setup.py

# PIP
easy_install-2.7 pip

El 13/4/15, Luis González <address@hidden> escribió:
> Carlos:
> Para instalar cracklib sobre el recién compilado Python 2.7, sólo
> tienes que ejecutar:
>
> pip2.7 install cracklib
>
> Espero sea de utilidad. Si algo no funciona, avisa.
>
> El 13/4/15, Luis Falcon <address@hidden> escribió:
>> Hola, Carlos !
>>
>> On Sun, 12 Apr 2015 22:43:49 +0100
>> Carlos Ibrahim Arias <address@hidden> wrote:
>>
>>> Hola,
>>>
>>> El problema bajo CentOS 6 es que funciona con python 2.6 y para que
>>> funcione gnu health hay que instalar python 2.7 desde source, y
>>> hacer  la instalación desde un entorno virtual con virtualenv. He
>>> implementado todos los pasos en mi script pero no consigo instalar
>>> cracklib para python 2.7.
>>>
>>> Puedo actualizarlo si alguien me da alguna pista sobre como arreglar
>>> el problema.
>>>
>>> En cualquier caso, CentOS 7 parece que funciona correctamente ; )
>>
>> En mi opinión, nos deberíamos centrar en la instalación sobre CentOS 7,
>> actualmente la última versión estable. Si están de acuerdo, podemos
>> añadir los detalles de la instalación para este Sistema Operativo enla
>> tabla [1]
>>
>> 1.-
>> https://en.wikibooks.org/wiki/GNU_Health/Installation#Installing_GNU_Health_on_GNU.2FLinux_and_FreeBSD
>>
>> Saludos
>> Luis
>>
>>>
>>> Saludos,
>>>
>>> Carlos
>>>
>>> > El 11/4/2015, a las 17:00, address@hidden escribió:
>>> >
>>> > Envíe los mensajes para la lista Health-es a
>>> >   address@hidden
>>> >
>>> > Para subscribirse o anular su subscripción a través de la WEB
>>> >   https://lists.gnu.org/mailman/listinfo/health-es
>>> >
>>> > O por correo electrónico, enviando un mensaje con el texto "help" en
>>> > el asunto (subject) o en el cuerpo a:
>>> >   address@hidden
>>> >
>>> > Puede contactar con el responsable de la lista escribiendo a:
>>> >   address@hidden
>>> >
>>> > Si responde a algún contenido de este mensaje, por favor, edite la
>>> > linea del asunto (subject) para que el texto sea mas especifico que:
>>> > "Re: Contents of Health-es digest...". Además, por favor, incluya en
>>> > la respuesta sólo aquellas partes del mensaje a las que está
>>> > respondiendo.
>>> >
>>> >
>>> > Asuntos del día:
>>> >
>>> >   1. Re: Resumen de Health-es, Vol 36, Envío 1 (Carlos Ibrahim
>>> > Arias) 2. Re: Resumen de Health-es, Vol 36, Envío 1 (Luis Falcon)
>>> >
>>> >
>>> > ----------------------------------------------------------------------
>>> >
>>> > Message: 1
>>> > Date: Fri, 10 Apr 2015 12:20:46 +0100
>>> > From: Carlos Ibrahim Arias <address@hidden>
>>> > To: address@hidden
>>> > Subject: Re: [Health-es] Resumen de Health-es, Vol 36, Envío 1
>>> > Message-ID:
>>> >   <address@hidden>
>>> > Content-Type: text/plain; charset="utf-8"
>>> >
>>> > He encontrado el problema. El archivo de configuración de
>>> > trytond.conf como apunta Luis debe configurarse como
>>> > uri = postgresql:// en vez de uri = postgresql://localhost:5432.
>>> >
>>> > He modificado el script
>>> > (https://bitbucket.org/carlos_ia/gnuhealth/) y funciona con CentOS
>>> > 7 y está casi operativo con CentOS 6, falla cuando el script de
>>> > instalación de gnuhealth solicita la contraseña del servidor por
>>> > algún problema con cracklib:
>>> >
>>> > [07:38:42][INFO] Setting up your GNU Health Tryton master server
>>> > password
>>> >
>>> > Cracklib not installed. Please install the library and try again
>>> >
>>> > Espero que les resulte útil.
>>> >
>>> > Saludos,
>>> >
>>> > Carlos
>>> >
>>> > El 7 de abril de 2015, 13:09, <address@hidden> escribió:
>>> >
>>> >> Envíe los mensajes para la lista Health-es a
>>> >>        address@hidden
>>> >>
>>> >> Para subscribirse o anular su subscripción a través de la WEB
>>> >>        https://lists.gnu.org/mailman/listinfo/health-es
>>> >>
>>> >> O por correo electrónico, enviando un mensaje con el texto "help"
>>> >> en el asunto (subject) o en el cuerpo a:
>>> >>        address@hidden
>>> >>
>>> >> Puede contactar con el responsable de la lista escribiendo a:
>>> >>        address@hidden
>>> >>
>>> >> Si responde a algún contenido de este mensaje, por favor, edite la
>>> >> linea del asunto (subject) para que el texto sea mas especifico
>>> >> que: "Re: Contents of Health-es digest...". Además, por favor,
>>> >> incluya en la respuesta sólo aquellas partes del mensaje a las que
>>> >> está respondiendo.
>>> >>
>>> >>
>>> >> Asuntos del día:
>>> >>
>>> >>   1. Problema instalación módulos en CentOS (Carlos Ibrahim Arias)
>>> >>
>>> >>
>>> >> ----------------------------------------------------------------------
>>> >>
>>> >> Message: 1
>>> >> Date: Tue, 7 Apr 2015 12:10:00 +0100
>>> >> From: Carlos Ibrahim Arias <address@hidden>
>>> >> To: address@hidden
>>> >> Subject: [Health-es] Problema instalación módulos en CentOS
>>> >> Message-ID:
>>> >>        <
>>> >> address@hidden>
>>> >> Content-Type: text/plain; charset="utf-8"
>>> >>
>>> >> Hola a todos,
>>> >>
>>> >> Lo primero es felicitar al equipo detrás de GNU Health por su
>>> >> excelente trabajo.
>>> >>
>>> >> Les escribo por que estoy teniendo problemas con la instalación de
>>> >> GNU Health en un equipo con CentOS 7. He creado un script de
>>> >> instalación siguiendo las indicaciones de la guía de GNU Health (
>>> >> http://en.wikibooks.org/wiki/GNU_Health/Installation) que he
>>> >> adaptado a CentOS. (Pueden acceder al script en
>>> >> https://bitbucket.org/carlos_ia/gnuhealth/).
>>> >>
>>> >> La instalación funciona perfectamente, se configuran el servidor
>>> >> con todos los paquetes y la base de datos sin ningún error, puedo
>>> >> crear la base de datos a través del cliente Tryton, pero siempre
>>> >> obtengo el error que se muestra en la siguiente imagen al iniciar
>>> >> el proceso de instalación de los módulos desde el cliente:
>>> >>
>>> >>
>>> >> ?
>>> >> Los errores que aparecen el registro son similares a los que les
>>> >> muestro a continuación:
>>> >> ....
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> WARNING:init:Unable to add foreign key on table
>>> >> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >> column create_uid of table gnuhealth_hp_specialty!
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> WARNING:init:Unable to remove not null on column create_date of
>>> >> table gnuhealth_hp_specialty!
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> WARNING:init:Unable to add foreign key on table
>>> >> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >> column name of table gnuhealth_hp_specialty!
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> WARNING:init:Unable to add foreign key on table
>>> >> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >> column specialty of table gnuhealth_hp_specialty!
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> WARNING:init:Unable to add foreign key on table
>>> >> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >> column write_uid of table gnuhealth_hp_specialty!
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> WARNING:init:Unable to remove not null on column write_date of
>>> >> table gnuhealth_hp_specialty!
>>> >> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >> INFO:modules:health:register gnuhealth.healthprofessional
>>> >> ....
>>> >>
>>> >> Parece que tiene algo que ver con la base de datos pero estoy
>>> >> perdido. ¿Alguna sugerencia?
>>> >>
>>> >> Gracias de antemano. Un saludo,
>>> >> --
>>> >> Carlos Ibrahim Arias
>>> >> *Consultor & Ingeniero en Informática*
>>> >> Braimtec - Smart IT
>>> >> ------------ próxima parte ------------
>>> >> Se ha borrado un adjunto en formato HTML...
>>> >> URL: <
>>> >> http://lists.gnu.org/archive/html/health-es/attachments/20150407/f06ee13e/attachment.html
>>> >>>
>>> >> ------------ próxima parte ------------
>>> >> A non-text attachment was scrubbed...
>>> >> Name: Image.png
>>> >> Type: image/png
>>> >> Size: 40955 bytes
>>> >> Desc: no disponible
>>> >> URL: <
>>> >> http://lists.gnu.org/archive/html/health-es/attachments/20150407/f06ee13e/attachment.png
>>> >>>
>>> >>
>>> >> ------------------------------
>>> >>
>>> >> _______________________________________________
>>> >> Health-es mailing list
>>> >> address@hidden
>>> >> https://lists.gnu.org/mailman/listinfo/health-es
>>> >>
>>> >>
>>> >> Fin de Resumen de Health-es, Vol 36, Envío 1
>>> >> ********************************************
>>> >>
>>> >
>>> >
>>> >
>>> > --
>>> > Carlos Ibrahim Arias
>>> > *Consultor & Ingeniero en Informática*
>>> > Braimtec - Smart IT
>>> > E: address@hidden
>>> > M: +34 600 457 497
>>> > ------------ próxima parte ------------
>>> > Se ha borrado un adjunto en formato HTML...
>>> > URL:
>>> > <http://lists.gnu.org/archive/html/health-es/attachments/20150410/3e35d868/attachment.html>
>>> >
>>> > ------------------------------
>>> >
>>> > Message: 2
>>> > Date: Fri, 10 Apr 2015 17:47:41 +0100
>>> > From: Luis Falcon <address@hidden>
>>> > To: Carlos Ibrahim Arias <address@hidden>
>>> > Cc: address@hidden
>>> > Subject: Re: [Health-es] Resumen de Health-es, Vol 36, Envío 1
>>> > Message-ID: <address@hidden>
>>> > Content-Type: text/plain; charset=UTF-8
>>> >
>>> > Gracias, Carlos !
>>> > On Fri, 10 Apr 2015 12:20:46 +0100
>>> > Carlos Ibrahim Arias <address@hidden> wrote:
>>> >
>>> >> He encontrado el problema. El archivo de configuración de
>>> >> trytond.conf como apunta Luis debe configurarse como
>>> >> uri = postgresql:// en vez de uri = postgresql://localhost:5432.
>>> >>
>>> > El valor predeterminado te debería funcionar igualmente, al menos
>>> > como TCP.
>>> >> He modificado el script
>>> >> (https://bitbucket.org/carlos_ia/gnuhealth/) y funciona con CentOS
>>> >> 7 y está casi operativo con CentOS 6, falla cuando el script de
>>> >> instalación de gnuhealth solicita la contraseña del servidor por
>>> >> algún problema con cracklib:
>>> >>
>>> >> [07:38:42][INFO] Setting up your GNU Health Tryton master server
>>> >> password
>>> >>
>>> >> Cracklib not installed. Please install the library and try again
>>> >>
>>> > Debes instalar cracklib y la la librería de python (py27-cracklib o
>>> > python2.7-cracklib, ... el nombre varía entre sistemas operativos )
>>> >
>>> >> Espero que les resulte útil.
>>> > Claro, muchas gracias ! Haremos las pruebas de instalación en
>>> > CentOS 7 y una vez verificado la instalación standard lo añadiremos
>>> > al manual [1]
>>> >
>>> > 1.-
>>> > https://en.wikibooks.org/wiki/GNU_Health/Installation#Operating_System_requirements
>>> >
>>> >>
>>> >> Saludos,
>>> >>
>>> >> Carlos
>>> >>
>>> >> El 7 de abril de 2015, 13:09, <address@hidden> escribió:
>>> >>
>>> >>> Envíe los mensajes para la lista Health-es a
>>> >>>        address@hidden
>>> >>>
>>> >>> Para subscribirse o anular su subscripción a través de la WEB
>>> >>>        https://lists.gnu.org/mailman/listinfo/health-es
>>> >>>
>>> >>> O por correo electrónico, enviando un mensaje con el texto "help"
>>> >>> en el asunto (subject) o en el cuerpo a:
>>> >>>        address@hidden
>>> >>>
>>> >>> Puede contactar con el responsable de la lista escribiendo a:
>>> >>>        address@hidden
>>> >>>
>>> >>> Si responde a algún contenido de este mensaje, por favor, edite la
>>> >>> linea del asunto (subject) para que el texto sea mas especifico
>>> >>> que: "Re: Contents of Health-es digest...". Además, por favor,
>>> >>> incluya en la respuesta sólo aquellas partes del mensaje a las
>>> >>> que está respondiendo.
>>> >>>
>>> >>>
>>> >>> Asuntos del día:
>>> >>>
>>> >>>   1. Problema instalación módulos en CentOS (Carlos Ibrahim Arias)
>>> >>>
>>> >>>
>>> >>> ----------------------------------------------------------------------
>>> >>>
>>> >>> Message: 1
>>> >>> Date: Tue, 7 Apr 2015 12:10:00 +0100
>>> >>> From: Carlos Ibrahim Arias <address@hidden>
>>> >>> To: address@hidden
>>> >>> Subject: [Health-es] Problema instalación módulos en CentOS
>>> >>> Message-ID:
>>> >>>        <
>>> >>> address@hidden>
>>> >>> Content-Type: text/plain; charset="utf-8"
>>> >>>
>>> >>> Hola a todos,
>>> >>>
>>> >>> Lo primero es felicitar al equipo detrás de GNU Health por su
>>> >>> excelente trabajo.
>>> >>>
>>> >>> Les escribo por que estoy teniendo problemas con la instalación de
>>> >>> GNU Health en un equipo con CentOS 7. He creado un script de
>>> >>> instalación siguiendo las indicaciones de la guía de GNU Health (
>>> >>> http://en.wikibooks.org/wiki/GNU_Health/Installation) que he
>>> >>> adaptado a CentOS. (Pueden acceder al script en
>>> >>> https://bitbucket.org/carlos_ia/gnuhealth/).
>>> >>>
>>> >>> La instalación funciona perfectamente, se configuran el servidor
>>> >>> con todos los paquetes y la base de datos sin ningún error, puedo
>>> >>> crear la base de datos a través del cliente Tryton, pero siempre
>>> >>> obtengo el error que se muestra en la siguiente imagen al iniciar
>>> >>> el proceso de instalación de los módulos desde el cliente:
>>> >>>
>>> >>>
>>> >>> ?
>>> >>> Los errores que aparecen el registro son similares a los que les
>>> >>> muestro a continuación:
>>> >>> ....
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> WARNING:init:Unable to add foreign key on table
>>> >>> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >>> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >>> column create_uid of table gnuhealth_hp_specialty!
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> WARNING:init:Unable to remove not null on column create_date of
>>> >>> table gnuhealth_hp_specialty!
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> WARNING:init:Unable to add foreign key on table
>>> >>> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >>> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >>> column name of table gnuhealth_hp_specialty!
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> WARNING:init:Unable to add foreign key on table
>>> >>> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >>> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >>> column specialty of table gnuhealth_hp_specialty!
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> WARNING:init:Unable to add foreign key on table
>>> >>> gnuhealth_hp_specialty! Apr  7 11:51:13 braimone gnuhealth: [Tue
>>> >>> Apr 07 10:51:13 2015] WARNING:init:Unable to remove not null on
>>> >>> column write_uid of table gnuhealth_hp_specialty!
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> WARNING:init:Unable to remove not null on column write_date of
>>> >>> table gnuhealth_hp_specialty!
>>> >>> Apr  7 11:51:13 braimone gnuhealth: [Tue Apr 07 10:51:13 2015]
>>> >>> INFO:modules:health:register gnuhealth.healthprofessional
>>> >>> ....
>>> >>>
>>> >>> Parece que tiene algo que ver con la base de datos pero estoy
>>> >>> perdido. ¿Alguna sugerencia?
>>> >>>
>>> >>> Gracias de antemano. Un saludo,
>>> >>> --
>>> >>> Carlos Ibrahim Arias
>>> >>> *Consultor & Ingeniero en Informática*
>>> >>> Braimtec - Smart IT
>>> >>> ------------ próxima parte ------------
>>> >>> Se ha borrado un adjunto en formato HTML...
>>> >>> URL: <
>>> >>> http://lists.gnu.org/archive/html/health-es/attachments/20150407/f06ee13e/attachment.html
>>> >>>>
>>> >>> ------------ próxima parte ------------
>>> >>> A non-text attachment was scrubbed...
>>> >>> Name: Image.png
>>> >>> Type: image/png
>>> >>> Size: 40955 bytes
>>> >>> Desc: no disponible
>>> >>> URL: <
>>> >>> http://lists.gnu.org/archive/html/health-es/attachments/20150407/f06ee13e/attachment.png
>>> >>>>
>>> >>>
>>> >>> ------------------------------
>>> >>>
>>> >>> _______________________________________________
>>> >>> Health-es mailing list
>>> >>> address@hidden
>>> >>> https://lists.gnu.org/mailman/listinfo/health-es
>>> >>>
>>> >>>
>>> >>> Fin de Resumen de Health-es, Vol 36, Envío 1
>>> >>> ********************************************
>>> >>>
>>> >>
>>> >>
>>> >>
>>> >
>>> >
>>> >
>>> >
>>> > ------------------------------
>>> >
>>> > _______________________________________________
>>> > Health-es mailing list
>>> > address@hidden
>>> > https://lists.gnu.org/mailman/listinfo/health-es
>>> >
>>> >
>>> > Fin de Resumen de Health-es, Vol 36, Envío 5
>>> > ********************************************
>>>
>>>
>>
>>
>>
>
>
> --
> Salu2
> Luis F. González V.
>


-- 
Salu2
Luis F. González V.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]