Blog

  • CentOS 5 Asterisk Install Commands

    This should get close to installing asterisk on CentOS 5. Current as of 11/06/2007, changes like the weather though….

    yum -y install mysql-devel mysql-server curl-devel kernel-devel newt-devel gcc-c++ bison bison-devel ncurses ncurses-devel zlib zlib-devel openssl openssl-devel gnutls-devel gcc
    cd /usr/src
    ln -s kernels/2.6.18-8.1.15.el5-i686/ linux
    wget http://downloads.digium.com/pub/asterisk/releases/asterisk-1.4.13.tar.gz
    wget http://downloads.digium.com/pub/zaptel/releases/zaptel-1.4.5.1.tar.gz
    wget http://downloads.digium.com/pub/libpri/releases/libpri-1.4.1.tar.gz
    wget http://downloads.digium.com/pub/asterisk/releases/asterisk-addons-1.4.4.tar.gz
    tar -xzvf asterisk-1.4.13.tar.gz
    tar -xzvf zaptel-1.4.5.1.tar.gz
    tar -xzvf libpri-1.4.1.tar.gz
    tar -xzvf asterisk-addons-1.4.4.tar.gz
    cd libpri-1.4.1
    make && make install
    cd ../zaptel-1.4.5.1
    ./configure
    make menuselect
    make
    make install
    make config
    modprobe zaptel debug=1
    modprobe wctdm debug=1
    nano /etc/zaptel.conf
    ztcfg -vv
    cd ../asterisk-1.4.4.13
    ./configure
    make menuselect
    make
    make install
    make config
    cd ../asterisk-addons-1.4.4
    ./configure
    make
    make install
    asterisk
    asterisk -r

  • Building pdftk on VPS cannot allocate memory

    I found this solution at http://www.schmalenegger.com/virtual-server-compiling-error-cannot-allocate-memory/

    Sometimes when you compile certain things on a virtual server from source, you may receive the following error message: “virtual memory exhausted: Cannot allocate memory” error. The following is a quick tip that at least worked for me.

    List the amount of virtual memory allowed:

    [root@vps /]# ulimit -a

    To change it to a smaller value, enter this:

    [root@vps /]# ulimit -v 60000

    To reset it to the default settings, just type:

    [root@vps /]# ulimit -v unlimited

    On Debian you want to use ulimit -m instead of ulimit -v. It will do the job for you.

    [root@vps /]# ulimit -m 60000

  • Apfelwein 3

    Well I really need to get batch 2 bottled. It’s been ready since I moved in June, so it is nicely bulk aged 🙂

    I started batch 3 tonight with an OG of 1.063 and it should yield around 8.7% ABV. Time to soak the bottles for batch 2.

    I’m thinking about brewing a batch of hefeweisen tomorrow to keep the pipeline full.

  • Winexpert Australian Cabernet/Shiraz

    Dennis and I started a batch of Winexpert Australian Cabernet/Shiraz on 8/11/07. We pretty much made it according to the directions, but used Wally’s tips for a more full bodied wine. We added 1 tsp grape tannin and water to 1.091 OG. We were trying to be around 1.093, but oh well. After doing some additional research, I’m going to try adding 1lb raisins to my next kit and make it to volume per kit instructions.

    Info from the sales slick:

    Winexpert Selection International
    Australian Cabernet/Shiraz

    Style: A rich, intense and fullbodied red wine with startling berry fruit aromas and flavours balanced with an abundance of oak and firm tannins. Cabernet Sauvignon’s structure perfectly
    complements the fruit and chocolate flavours of Shiraz, for a complex and hearty red wine of outstanding character. Big, bold and dark – a luxurious treat.
    Similar styles: French Syrah, Cabernet Sauvignon, Zinfandel.
    Food pairings: Grilled lamb or beef, savoury pasta dishes, strong cheeses.
    Sweetness code: 0 (Dry)
    Oak: A blend of premium American regular and toasted oak.
    Aging: Smooth after two months. Age for maximum benefit (up to three years).