Skip to content

v0.1.2 Build Recipe (Ubuntu 11.04)

msmathers edited this page Sep 23, 2011 · 1 revision

The following recipe was used to build a Log.io environment on a fresh Ubuntu 11.04 install, using node.js v0.4.9:

  1. Install node.js dependencies

    sudo apt-get install g++ sudo apt-get install make sudo apt-get install git sudo apt-get install libssl-dev

  2. Download, compile node.js source

    mkdir ~/downloads cd downloads wget "http://nodejs.org/dist/node-v0.4.9.tar.gz" tar -xzvf node-v0.4.9.tar.gz cd node-v0.4.9/ ./configure make sudo make install

  3. Install NPM

    curl http://npmjs.org/install.sh | sudo sh

  4. Install node.js packages

    sudo npm install -g [email protected] sudo npm install -g connect sudo npm install -g underscore

  5. Manually install Socket.io-node-client, revert submodule

    cd /usr/local/lib/node_modules/ sudo git clone git://github.com/msmathers/Socket.io-node-client.git cd Socket.io-node-client sudo git submodule update --init --recursive cd socket.io-node sudo git checkout 0.6.17

  6. Get Log.io source

    cd ~/downloads git clone git://github.com/NarrativeScience/Log.io.git log.io cd log.io/bin/

  7. Install server and/or harvester

    ./configure sudo ./install/server sudo ./install/harvester

  8. Launch harvester

    sudo /etc/init.d/log.io-harvester start