Skip to content

Instantly share code, notes, and snippets.

@yruss972
yruss972 / gist:c814b05fb19980b9b060
Last active August 29, 2015 14:02
vippy smf manifext
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
<service name='network/vippyd' type='service' version='0'>
<dependency name='network' grouping='require_all' restart_on='error' type='service'>
<service_fmri value='svc:/milestone/network:default'/>
</dependency>
<dependency name='filesystem' grouping='require_all' restart_on='error' type='service'>
<service_fmri value='svc:/system/filesystem/local'/>
</dependency>
@yruss972
yruss972 / gist:92a4060fe2a54f2caa8a
Last active August 29, 2015 14:02 — forked from chakatz/gist:6204134
Compile couchbase 2.5.1 on SmartOS base64 14.1 image (as root)
#
# Setup destination directory
#
export MY_CB_DIR=/opt/couchbase
mkdir ${MY_CB_DIR}
# Install pre-requisite packages
/opt/local/bin/pkgin -y in libtool-base autoconf automake git gcc47 gnupg gmake libevent icu py27-expat snappy erlang-15 subversion-base go gettext
#
@yruss972
yruss972 / gist:d0ac973759485f43e433
Created July 8, 2014 08:02
repo manifest to compile cb 2.5.1 with zone aware version of sigar
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="apache" fetch="git://github.com/apache/" />
<remote name="couchbase" fetch="git://github.com/couchbase/" />
<remote name="erlang" fetch="git://github.com/erlang/" />
<remote name="membase" fetch="git://github.com/membase/" />
<remote name="yruss972" fetch="git://github.com/yruss972/" />
<default remote="couchbase" revision="master"/>
sdcadm update: error: multiple (7) errors
error (SDCClient): imgapi client error: "Content-Length" header, 48242145, does not match downloaded size, 4166480
error (SDCClient): imgapi client error: "Content-Length" header, 70249483, does not match downloaded size, 4188232
error (SDCClient): imgapi client error: "Content-Length" header, 62225183, does not match downloaded size, 4169269
error (SDCClient): imgapi client error: "Content-Length" header, 56321584, does not match downloaded size, 4154792
error (SDCClient): imgapi client error: "Content-Length" header, 219123787, does not match downloaded size, 4166196
error (SDCClient): imgapi client error: "Content-Length" header, 232546560, does not match downloaded size, 4186968
error (SDCClient): imgapi client error: "Content-Length" header, 110556309, does not match downloaded size, 4164048