-
Notifications
You must be signed in to change notification settings - Fork 0
Install
simple10 edited this page Feb 20, 2013
·
8 revisions
Requirements
- Erlang R15B03 – for core framework components
- Postgres 9.1+ with hstore extension – for CloudStore
- Node.JS – (optional) for tests and compiling JavaScript client libaries
OSX
brew install erlang
brew install postgres
brew install nodejs
Debian 6 (Squeeze)
- Install Erlang R15B03 manually
- Add backports to apt-get sources
- Install Node.js and packages...
# install node.js
sudo apt-get update && sudo apt-get install git-core curl build-essential openssl libssl-dev
git clone https://github.com/joyent/node.git
cd node
git checkout v0.8.20
./configure --openssl-libpath=/usr/lib/ssl
make
sudo make install
# verify installation
node -v
npm -v
# install postgres
sudo apt-get -t squeeze-backports install postgresql-9.1
sudo apt-get -t squeeze-backports install postgresql-contrib-9.1
# edit
sudo vim /etc/postgresql/9.1/main/pg_hba.conf
# change methods for postgres and local to "trust"
# local all postgres trust
# local all all trust
# host all 127.0.0.1/32 trust
# host all ::1/128 trust
# start postgres
sudo service postgresql start
CentOS
You'll likely need to install Postgres, Erlang, and Node.js from source.
If you're using an AWS EC2 RedHat instance, you can "yum install postgresql9-server postgresql9-contrib" and then manually install Erlang and Node.js.