This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Download http://packages.graylog2.org/releases/graylog2-web-interface/graylog2-web-interface-0.92.4.tgz | |
- install -d -o "graylog2" -g "graylog2" -m 0755 "/var/lib/graylog2-web" | |
- install -d -o "graylog2" -g "graylog2" -m 0755 "/var/log/graylog2-web" | |
- install -d -o "graylog2" -g "graylog2" -m 0755 "/var/run/graylog2-web" | |
- install -d -o "graylog2" -g "graylog2" -m 0755 "/etc/graylog2/web" | |
- tar xzvf graylog2-web-interface-0.92.4.tgz | |
- cp -r graylog2-web-interface-0.92.4 /usr/share/graylog2-web | |
- cp /usr/share/graylog2-web/conf/application.conf /etc/graylog2/web/ | |
- cp /usr/share/graylog2-web/conf/play.plugins /etc/graylog2/web/ | |
- cp /usr/share/graylog2-web/conf/graylog2-web-interface.conf /etc/graylog2/web/web.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# elasticsearch <summary> | |
# | |
# chkconfig: 2345 80 20 | |
# description: Starts and stops a single elasticsearch instance on this system | |
# | |
### BEGIN INIT INFO | |
# Provides: Elasticsearch |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Download Java7 RPM: http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html | |
- zypper install jdk-7u75-linux-x64.rpm | |
- Install MongoDB | |
- zypper addrepo http://download.opensuse.org/repositories/server:database/SLE_11_SP3/server:database.repo | |
- zypper refresh | |
- zypper install mongodb | |
- /sbin/chkconfig --add mongodb | |
- /etc/init.d/mongodb start | |
- Install Elasticsearch | |
- Download https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.4.1.noarch.rpm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sleep 3 | |
IP_ADDRESS=$(hostname -I | cut -f1 -d' ') | |
GRAYLOG2_URL="http://admin:admin@${IP_ADDRESS}:12900" | |
GRAYLOG2_INPUT_GELF_TCP=' | |
{ | |
"global": "true", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_Go to your Owncloud installation <https://myowncloud/remote.php/mozilla_sync> and accept the SSL Certificate | |
_Open about:config | |
_Create: services.sync.username <string> the value should be a hash not the username itself. (You only need the hash if the | |
sync was setup with a pre FF29, if you start from scratch the string doesn't matter) | |
You can look this up in an older browser or in the logs of your Owncloud server!! | |
_Go to: Preferences -> Sync -> Setup Firefox sync (you should see the old UI now) | |
'I Have an Account' | |
'I don't have the device with me' | |
'Account' - again use the hash NOT the actual username! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "ridley" | |
require "librarian/chef" | |
Celluloid.logger = nil | |
namespace :chef do | |
desc "Apply cookbook verions from librarian-chef's lockfile to a chef environment" | |
task :apply, :environment do |t, args| | |
write_chef_environment(args.environment, librarian_locked_verions) | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Katze123 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'net/ssh/gateway' | |
gateway = Net::SSH::Gateway.new('remote_host', \ | |
'remote_user', \ | |
:auth_methods => ['publickey'], \ | |
:forward_agent => true) |