- Create a folder at the root of your user home folder
(Example:
C:/Users/uname/
) called.ssh
. - Create the following files if they do not already exist (paths begin from the root of your user home folder):
.ssh/config
test |
#!/bin/bash | |
set -e | |
if [ $# -eq 0 ]; then | |
echo "USAGE: $0 plugin1 plugin2 ..." | |
exit 1 | |
fi | |
plugin_dir=/var/lib/jenkins/plugins |
This is a step by step instruction on how to create a cluster that has three Solr nodes running in cloud mode. These instructions should work on both a local cluster (for testing) and a remote cluster where each server runs in its own physical machine.
This was tested on Solr version 5.4.1
and Zookeeper version 3.4.6
curl -O http://archive.apache.org/dist/lucene/solr/5.5.3/solr-5.5.3.tgz
mkdir /opt/solr
An IAM user policy document to give minimal rights for deploying an Elastic Beanstalk application.
Where:
REGION
: AWS region.ACCOUNT_ID
: AWS account ID.APPLICATION_NAME
: Desired target Elastic Beanstalk application name(space).IAM_INSTANCE_PROFILE_ROLE
: The instance profile (IAM role) Elastic Beanstalk EC2 instaces will run under.#!/bin/bash | |
# Use whichever region you're working in | |
export AWS_DEFAULT_REGION=eu-west-1 | |
# Make ec2-user's home dir the install to make it easier to navigate when subsequently ssh-ing in to instances | |
su ec2-user - | |
cd /home/ec2-user | |
echo Working dir is `pwd` |
I hereby claim:
To claim this, I am signing this object:
irb(main):001:0> require 'bunny' | |
=> true | |
irb(main):002:0> c = Bunny.new | |
=> #<Bunny::Session:0x007f7074461e00 @default_hosts_shuffle_strategy=#<Proc:0x007f7074461ce8@/usr/local/lib/ruby/gems/2.0.0/gems/bunny-1.7.0/lib/bunny/session.rb:137>, @opts={}, @hosts=["127.0.0.1"], @host_index=1, @port=5672, @user="guest", @pass="guest", @vhost="/", @logfile=#<IO:<STDOUT>>, @threaded=true, @logger=#<Logger:0x007f7074461b30 @progname="#<Bunny::Session:70060481908480 guest@127.0.0.1:5672, vhost=/, hosts=[127.0.0.1]>", @level=2, @default_formatter=#<Logger::Formatter:0x007f7074461a90 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x007f7074461a18 @shift_size=nil, @shift_age=nil, @filename=nil, @dev=#<IO:<STDOUT>>, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x007f70744619f0 @mon_owner=nil, @mon_count=0, @mon_mutex=#<Mutex:0x007f7074461978>>>>, @automatically_recover=true, @network_recovery_interval=5.0, @recover_from_connection_close=false, @continuation_timeout=4000, @status=:not_connected, @blocked=fal |
class Dashing.Pie extends Dashing.Widget | |
@accessor 'value' | |
onData: (data) -> | |
@render(data.value) | |
render: (data) -> | |
if(!data) | |
data = @get("value") | |
if(!data) |