Skip to content

Instantly share code, notes, and snippets.

@ninnemana
Created March 5, 2015 17:18
Show Gist options
  • Save ninnemana/f2a969ae86b44a54280e to your computer and use it in GitHub Desktop.
Save ninnemana/f2a969ae86b44a54280e to your computer and use it in GitHub Desktop.
FoundationDB Cluster Startup Script
#! /bin/bash
# Get Packages
echo Get Packages
gsutil cp gs://fdb/foundationdb-clients_3.0.7-1_amd64.deb .
gsutil cp gs://fdb/foundationdb-server_3.0.7-1_amd64.deb .
# Install FoundationDB
echo Install FoundationDB
sudo dpkg -i foundationdb-server_3.0.7-1_amd64.deb foundationdb-clients_3.0.7-1_amd64.deb
# Copy Cluster file from Cloud Storage
echo Copy cluster file from Cloud Storage
gsutil cp gs://fdb/fdb.cluster /etc/foundationdb/fdb.cluster
# Restart FoundationDB
echo Restart foundationdb
sudo service foundationdb restart
@ninnemana
Copy link
Author

@abdullin
Copy link

@ninnemana @xaduha folks, do you happen to have an OSX or CentOS versions of foundationDB files?

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