Skip to content

Instantly share code, notes, and snippets.

@devilankur18
Created September 5, 2012 08:30
Show Gist options
  • Save devilankur18/3633312 to your computer and use it in GitHub Desktop.
Save devilankur18/3633312 to your computer and use it in GitHub Desktop.
Install Mongrel2 on Ubuntu 12.04 64 bit

Install ZeroMQ

wget https://github.com/zeromq/zeromq2-x/zipball/v2.1.7
unzip v2.1.7
cd zeromq-zeromq2-x-f05ff4d

Install dependencies

sudo apt-get install uuid-dev

Generate the config files

./autogen.sh 
./configure --prefix=/usr/local/lib && make
sudo make install 

Update Bashrc

export LD_LIBRARY_PATH=/usr/local/lib

Install sqlite3

sudo apt-get install sqlite3

Install Mongrel2

wget http://mongrel2.org/static/downloads/mongrel2-1.7.5.tar.bz2
tar -xjvf mongrel2-1.7.5.tar.bz2
cd mongrel2-1.7.5/

sudo apt-get install libzmq-dev
sudo make clean all && sudo make install

References:

@Olathe
Copy link

Olathe commented Feb 20, 2013

Thank you for this guide :)

For those who come along after, it needs sudo apt-get install libsqlite3-dev as well.

@Samrg
Copy link

Samrg commented Jun 6, 2014

Thanks @Olathe it is really helpful. above libsqlite3-dev saved my time :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment