Articles by makefu

  1. OpenSSL CSR with Subject Alternative Names

    Tue 07 February 2012
    By makefu

    I had the requirement to create a certificate with a subject Alternative Name (additional dns names for the same host). Again it turned out not to be that simple. A extra configuration has to be created and the SubjectAltName can be added in this config for the Signing Request.

    We …

    Tagged as : openssl csr subjectAltName
  2. awstats and lighttpd

    Mon 06 February 2012
    By makefu

    These snippets are in a ”worked for me” state. most of this stuff will break your system when executing.

    Assumptions:

    • /srv/http/euer.krebsco.de - served by lighttpd on public interface
    • /srv/http/priv - served on private interface (darknet)

    lighttpd seperate subdomain logging and awstats

    #?/bin/sh
    apt-get install python-django …
    Tagged as : awstats lighttpd graphite
  3. Recover Softraid/LVM

    Mon 06 February 2012
    By makefu

    MD Array fails to assemble

    Find the Problem

    #?/bin/sh
    cat /proc/mdstat
    mdadm -D --scan
    mdadm -E --scan
    mdadm -E /dev/sd[abcdef]1
    

    Trying to assemble manually

    #?/bin/sh
    mdadm --stop /dev/md{0,127}
    mdadm --assemble /dev/md0 /dev/sd{a,b,c,d,e,f}1 …
    Tagged as : mdadm softraid lvm
  4. Make this blog post happen

    Wed 01 February 2012
    By makefu
    #?/bin/sh
    bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer)
    echo '[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm' >> ~/.zshrc
    source ~/.zshrc
    rvm install 1.9.2 && rvm use 1.9.2
    rvm rubygems latest
    gem install bundler
    git clone git://github …
    Tagged as : ruby octopress

Page 4 / 4