Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
| # This build script will build Ruby 2.0.0-p247. You will need su to | |
| # root or sudo as required. | |
| # This build tested against Debian 7.0 64-bit arch, installed from net-inst image. | |
| # These aren't specifically Ruby deps; more for building software in general | |
| # (you probably already have them) | |
| apt-get install -y build-essential autoconf | |
| # These deps will support common libraries like yaml and give you the best irb experience. |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| It is a rite of passage to post one's successful build instructions for OpenCV on a Mac | |
| after you've tried all the other conflicting instructions out there and still failed. | |
| brew failed for me (was this because I could never get a happy brew doctor situation? | |
| I'll never know). macports? nope. build-from-source recipes? I didn't find one that | |
| worked for me. | |
| Here's what did work to build OpenCV 2.4.5 from the distribution tarball using cmake, | |
| on Mac OSX 10.8.4, linked to an anaconda installation rather than the system python. | |
| It is a mashup of various bits of advice out there. If you're already comfortable with | |
| build/install from source, all you need to read is the cmake invocation in step 3 and |
Create droplet of your liking (ubuntu 12.10 x32)
ssh to root in terminal with your server ip
ssh [email protected]
Add ssh fingerprint and enter password provided in email
| BRANCH=$(git symbolic-ref HEAD | sed -e 's,.*/\(.*\),\1,') | |
| git co master; | |
| git pull --rebase; | |
| git co $BRANCH; | |
| git rebase master; | |
| git push --force origin $BRANCH; |
| 0 - Read http://blog.databigbang.com/running-your-own-anonymous-rotating-proxies/ | |
| 1 - Install monit, haproxy, tor and delegated. | |
| 2 - Setup your environment in the setup.rb file | |
| 3 - Just run > ruby setup.rb | |
| 4 - ........... | |
| 5 - PROFIT! > http://www.southparkstudios.com/clips/151040/the-underpants-business |
Author: Michael van Rooijen (@mrrooijen)
DISCLAIMER: I am a programmer, not a sysadmin in my day-to-day life. I provide this guide simply as a self-reference, and as a way to contribute to the community of developers. The main motivation for writing this guide is because of the lack of properly written guides/tutorials. They were either out-dated, inaccurate, in a non-English language or simply too vague to understand (at least for me, as a programmer and not a sysadmin).
I hope this guide helps getting you up and running with your own collection of VPS's on your own Dedicated Server over at Hetzner.de.
Requirements:
| This playbook has been removed as it is now very outdated. |
| #!/bin/bash | |
| # herein we backup our indexes! this script should run at like 6pm or something, after logstash | |
| # rotates to a new ES index and theres no new data coming in to the old one. we grab metadatas, | |
| # compress the data files, create a restore script, and push it all up to S3. | |
| TODAY=`date +"%Y.%m.%d"` | |
| INDEXNAME="logstash-$TODAY" # this had better match the index name in ES | |
| INDEXDIR="/usr/local/elasticsearch/data/logstash/nodes/0/indices/" | |
| BACKUPCMD="/usr/local/backupTools/s3cmd --config=/usr/local/backupTools/s3cfg put" | |
| BACKUPDIR="/mnt/es-backups/" | |
| YEARMONTH=`date +"%Y-%m"` |