Usted está aquí: Inicio Páginas personales Joaquín Blog Instalando Plone 4.1, usando buildout, en Ubuntu 11.04

Instalando Plone 4.1, usando buildout, en Ubuntu 11.04

Primero, se instalan las dependencias que requiere Ubuntu

 

sudo apt-get install build-essential libssl-dev libxml2-dev libbz2-dev libxslt1.1 libxslt1-dev libreadline5-dev

http://plone.org/documentation/manual/installing-plone/installing-on-linux-unix-bsd/debian-libraries

sudo apt-get install python2.6 python2.6-dev
sudo
apt-get install libjpeg62 libjpeg8-dev zlib1g-dev libfreetype6 libfreetype6-dev

http://www.eddiewelker.com/2010/03/31/installing-pil-virtualenv-ubuntu/

http://play.pixelblaster.ro/blog/archive/2011/05/01/building-pil-with-jpeg-support-on-ubuntu-11.04

 

Hecho eso, se instalan las dependencias de python (v2.6)

 

sudo wget http://python-distribute.org/distribute_setup.py
sudo python distribute_setup.py
sudo easy_install pip
sudo easy_install virtualenv

 

Preparando el entorno virtual de python

Ahora si, se puede crear el entorno virtual de python para ejecutar nuestro buildout.

Este paso es opcional, pero altamente recomendable, ya que los paquetes de python que se instalen dentro del entorno virtual no se mezclan con aquellos paquetes de python que usa el sistema operativo.

Lo que se hace es ir a la carpeta donde crearemos nuestro entorno (Ej:  cd /home/<USUARIO>/src), escribiendo:

virtualenv -p python2.6 --no-site-packages --distribute <NOMBRE_DIR>

donde <NOMBRE_DIR> es el nombre de la carpeta que se creará para nuestro entorno (Ej: virtualenv -p python2.6 --no-site-packages --distribute miportal)

 

Instalando nuestro buildout

Activando nuestro entorno virtual

Nuestro entorno virtual necesita ser activado para poder instalar nuestro buildout.

cd <NOMBRE_DIR>
source ./bin/activate

NOTA: no es necesario activar el entorno virtual despues de esto, a menos que uno sepa lo que hace.

 

Descargamos nuestro buildout de github

git clone <URL de GITHUB>

Accedemos al directorio del buildout y ejecutamos bootstrap

cd <BUILDOUT_DIR>
python ./bootstrap.py

Hecho esto, podemos desactivar el entorno

deactivate

Finalmente, ejecutamos el buildout

./bin/buildout -v

o bien, si tenemos un archivo de producción:

./bin/buildout -vc production.cfg
Rakesh
Rakesh dice:
18/02/2012 08:10
Si, es spreime recomendable pero como ves pongo lo de deshabilitarlo para particiones FAT32 sobre todo, ya que por defecto spreime se verifican y es algo que ralentiza muchisimo el arranque.
Virendra
Virendra dice:
18/02/2012 11:24
non rciseo a entrare come gdm per messaggio spazio insufficente per login utentecosa bisogna fare ,tramite root ho eliminato alcuni files ma il problema rimane
Rodrigo
Rodrigo dice:
18/02/2012 20:31
I stdeiud what you did and said, rewrote the array function, and it worked! I guess I still have a lot to learn re Obj c. Only continued study will fix that. If you're ever in Albuquerque let me know and I'll buy you a beer!Don
bdgxcr
bdgxcr dice:
19/02/2012 03:48
Deborah
Deborah dice:
21/02/2012 00:29
Very nice, Doug I'll add a cpluoe of points:Yes, the lightning talks on Saturday were lame and boring. I don't particularly care who's fault that was, so please feel free to blame me I'm wearing my flameproof pants. Point is it was a mistake and will be fixed next year. Did anyone attend Sunday's talks? I thought they were *much* better.Yes, I too thought the quality of the talks were subpar. Again, I blame myself and will be on the program committee for 2009 if the organizers will have me.Finally.If you didn't like something about how this year worked, volunteer to help out next year or shut the fuck up. Thank you.[Doug, feel free to edit for language if you so choose.]
Agregar un Comentario

You can add a comment by filling out the form below. Plain text formatting. Web and email addresses are transformed into clickable links.