Anonymous committed 45d9165

Added the steps I took to setup an amazon ami

Comments (0)

Files changed (1)


+# Setup an Amazon Linux AMI instance to run a Manos de Mono webserver and some Riak nodes.
+# we'll need these
+sudo yum install git
+sudo yum install hg
+# add mono to the yum repos /etc/yum.repos.d
+name=Mono Stack (RHEL_5)
+sudo yum clean all
+# install mono
+sudo yum install libtool
+sudo yum install monotools-addon-server
+sudo cp /opt/novell/mono/bin/ /etc/profile.d
+sudo yum install mono-addon-devel
+# install stuff to build erlang
+sudo yum install make
+sudo yum install openssl098e
+sudo yum install gcc gcc-c++ glibc-devel glibc-devel ncurses-devel openssl-devel
+# install erlang, not sure why I didn't install 14
+tar zxvf otp_src_R13B04.tar.gz
+cd otp_src_R13B04
+./configure && make 
+sudo make install
+# install riak
+tar zxvf riak-0.14.2.tar.gz
+cd riak-0.14.2
+make rel
+# make a basic dev setup 
+make devrel
+# start the clusters!
+cd dev
+dev1/bin/riak start
+dev2/bin/riak start
+dev3/bin/riak start
+# link them up
+dev2/bin/riak-admin join dev1@
+dev3/bin/riak-admin join dev1@
+# install manos
+git clone
+cd monos && ./
+sudo make install
+# needed to export this path to build manos projects with make
+export set PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/
+# install manosyakriak
+hg clone
+cd manosyakriak
+make && run