On Mac OS X:
- Install puppet 3.0.2, facter 1.6.17 and hiera 1.1.2
- create /etc/puppet/puppet.conf
- configure launchd puppet daemon
- initial puppet run
[default] | |
background = white | |
foreground = black | |
majorLine = grey | |
minorLine = rose | |
lineColors = 0fff00aa,0f337799,0f000077,ff000077 | |
fontName = Helvetica | |
fontSize = 10 | |
fontBold = False | |
fontItalic = False |
On Mac OS X:
global | |
log 127.0.0.1 local0 | |
log 127.0.0.1 local1 notice | |
maxconn 4096 | |
user haproxy | |
group haproxy | |
daemon | |
listen rabbitmq 0.0.0.0:5672 | |
mode tcp |
There are two ways to send data to ElasticSearch from Logstash. The first is the 'elasticsearch' output and the other is the 'elasticsearch_http' output. In a nutshell, the 'elasticsearch' output is tightly coupled with your elasticsearch cluster, and the 'elasticsearch_http' output isn't.
description "Tomcat Server" | |
start on runlevel [2345] | |
stop on runlevel [!2345] | |
respawn | |
respawn limit 10 5 | |
# run as non privileged user | |
# add user with this command: | |
## adduser --system --ingroup www-data --home /opt/apache-tomcat apache-tomcat |
mkdir ~/.sentry
~/.sentry
chaussette sentry.wsgi.application
should be enough to get it started. Add options as required, eg:chaussette sentry.wsgi.application --backend meinheld --port 8091
# virtualenv graphite-web
# cd graphite-web
# . bin/activate
# pip install circus chaussette meinheld Django==1.3 Twisted==11.1.0 python-memcached==1.47 txAMQP==0.4 simplejson==2.1.6 django-tagging==0.3.1 gunicorn pytz pyparsing==1.5.7 http://cairographics.org/releases/py2cairo-1.8.10.tar.gz git+git://github.com/graphite-project/whisper.git#egg=whisper
# pip install git+git://github.com/graphite-project/graphite-web.git --install-option="--prefix=$VIRTUALENV_PREFIX/graphite-web" --install-option="--install-lib=$VIRTUALENV_PREFIX/graphite-web/lib/python2.7/site-packages"
conrep
from the HP Scripting Toolkit is used to make modifications to the system BIOS settings. To get it running on an 64-bit Ubuntu server, you'll need to install
Without it you'll get this error
$ ./conrep
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |