Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

32-bit scripts

  • Loading branch information...
commit 98df8ded29c5eb753677d0d30ede9e1bb3f1592a 1 parent a1bbaf1
Steve Yen steveyen authored
17 couchbase-single-server-community_x86_2.0.0-dev-preview-3.rpm.install
View
@@ -0,0 +1,17 @@
+#!/bin/bash -ex
+
+COUCHBASE_PASSWORD=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_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 \"${COUCHBASE_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.
+
12 couchbase-single-server-community_x86_64_2.0.0-dev-preview-3.rpm.install
View
@@ -1,17 +1,5 @@
#!/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
-#
COUCHBASE_PASSWORD=password
yum -y install openssl098e
30 membase-server-community_x86_1.7.0.rpm.install
View
@@ -0,0 +1,30 @@
+#!/bin/bash -ex
+
+MEMBASE_REST_PASSWORD=password
+MEMBASE_MAX_RAM_MB_PER_SERVER=500
+MEMBASE_MAX_RAM_MB_FOR_DEFAULT_BUCKET=500
+MEMBASE_REPLICAS_FOR_DEFAULT_BUCKET=1
+
+yum -y install openssl098e
+
+wget http://packages.couchbase.com/releases/1.7.0/membase-server-community_x86_1.7.0.rpm
+
+rpm -i membase-server-community*.rpm
+
+sleep 5
+
+/opt/membase/bin/membase cluster-init -c 127.0.0.1 \
+ --cluster-init-username=Administrator \
+ --cluster-init-password=${MEMBASE_REST_PASSWORD} \
+ --cluster-init-ramsize=${MEMBASE_MAX_RAM_MB_PER_SERVER}
+
+/opt/membase/bin/membase bucket-create -c 127.0.0.1 \
+ -u Administrator -p ${MEMBASE_REST_PASSWORD} \
+ --bucket=default \
+ --bucket-type=membase \
+ --bucket-password= \
+ --bucket-ramsize=${MEMBASE_MAX_RAM_MB_FOR_DEFAULT_BUCKET} \
+ --bucket-replica=${MEMBASE_REPLICAS_FOR_DEFAULT_BUCKET}
+
+# At this point, visit http://$HOST:8091 for the Membase web console.
+
12 membase-server-community_x86_64_1.7.0.rpm.install
View
@@ -1,17 +1,5 @@
#!/bin/bash -ex
-# Install script for membase-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/membase-server-community_x86_64_1.7.0.rpm.install
-#
MEMBASE_REST_PASSWORD=password
MEMBASE_MAX_RAM_MB_PER_SERVER=500
MEMBASE_MAX_RAM_MB_FOR_DEFAULT_BUCKET=500
Please sign in to comment.
Something went wrong with that request. Please try again.