Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Couchbase Single install scripts

  • Loading branch information...
commit 4538387653473d825ba6862b6337e8246e066b81 1 parent e2db9cb
@steveyen steveyen authored
View
30 couchbase-single-server-community_x86_64_2.0.0-dev-preview-3.rpm.install
@@ -0,0 +1,30 @@
+#!/bin/bash -ex
+
+# Install script for couchbase-single-server.
+#
+# You can use this script as a CloudInit "#include" file on Amazon EC2.
+# The Default Amazon Linux AMI, for example, is CloudInit-capapble...
+#
+# Basic 64-bit Amazon Linux AMI 2011.02.1 Beta (AMI Id: ami-8e1fece7)
+#
+# When launching your EC2 instance, specify a UserData of...
+#
+# #include
+# https://raw.github.com/couchbaselabs/cloud-init/master/couchbase-single-server-community_x86_64_2.0.0-dev-preview-3.rpm.install
+#
+PASSWORD=password
+export PASSWORD
+
+yum -y install openssl098e
+
+wget http://files.couchbase.com/developer-previews/couchbase-single-server-2.0.0-dev-preview/couchbase-single-server-community_x86_64_2.0.0-dev-preview-3.rpm
+
+rpm -i couchbase-single-server-community*.rpm
+
+curl -X PUT http://127.0.0.1:5984/_config/admins/admin -d '"${PASSWORD}"'
+
+# At this point, Couchbase Single Server will be running but only
+# listening on address 127.0.0.1. To fix this, change the
+# /opt/couchbase/etc/couchdb/local.ini bind_address to 0.0.0.0 to
+# allow remote web access.
+
Please sign in to comment.
Something went wrong with that request. Please try again.