por Marcio Galli, www.telasocial.com
Fevereiro, 7, 2012
Documentação de requisitos básicos de software no Debain , para instalação do TelaSocial Mediator, que trata-se de componente baseado em NodeJS que faz função de web server e middleware para aquisição de feeds como RSS, JSON, ATOM e manutenção destes no disco assim como função de servir estes canais.
A versão testada, download Debian, foi versão 6.0.4 referida como “stable release” em debian.org:
http://cdimage.debian.org/debian-cd/6.0.4/i386/iso-cd/
Foi utilizada a versão “network install”
Tipo: Server basic SSH ( and default tools ) sem interface gráfica
apt-get install git
Em geral, para o TelaSocial Mediator:
( https://github.com/taboca/TelaSocial-Mediator )
git clone https://github.com/taboca/TelaSocial-Mediator.git
NodeJS
( https://github.com/joyent/node/wiki/Installation )
apt-get install libssl-dev
apt-get install build-essential
Faça download de uma versão estável:
( se usar git clone https://github.com/joyent/node.git saiba dos riscos )
Download em 0.6.1 OK testado com forever e xml2js
./configure
make
make install
CURL Installation
apt-get install curl
NPM Installation ( http://npmjs.org/ )
curl http://npmjs.org/install.sh | sh
Forever Installation ( http://www.telasocial.com/p/d/nodejs/forever.html )
npm install forever
xml2js installation ( https://github.com/Leonidas-from-XIV/node-xml2js )
npm install xml2js