Entradas

Mostrando las entradas de diciembre, 2016

Odoo 10 en Debian Jessie en ambiente de desarrollo

* Descargar Odoo: Hacer clone del repositorio (https://github.com/odoo/odoo) ó descargar el zip (de la rama 10.0) y descomprimen en: /opt/odoo-10.0/ * Instalar las dependencias: $ sudo apt-get install bzr bzrtools python python-egenix-mxdatetime python-dateutil python-pybabel python-openid \ python-feedparser python-lxml python-libxml2 python-libxslt1 python-psycopg2 python-libxml2 python-libxslt1 \ python-imaging python-gdata python-ldap python-reportlab python-pyparsing python-simplejson python-pydot python-webdav \ graphviz python-werkzeug python-matplotlib python-vatnumber python-numpy python-pychart python-vobject python-zsi \ python-xlwt python-hippocanvas python-profiler python-dev python-setuptools postgresql postgresql-client-common \ python-yaml python-mako gcc mc python-babel python-feedparser python-reportlab-accel python-zsi python-openssl \ python-jinja2 python-unittest2 python-mock  python-docutils lptools make python-psutil python-paramiko popple...

Hablitar o inhabilitar los core de un CPU en tiempo de ejecución en GNU/Linux

Este POST para usuarios experimentados en GNU/Linux, que saben lo que están haciendo, o que quieran aprender. Si están aprendiendo, no usen una computadora importante para hacer este tipo de pruebas. Advertidos!. Actualmente, GNU/Linux permite habilitar o inhabilitar los core del CPU en tiempo de ejecución (dinámicamente). La forma de hacerlo es la siguiente: Yo tengo 4 cores. Para ver cuantos tienes, ejecuta lsusb. Para Inhabilitar (El core cpu0, nunca se puede inhabilitar):    # echo 0 > /sys/devices/system/cpu/cpu4/online Para Habilitar:    # echo 1 > /sys/devices/system/cpu/cpu4/online Nota: Esto me salvó de cambiar de CPU, porque Linux se estaba comportando errático al detectar los CPUs, pero al usar esto para habilitarlos, no hubo más problemas. Fuente: https://www.cyberciti.biz/faq/debian-rhel-centos-redhat-suse-hotplug-cpu/